Package net.minecraft.village
Class SimpleMerchant
java.lang.Object
net.minecraft.village.SimpleMerchant
- All Implemented Interfaces:
Merchant
- Mappings:
Namespace Name official bjnintermediary net/minecraft/class_1645named net/minecraft/village/SimpleMerchant
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanvoidonSellingItem(ItemStack stack) voidsetCurrentCustomer(@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 official aLbjn;a:Lbkd;intermediary field_7441Lnet/minecraft/class_1645;field_7441:Lnet/minecraft/class_1657;named playerLnet/minecraft/village/SimpleMerchant;player:Lnet/minecraft/entity/player/PlayerEntity;
-
offers
- Mappings:
Namespace Name Mixin selector official bLbjn;b:Lbvn;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 cLbjn;c:Iintermediary field_18525Lnet/minecraft/class_1645;field_18525:Inamed experienceLnet/minecraft/village/SimpleMerchant;experience:I
-
-
Constructor Details
-
SimpleMerchant
- Mappings:
Namespace Name Mixin selector official <init>Lbjn;<init>(Lbkd;)Vintermediary <init>Lnet/minecraft/class_1645;<init>(Lnet/minecraft/class_1657;)Vnamed <init>Lnet/minecraft/village/SimpleMerchant;<init>(Lnet/minecraft/entity/player/PlayerEntity;)V
-
-
Method Details
-
getCurrentCustomer
- Specified by:
getCurrentCustomerin interfaceMerchant- Mappings:
Namespace Name Mixin selector official fvLbvl;fv()Lbkd;intermediary method_8257Lnet/minecraft/class_1915;method_8257()Lnet/minecraft/class_1657;named getCurrentCustomerLnet/minecraft/village/Merchant;getCurrentCustomer()Lnet/minecraft/entity/player/PlayerEntity;
-
setCurrentCustomer
- Specified by:
setCurrentCustomerin interfaceMerchant- Mappings:
Namespace Name Mixin selector official fLbvl;f(Lbkd;)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
- Specified by:
getOffersin interfaceMerchant- Mappings:
Namespace Name Mixin selector official fxLbvl;fx()Lbvn;intermediary method_8264Lnet/minecraft/class_1915;method_8264()Lnet/minecraft/class_1916;named getOffersLnet/minecraft/village/Merchant;getOffers()Lnet/minecraft/village/TradeOfferList;
-
setOffersFromServer
- Specified by:
setOffersFromServerin interfaceMerchant- Mappings:
Namespace Name Mixin selector official aLbvl;a(Lbvn;)Vintermediary method_8261Lnet/minecraft/class_1915;method_8261(Lnet/minecraft/class_1916;)Vnamed setOffersFromServerLnet/minecraft/village/Merchant;setOffersFromServer(Lnet/minecraft/village/TradeOfferList;)V
-
trade
-
onSellingItem
- Specified by:
onSellingItemin interfaceMerchant- Mappings:
Namespace Name Mixin selector official mLbvl;m(Lbqp;)Vintermediary method_8258Lnet/minecraft/class_1915;method_8258(Lnet/minecraft/class_1799;)Vnamed onSellingItemLnet/minecraft/village/Merchant;onSellingItem(Lnet/minecraft/item/ItemStack;)V
-
getMerchantWorld
- Specified by:
getMerchantWorldin interfaceMerchant- Mappings:
Namespace Name Mixin selector official fDLbvl;fD()Lbwp;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()- Specified by:
getExperiencein interfaceMerchant- Mappings:
Namespace Name Mixin selector official tLbvl;t()Iintermediary method_19269Lnet/minecraft/class_1915;method_19269()Inamed getExperienceLnet/minecraft/village/Merchant;getExperience()I
-
setExperienceFromServer
public void setExperienceFromServer(int experience) - Specified by:
setExperienceFromServerin interfaceMerchant- Mappings:
Namespace Name Mixin selector official uLbvl;u(I)Vintermediary method_19271Lnet/minecraft/class_1915;method_19271(I)Vnamed setExperienceFromServerLnet/minecraft/village/Merchant;setExperienceFromServer(I)V
-
isLeveledMerchant
public boolean isLeveledMerchant()- Specified by:
isLeveledMerchantin interfaceMerchant- Mappings:
Namespace Name Mixin selector official fyLbvl;fy()Zintermediary method_19270Lnet/minecraft/class_1915;method_19270()Znamed isLeveledMerchantLnet/minecraft/village/Merchant;isLeveledMerchant()Z
-
getYesSound
- Specified by:
getYesSoundin interfaceMerchant- Mappings:
Namespace Name Mixin selector official fzLbvl;fz()Lafd;intermediary method_18010Lnet/minecraft/class_1915;method_18010()Lnet/minecraft/class_3414;named getYesSoundLnet/minecraft/village/Merchant;getYesSound()Lnet/minecraft/sound/SoundEvent;
-