Package net.minecraft.village
Interface Merchant
- All Known Implementing Classes:
MerchantEntity
,SimpleMerchant
,VillagerEntity
,WanderingTraderEntity
public interface Merchant
- Mappings:
Namespace Name official bsr
intermediary net/minecraft/class_1915
named net/minecraft/village/Merchant
-
Method Summary
Modifier and Type Method Description default boolean
canRefreshTrades()
PlayerEntity
getCurrentCustomer()
int
getExperience()
World
getMerchantWorld()
TradeOfferList
getOffers()
SoundEvent
getYesSound()
boolean
isLeveledMerchant()
void
onSellingItem(ItemStack stack)
default void
sendOffers(PlayerEntity player, Text test, int levelProgress)
void
setCurrentCustomer(PlayerEntity customer)
void
setExperienceFromServer(int experience)
void
setOffersFromServer(TradeOfferList offers)
void
trade(TradeOffer offer)
-
Method Details
-
setCurrentCustomer
- Mappings:
Namespace Name Mixin selector official f
Lbsr;f(Lbhl;)V
intermediary method_8259
Lnet/minecraft/class_1915;method_8259(Lnet/minecraft/class_1657;)V
named setCurrentCustomer
Lnet/minecraft/village/Merchant;setCurrentCustomer(Lnet/minecraft/entity/player/PlayerEntity;)V
-
getCurrentCustomer
- Mappings:
Namespace Name Mixin selector official fl
Lbsr;fl()Lbhl;
intermediary method_8257
Lnet/minecraft/class_1915;method_8257()Lnet/minecraft/class_1657;
named getCurrentCustomer
Lnet/minecraft/village/Merchant;getCurrentCustomer()Lnet/minecraft/entity/player/PlayerEntity;
-
getOffers
TradeOfferList getOffers()- Mappings:
Namespace Name Mixin selector official fn
Lbsr;fn()Lbst;
intermediary method_8264
Lnet/minecraft/class_1915;method_8264()Lnet/minecraft/class_1916;
named getOffers
Lnet/minecraft/village/Merchant;getOffers()Lnet/minecraft/village/TradeOfferList;
-
setOffersFromServer
- Mappings:
Namespace Name Mixin selector official a
Lbsr;a(Lbst;)V
intermediary method_8261
Lnet/minecraft/class_1915;method_8261(Lnet/minecraft/class_1916;)V
named setOffersFromServer
Lnet/minecraft/village/Merchant;setOffersFromServer(Lnet/minecraft/village/TradeOfferList;)V
-
trade
- Mappings:
Namespace Name Mixin selector official a
Lbsr;a(Lbss;)V
intermediary method_8262
Lnet/minecraft/class_1915;method_8262(Lnet/minecraft/class_1914;)V
named trade
Lnet/minecraft/village/Merchant;trade(Lnet/minecraft/village/TradeOffer;)V
-
onSellingItem
- Mappings:
Namespace Name Mixin selector official k
Lbsr;k(Lbnv;)V
intermediary method_8258
Lnet/minecraft/class_1915;method_8258(Lnet/minecraft/class_1799;)V
named onSellingItem
Lnet/minecraft/village/Merchant;onSellingItem(Lnet/minecraft/item/ItemStack;)V
-
getMerchantWorld
World getMerchantWorld()- Mappings:
Namespace Name Mixin selector official ft
Lbsr;ft()Lbtv;
intermediary method_8260
Lnet/minecraft/class_1915;method_8260()Lnet/minecraft/class_1937;
named getMerchantWorld
Lnet/minecraft/village/Merchant;getMerchantWorld()Lnet/minecraft/world/World;
-
getExperience
int getExperience()- Mappings:
Namespace Name Mixin selector official r
Lbsr;r()I
intermediary method_19269
Lnet/minecraft/class_1915;method_19269()I
named getExperience
Lnet/minecraft/village/Merchant;getExperience()I
-
setExperienceFromServer
void setExperienceFromServer(int experience)- Mappings:
Namespace Name Mixin selector official u
Lbsr;u(I)V
intermediary method_19271
Lnet/minecraft/class_1915;method_19271(I)V
named setExperienceFromServer
Lnet/minecraft/village/Merchant;setExperienceFromServer(I)V
-
isLeveledMerchant
boolean isLeveledMerchant()- Mappings:
Namespace Name Mixin selector official fo
Lbsr;fo()Z
intermediary method_19270
Lnet/minecraft/class_1915;method_19270()Z
named isLeveledMerchant
Lnet/minecraft/village/Merchant;isLeveledMerchant()Z
-
getYesSound
SoundEvent getYesSound()- Mappings:
Namespace Name Mixin selector official fp
Lbsr;fp()Laef;
intermediary method_18010
Lnet/minecraft/class_1915;method_18010()Lnet/minecraft/class_3414;
named getYesSound
Lnet/minecraft/village/Merchant;getYesSound()Lnet/minecraft/sound/SoundEvent;
-
canRefreshTrades
default boolean canRefreshTrades()- Mappings:
Namespace Name Mixin selector official fz
Lbsr;fz()Z
intermediary method_20708
Lnet/minecraft/class_1915;method_20708()Z
named canRefreshTrades
Lnet/minecraft/village/Merchant;canRefreshTrades()Z
-
sendOffers
- Mappings:
Namespace Name Mixin selector official a
Lbsr;a(Lbhl;Loi;I)V
intermediary method_17449
Lnet/minecraft/class_1915;method_17449(Lnet/minecraft/class_1657;Lnet/minecraft/class_2561;I)V
named sendOffers
Lnet/minecraft/village/Merchant;sendOffers(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/text/Text;I)V
-