Interface Trader

All Known Implementing Classes:
Merchant, VillagerEntity

public interface Trader
Mappings:
Namespace Name
official acy
intermediary net/minecraft/class_83
named net/minecraft/entity/data/Trader
  • Method Details

    • setCurrentCustomer

      void setCurrentCustomer​(PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official a_ Lacy;a_(Lwn;)V
      intermediary method_130 Lnet/minecraft/class_83;method_130(Lnet/minecraft/class_1963;)V
      named setCurrentCustomer Lnet/minecraft/entity/data/Trader;setCurrentCustomer(Lnet/minecraft/entity/player/PlayerEntity;)V
    • getCurrentCustomer

      PlayerEntity getCurrentCustomer()
      Mappings:
      Namespace Name Mixin selector
      official v_ Lacy;v_()Lwn;
      intermediary method_134 Lnet/minecraft/class_83;method_134()Lnet/minecraft/class_1963;
      named getCurrentCustomer Lnet/minecraft/entity/data/Trader;getCurrentCustomer()Lnet/minecraft/entity/player/PlayerEntity;
    • getOffers

      TraderOfferList getOffers​(PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official b_ Lacy;b_(Lwn;)Lada;
      intermediary method_132 Lnet/minecraft/class_83;method_132(Lnet/minecraft/class_1963;)Lnet/minecraft/class_86;
      named getOffers Lnet/minecraft/entity/data/Trader;getOffers(Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/village/TraderOfferList;
    • setTraderOfferList

      @Environment(CLIENT) void setTraderOfferList​(TraderOfferList list)
      Mappings:
      Namespace Name Mixin selector
      official a Lacy;a(Lada;)V
      intermediary method_129 Lnet/minecraft/class_83;method_129(Lnet/minecraft/class_86;)V
      named setTraderOfferList Lnet/minecraft/entity/data/Trader;setTraderOfferList(Lnet/minecraft/village/TraderOfferList;)V
    • trade

      void trade​(TradeOffer offer)
      Mappings:
      Namespace Name Mixin selector
      official a Lacy;a(Lacz;)V
      intermediary method_128 Lnet/minecraft/class_83;method_128(Lnet/minecraft/class_84;)V
      named trade Lnet/minecraft/entity/data/Trader;trade(Lnet/minecraft/village/TradeOffer;)V
    • method_131

      void method_131​(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official a_ Lacy;a_(Lzx;)V
      intermediary method_131 Lnet/minecraft/class_83;method_131(Lnet/minecraft/class_2056;)V
      named method_131 Lnet/minecraft/entity/data/Trader;method_131(Lnet/minecraft/item/ItemStack;)V
    • getName

      Text getName()
      Mappings:
      Namespace Name Mixin selector
      official method_133 Lacy;method_133()Leu;
      intermediary method_133 Lnet/minecraft/class_83;method_133()Lnet/minecraft/class_1444;
      named getName Lnet/minecraft/entity/data/Trader;getName()Lnet/minecraft/text/Text;