Package net.minecraft.village
Class SimpleMerchant
java.lang.Object
net.minecraft.village.SimpleMerchant
- All Implemented Interfaces:
- Merchant
- Mappings:
- Namespace - Name - named - net/minecraft/village/SimpleMerchant- intermediary - net/minecraft/class_1645- official - cog
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleancanInteract(PlayerEntity player) intbooleanisClient()booleanvoidonSellingItem(ItemStack stack) voidsetCustomer(@Nullable PlayerEntity customer) voidsetExperienceFromServer(int experience) voidsetOffersFromServer(TradeOfferList offers) voidtrade(TradeOffer offer) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.village.MerchantcanRefreshTrades, sendOffers
- 
Field Details- 
player- Mappings:
- Namespace - Name - Mixin selector - named - player- Lnet/minecraft/village/SimpleMerchant;player:Lnet/minecraft/entity/player/PlayerEntity;- intermediary - field_7441- Lnet/minecraft/class_1645;field_7441:Lnet/minecraft/class_1657;- official - a- Lcog;a:Lcoy;
 
- 
offers- Mappings:
- Namespace - Name - Mixin selector - named - offers- Lnet/minecraft/village/SimpleMerchant;offers:Lnet/minecraft/village/TradeOfferList;- intermediary - field_7442- Lnet/minecraft/class_1645;field_7442:Lnet/minecraft/class_1916;- official - b- Lcog;b:Ldfh;
 
- 
experienceprivate int experience- Mappings:
- Namespace - Name - Mixin selector - named - experience- Lnet/minecraft/village/SimpleMerchant;experience:I- intermediary - field_18525- Lnet/minecraft/class_1645;field_18525:I- official - c- Lcog;c:I
 
 
- 
- 
Constructor Details- 
SimpleMerchant- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/village/SimpleMerchant;<init>(Lnet/minecraft/entity/player/PlayerEntity;)V- intermediary - <init>- Lnet/minecraft/class_1645;<init>(Lnet/minecraft/class_1657;)V- official - <init>- Lcog;<init>(Lcoy;)V
 
 
- 
- 
Method Details- 
getCustomer- Specified by:
- getCustomerin interface- Merchant
- Mappings:
- Namespace - Name - Mixin selector - named - getCustomer- Lnet/minecraft/village/Merchant;getCustomer()Lnet/minecraft/entity/player/PlayerEntity;- intermediary - method_8257- Lnet/minecraft/class_1915;method_8257()Lnet/minecraft/class_1657;- official - gs- Ldff;gs()Lcoy;
 
- 
setCustomer- Specified by:
- setCustomerin interface- Merchant
- Mappings:
- Namespace - Name - Mixin selector - named - setCustomer- Lnet/minecraft/village/Merchant;setCustomer(Lnet/minecraft/entity/player/PlayerEntity;)V- intermediary - method_8259- Lnet/minecraft/class_1915;method_8259(Lnet/minecraft/class_1657;)V- official - a- Ldff;a(Lcoy;)V
 
- 
getOffers- Specified by:
- getOffersin interface- Merchant
- Mappings:
- Namespace - Name - Mixin selector - named - getOffers- Lnet/minecraft/village/Merchant;getOffers()Lnet/minecraft/village/TradeOfferList;- intermediary - method_8264- Lnet/minecraft/class_1915;method_8264()Lnet/minecraft/class_1916;- official - gu- Ldff;gu()Ldfh;
 
- 
setOffersFromServer- Specified by:
- setOffersFromServerin interface- Merchant
- Mappings:
- Namespace - Name - Mixin selector - named - setOffersFromServer- Lnet/minecraft/village/Merchant;setOffersFromServer(Lnet/minecraft/village/TradeOfferList;)V- intermediary - method_8261- Lnet/minecraft/class_1915;method_8261(Lnet/minecraft/class_1916;)V- official - a- Ldff;a(Ldfh;)V
 
- 
trade
- 
onSellingItem- Specified by:
- onSellingItemin interface- Merchant
- Mappings:
- Namespace - Name - Mixin selector - named - onSellingItem- Lnet/minecraft/village/Merchant;onSellingItem(Lnet/minecraft/item/ItemStack;)V- intermediary - method_8258- Lnet/minecraft/class_1915;method_8258(Lnet/minecraft/class_1799;)V- official - i- Ldff;i(Lcwq;)V
 
- 
isClientpublic boolean isClient()
- 
canInteract- Specified by:
- canInteractin interface- Merchant
- Mappings:
- Namespace - Name - Mixin selector - named - canInteract- Lnet/minecraft/village/Merchant;canInteract(Lnet/minecraft/entity/player/PlayerEntity;)Z- intermediary - method_65125- Lnet/minecraft/class_1915;method_65125(Lnet/minecraft/class_1657;)Z- official - f- Ldff;f(Lcoy;)Z
 
- 
getExperiencepublic int getExperience()- Specified by:
- getExperiencein interface- Merchant
- Mappings:
- Namespace - Name - Mixin selector - named - getExperience- Lnet/minecraft/village/Merchant;getExperience()I- intermediary - method_19269- Lnet/minecraft/class_1915;method_19269()I- official - x- Ldff;x()I
 
- 
setExperienceFromServerpublic void setExperienceFromServer(int experience) - Specified by:
- setExperienceFromServerin interface- Merchant
- Mappings:
- Namespace - Name - Mixin selector - named - setExperienceFromServer- Lnet/minecraft/village/Merchant;setExperienceFromServer(I)V- intermediary - method_19271- Lnet/minecraft/class_1915;method_19271(I)V- official - s- Ldff;s(I)V
 
- 
isLeveledMerchantpublic boolean isLeveledMerchant()- Specified by:
- isLeveledMerchantin interface- Merchant
- Mappings:
- Namespace - Name - Mixin selector - named - isLeveledMerchant- Lnet/minecraft/village/Merchant;isLeveledMerchant()Z- intermediary - method_19270- Lnet/minecraft/class_1915;method_19270()Z- official - gv- Ldff;gv()Z
 
- 
getYesSound- Specified by:
- getYesSoundin interface- Merchant
- Mappings:
- Namespace - Name - Mixin selector - named - getYesSound- Lnet/minecraft/village/Merchant;getYesSound()Lnet/minecraft/sound/SoundEvent;- intermediary - method_18010- Lnet/minecraft/class_1915;method_18010()Lnet/minecraft/class_3414;- official - gw- Ldff;gw()Lavz;
 
 
-