Package net.minecraft.village
Class SimpleMerchant
java.lang.Object
net.minecraft.village.SimpleMerchant
- All Implemented Interfaces:
Merchant
- Mappings:
Namespace Name named net/minecraft/village/SimpleMerchantintermediary net/minecraft/class_1645official cxq
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier 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.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.village.Merchant
canRefreshTrades, sendOffers
-
Field Details
-
player
- Mappings:
Namespace Name Mixin selector named playerLnet/minecraft/village/SimpleMerchant;player:Lnet/minecraft/entity/player/PlayerEntity;intermediary field_7441Lnet/minecraft/class_1645;field_7441:Lnet/minecraft/class_1657;official aLcxq;a:Lcyh;
-
offers
- Mappings:
Namespace Name Mixin selector named offersLnet/minecraft/village/SimpleMerchant;offers:Lnet/minecraft/village/TradeOfferList;intermediary field_7442Lnet/minecraft/class_1645;field_7442:Lnet/minecraft/class_1916;official bLcxq;b:Ldph;
-
experience
private int experience- Mappings:
Namespace Name Mixin selector named experienceLnet/minecraft/village/SimpleMerchant;experience:Iintermediary field_18525Lnet/minecraft/class_1645;field_18525:Iofficial cLcxq;c:I
-
-
Constructor Details
-
SimpleMerchant
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/village/SimpleMerchant;<init>(Lnet/minecraft/entity/player/PlayerEntity;)Vintermediary <init>Lnet/minecraft/class_1645;<init>(Lnet/minecraft/class_1657;)Vofficial <init>Lcxq;<init>(Lcyh;)V
-
-
Method Details
-
getCustomer
- Specified by:
getCustomerin interfaceMerchant- Mappings:
Namespace Name Mixin selector named getCustomerLnet/minecraft/village/Merchant;getCustomer()Lnet/minecraft/entity/player/PlayerEntity;intermediary method_8257Lnet/minecraft/class_1915;method_8257()Lnet/minecraft/class_1657;official gILdpf;gI()Lcyh;
-
setCustomer
- Specified by:
setCustomerin interfaceMerchant- Mappings:
Namespace Name Mixin selector named setCustomerLnet/minecraft/village/Merchant;setCustomer(Lnet/minecraft/entity/player/PlayerEntity;)Vintermediary method_8259Lnet/minecraft/class_1915;method_8259(Lnet/minecraft/class_1657;)Vofficial gLdpf;g(Lcyh;)V
-
getOffers
- Specified by:
getOffersin interfaceMerchant- Mappings:
Namespace Name Mixin selector named getOffersLnet/minecraft/village/Merchant;getOffers()Lnet/minecraft/village/TradeOfferList;intermediary method_8264Lnet/minecraft/class_1915;method_8264()Lnet/minecraft/class_1916;official gKLdpf;gK()Ldph;
-
setOffersFromServer
- Specified by:
setOffersFromServerin interfaceMerchant- Mappings:
Namespace Name Mixin selector named setOffersFromServerLnet/minecraft/village/Merchant;setOffersFromServer(Lnet/minecraft/village/TradeOfferList;)Vintermediary method_8261Lnet/minecraft/class_1915;method_8261(Lnet/minecraft/class_1916;)Vofficial aLdpf;a(Ldph;)V
-
trade
-
onSellingItem
- Specified by:
onSellingItemin interfaceMerchant- Mappings:
Namespace Name Mixin selector named onSellingItemLnet/minecraft/village/Merchant;onSellingItem(Lnet/minecraft/item/ItemStack;)Vintermediary method_8258Lnet/minecraft/class_1915;method_8258(Lnet/minecraft/class_1799;)Vofficial iLdpf;i(Ldgj;)V
-
isClient
public boolean isClient() -
canInteract
- Specified by:
canInteractin interfaceMerchant- Mappings:
Namespace Name Mixin selector named canInteractLnet/minecraft/village/Merchant;canInteract(Lnet/minecraft/entity/player/PlayerEntity;)Zintermediary method_65125Lnet/minecraft/class_1915;method_65125(Lnet/minecraft/class_1657;)Zofficial hLdpf;h(Lcyh;)Z
-
getExperience
public int getExperience()- Specified by:
getExperiencein interfaceMerchant- Mappings:
Namespace Name Mixin selector named getExperienceLnet/minecraft/village/Merchant;getExperience()Iintermediary method_19269Lnet/minecraft/class_1915;method_19269()Iofficial tLdpf;t()I
-
setExperienceFromServer
public void setExperienceFromServer(int experience) - Specified by:
setExperienceFromServerin interfaceMerchant- Mappings:
Namespace Name Mixin selector named setExperienceFromServerLnet/minecraft/village/Merchant;setExperienceFromServer(I)Vintermediary method_19271Lnet/minecraft/class_1915;method_19271(I)Vofficial sLdpf;s(I)V
-
isLeveledMerchant
public boolean isLeveledMerchant()- Specified by:
isLeveledMerchantin interfaceMerchant- Mappings:
Namespace Name Mixin selector named isLeveledMerchantLnet/minecraft/village/Merchant;isLeveledMerchant()Zintermediary method_19270Lnet/minecraft/class_1915;method_19270()Zofficial gLLdpf;gL()Z
-
getYesSound
- Specified by:
getYesSoundin interfaceMerchant- Mappings:
Namespace Name Mixin selector named getYesSoundLnet/minecraft/village/Merchant;getYesSound()Lnet/minecraft/sound/SoundEvent;intermediary method_18010Lnet/minecraft/class_1915;method_18010()Lnet/minecraft/class_3414;official gMLdpf;gM()Lbby;
-