接口 Merchant
-
public interface Merchant- Mappings:
Namespace Name official bunintermediary net/minecraft/class_1915named net/minecraft/village/Merchant
-
-
方法概要
所有方法 实例方法 抽象方法 默认方法 修饰符和类型 方法 说明 default booleancanRefreshTrades()@Nullable PlayerEntitygetCurrentCustomer()intgetExperience()WorldgetMerchantWorld()TradeOfferListgetOffers()SoundEventgetYesSound()booleanisLeveledMerchant()voidonSellingItem(ItemStack stack)default voidsendOffers(PlayerEntity player, Text test, int levelProgress)voidsetCurrentCustomer(@Nullable PlayerEntity customer)voidsetExperienceFromServer(int experience)voidsetOffersFromServer(TradeOfferList offers)voidtrade(TradeOffer offer)
-
-
-
方法详细资料
-
setCurrentCustomer
void setCurrentCustomer(@Nullable @Nullable PlayerEntity customer)
- 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
-
getCurrentCustomer
@Nullable @Nullable PlayerEntity getCurrentCustomer()
- 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;
-
getOffers
TradeOfferList getOffers()
- Mappings:
Namespace Name Mixin selector official fqLbun;fq()Lbup;intermediary method_8264Lnet/minecraft/class_1915;method_8264()Lnet/minecraft/class_1916;named getOffersLnet/minecraft/village/Merchant;getOffers()Lnet/minecraft/village/TradeOfferList;
-
setOffersFromServer
void setOffersFromServer(TradeOfferList offers)
- 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
void trade(TradeOffer offer)
- Mappings:
Namespace Name Mixin selector official aLbun;a(Lbuo;)Vintermediary method_8262Lnet/minecraft/class_1915;method_8262(Lnet/minecraft/class_1914;)Vnamed tradeLnet/minecraft/village/Merchant;trade(Lnet/minecraft/village/TradeOffer;)V
-
onSellingItem
void onSellingItem(ItemStack stack)
- 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
World getMerchantWorld()
- 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
int getExperience()
- Mappings:
Namespace Name Mixin selector official sLbun;s()Iintermediary method_19269Lnet/minecraft/class_1915;method_19269()Inamed getExperienceLnet/minecraft/village/Merchant;getExperience()I
-
setExperienceFromServer
void setExperienceFromServer(int experience)
- 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
boolean isLeveledMerchant()
- Mappings:
Namespace Name Mixin selector official frLbun;fr()Zintermediary method_19270Lnet/minecraft/class_1915;method_19270()Znamed isLeveledMerchantLnet/minecraft/village/Merchant;isLeveledMerchant()Z
-
getYesSound
SoundEvent getYesSound()
- 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;
-
canRefreshTrades
default boolean canRefreshTrades()
- Mappings:
Namespace Name Mixin selector official fCLbun;fC()Zintermediary method_20708Lnet/minecraft/class_1915;method_20708()Znamed canRefreshTradesLnet/minecraft/village/Merchant;canRefreshTrades()Z
-
sendOffers
default void sendOffers(PlayerEntity player, Text test, int levelProgress)
- Mappings:
Namespace Name Mixin selector official aLbun;a(Lbjf;Lon;I)Vintermediary method_17449Lnet/minecraft/class_1915;method_17449(Lnet/minecraft/class_1657;Lnet/minecraft/class_2561;I)Vnamed sendOffersLnet/minecraft/village/Merchant;sendOffers(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/text/Text;I)V
-
-