类 SimpleMerchant
- java.lang.Object
-
- net.minecraft.village.SimpleMerchant
-
-
字段概要
字段 修饰符和类型 字段 说明 private intexperienceprivate TradeOfferListoffersprivate PlayerEntityplayer
-
构造器概要
构造器 构造器 说明 SimpleMerchant(PlayerEntity player)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 PlayerEntitygetCurrentCustomer()intgetExperience()WorldgetMerchantWorld()TradeOfferListgetOffers()SoundEventgetYesSound()booleanisLeveledMerchant()voidonSellingItem(ItemStack stack)voidsetCurrentCustomer(@Nullable PlayerEntity customer)voidsetExperienceFromServer(int experience)voidsetOffersFromServer(TradeOfferList offers)voidtrade(TradeOffer offer)-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.village.Merchant
canRefreshTrades, sendOffers
-
-
-
-
字段详细资料
-
player
private final PlayerEntity player
- Mappings:
Namespace Name Mixin selector official aLbip;a:Lbjf;intermediary field_7441Lnet/minecraft/class_1645;field_7441:Lnet/minecraft/class_1657;named playerLnet/minecraft/village/SimpleMerchant;player:Lnet/minecraft/entity/player/PlayerEntity;
-
offers
private TradeOfferList offers
- Mappings:
Namespace Name Mixin selector official bLbip;b:Lbup;intermediary field_7442Lnet/minecraft/class_1645;field_7442:Lnet/minecraft/class_1916;named offersLnet/minecraft/village/SimpleMerchant;offers:Lnet/minecraft/village/TradeOfferList;
-
experience
private int experience
- Mappings:
Namespace Name Mixin selector official cLbip;c:Iintermediary field_18525Lnet/minecraft/class_1645;field_18525:Inamed experienceLnet/minecraft/village/SimpleMerchant;experience:I
-
-
构造器详细资料
-
SimpleMerchant
public SimpleMerchant(PlayerEntity player)
- Mappings:
Namespace Name Mixin selector official <init>Lbip;<init>(Lbjf;)Vintermediary <init>Lnet/minecraft/class_1645;<init>(Lnet/minecraft/class_1657;)Vnamed <init>Lnet/minecraft/village/SimpleMerchant;<init>(Lnet/minecraft/entity/player/PlayerEntity;)V
-
-
方法详细资料
-
getCurrentCustomer
public PlayerEntity getCurrentCustomer()
- 指定者:
getCurrentCustomer在接口中Merchant- Mappings:
Namespace Name Mixin selector official foLbun;fo()Lbjf;intermediary method_8257Lnet/minecraft/class_1915;method_8257()Lnet/minecraft/class_1657;named getCurrentCustomerLnet/minecraft/village/Merchant;getCurrentCustomer()Lnet/minecraft/entity/player/PlayerEntity;
-
setCurrentCustomer
public void setCurrentCustomer(@Nullable @Nullable PlayerEntity customer)
- 指定者:
setCurrentCustomer在接口中Merchant- Mappings:
Namespace Name Mixin selector official fLbun;f(Lbjf;)Vintermediary method_8259Lnet/minecraft/class_1915;method_8259(Lnet/minecraft/class_1657;)Vnamed setCurrentCustomerLnet/minecraft/village/Merchant;setCurrentCustomer(Lnet/minecraft/entity/player/PlayerEntity;)V
-
getOffers
public TradeOfferList getOffers()
-
setOffersFromServer
public void setOffersFromServer(TradeOfferList offers)
- 指定者:
setOffersFromServer在接口中Merchant- Mappings:
Namespace Name Mixin selector official aLbun;a(Lbup;)Vintermediary method_8261Lnet/minecraft/class_1915;method_8261(Lnet/minecraft/class_1916;)Vnamed setOffersFromServerLnet/minecraft/village/Merchant;setOffersFromServer(Lnet/minecraft/village/TradeOfferList;)V
-
trade
public void trade(TradeOffer offer)
-
onSellingItem
public void onSellingItem(ItemStack stack)
- 指定者:
onSellingItem在接口中Merchant- Mappings:
Namespace Name Mixin selector official kLbun;k(Lbpr;)Vintermediary method_8258Lnet/minecraft/class_1915;method_8258(Lnet/minecraft/class_1799;)Vnamed onSellingItemLnet/minecraft/village/Merchant;onSellingItem(Lnet/minecraft/item/ItemStack;)V
-
getMerchantWorld
public World getMerchantWorld()
- 指定者:
getMerchantWorld在接口中Merchant- Mappings:
Namespace Name Mixin selector official fwLbun;fw()Lbvr;intermediary method_8260Lnet/minecraft/class_1915;method_8260()Lnet/minecraft/class_1937;named getMerchantWorldLnet/minecraft/village/Merchant;getMerchantWorld()Lnet/minecraft/world/World;
-
getExperience
public int getExperience()
- 指定者:
getExperience在接口中Merchant- Mappings:
Namespace Name Mixin selector official sLbun;s()Iintermediary method_19269Lnet/minecraft/class_1915;method_19269()Inamed getExperienceLnet/minecraft/village/Merchant;getExperience()I
-
setExperienceFromServer
public void setExperienceFromServer(int experience)
- 指定者:
setExperienceFromServer在接口中Merchant- Mappings:
Namespace Name Mixin selector official uLbun;u(I)Vintermediary method_19271Lnet/minecraft/class_1915;method_19271(I)Vnamed setExperienceFromServerLnet/minecraft/village/Merchant;setExperienceFromServer(I)V
-
isLeveledMerchant
public boolean isLeveledMerchant()
- 指定者:
isLeveledMerchant在接口中Merchant- Mappings:
Namespace Name Mixin selector official frLbun;fr()Zintermediary method_19270Lnet/minecraft/class_1915;method_19270()Znamed isLeveledMerchantLnet/minecraft/village/Merchant;isLeveledMerchant()Z
-
getYesSound
public SoundEvent getYesSound()
- 指定者:
getYesSound在接口中Merchant- Mappings:
Namespace Name Mixin selector official fsLbun;fs()Laev;intermediary method_18010Lnet/minecraft/class_1915;method_18010()Lnet/minecraft/class_3414;named getYesSoundLnet/minecraft/village/Merchant;getYesSound()Lnet/minecraft/sound/SoundEvent;
-
-