类 SimpleMerchant

  • 所有已实现的接口:
    Merchant

    public class SimpleMerchant
    extends Object
    implements Merchant
    Mappings:
    Namespace Name
    official bip
    intermediary net/minecraft/class_1645
    named net/minecraft/village/SimpleMerchant
    • 字段详细资料

      • player

        private final PlayerEntity player
        Mappings:
        Namespace Name Mixin selector
        official a Lbip;a:Lbjf;
        intermediary field_7441 Lnet/minecraft/class_1645;field_7441:Lnet/minecraft/class_1657;
        named player Lnet/minecraft/village/SimpleMerchant;player:Lnet/minecraft/entity/player/PlayerEntity;
      • offers

        private TradeOfferList offers
        Mappings:
        Namespace Name Mixin selector
        official b Lbip;b:Lbup;
        intermediary field_7442 Lnet/minecraft/class_1645;field_7442:Lnet/minecraft/class_1916;
        named offers Lnet/minecraft/village/SimpleMerchant;offers:Lnet/minecraft/village/TradeOfferList;
      • experience

        private int experience
        Mappings:
        Namespace Name Mixin selector
        official c Lbip;c:I
        intermediary field_18525 Lnet/minecraft/class_1645;field_18525:I
        named experience Lnet/minecraft/village/SimpleMerchant;experience:I
    • 构造器详细资料

      • SimpleMerchant

        public SimpleMerchant​(PlayerEntity player)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lbip;<init>(Lbjf;)V
        intermediary <init> Lnet/minecraft/class_1645;<init>(Lnet/minecraft/class_1657;)V
        named <init> Lnet/minecraft/village/SimpleMerchant;<init>(Lnet/minecraft/entity/player/PlayerEntity;)V
    • 方法详细资料

      • getCurrentCustomer

        public PlayerEntity getCurrentCustomer()
        指定者:
        getCurrentCustomer 在接口中 Merchant
        Mappings:
        Namespace Name Mixin selector
        official fo Lbun;fo()Lbjf;
        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;
      • setCurrentCustomer

        public void setCurrentCustomer​(@Nullable
                                       @Nullable PlayerEntity customer)
        指定者:
        setCurrentCustomer 在接口中 Merchant
        Mappings:
        Namespace Name Mixin selector
        official f Lbun;f(Lbjf;)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
      • getOffers

        public TradeOfferList getOffers()
        指定者:
        getOffers 在接口中 Merchant
        Mappings:
        Namespace Name Mixin selector
        official fq Lbun;fq()Lbup;
        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

        public void setOffersFromServer​(TradeOfferList offers)
        指定者:
        setOffersFromServer 在接口中 Merchant
        Mappings:
        Namespace Name Mixin selector
        official a Lbun;a(Lbup;)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

        public void trade​(TradeOffer offer)
        指定者:
        trade 在接口中 Merchant
        Mappings:
        Namespace Name Mixin selector
        official a Lbun;a(Lbuo;)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

        public void onSellingItem​(ItemStack stack)
        指定者:
        onSellingItem 在接口中 Merchant
        Mappings:
        Namespace Name Mixin selector
        official k Lbun;k(Lbpr;)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

        public World getMerchantWorld()
        指定者:
        getMerchantWorld 在接口中 Merchant
        Mappings:
        Namespace Name Mixin selector
        official fw Lbun;fw()Lbvr;
        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

        public int getExperience()
        指定者:
        getExperience 在接口中 Merchant
        Mappings:
        Namespace Name Mixin selector
        official s Lbun;s()I
        intermediary method_19269 Lnet/minecraft/class_1915;method_19269()I
        named getExperience Lnet/minecraft/village/Merchant;getExperience()I
      • setExperienceFromServer

        public void setExperienceFromServer​(int experience)
        指定者:
        setExperienceFromServer 在接口中 Merchant
        Mappings:
        Namespace Name Mixin selector
        official u Lbun;u(I)V
        intermediary method_19271 Lnet/minecraft/class_1915;method_19271(I)V
        named setExperienceFromServer Lnet/minecraft/village/Merchant;setExperienceFromServer(I)V
      • isLeveledMerchant

        public boolean isLeveledMerchant()
        指定者:
        isLeveledMerchant 在接口中 Merchant
        Mappings:
        Namespace Name Mixin selector
        official fr Lbun;fr()Z
        intermediary method_19270 Lnet/minecraft/class_1915;method_19270()Z
        named isLeveledMerchant Lnet/minecraft/village/Merchant;isLeveledMerchant()Z
      • getYesSound

        public SoundEvent getYesSound()
        指定者:
        getYesSound 在接口中 Merchant
        Mappings:
        Namespace Name Mixin selector
        official fs Lbun;fs()Laev;
        intermediary method_18010 Lnet/minecraft/class_1915;method_18010()Lnet/minecraft/class_3414;
        named getYesSound Lnet/minecraft/village/Merchant;getYesSound()Lnet/minecraft/sound/SoundEvent;