Interface Trader

All Known Implementing Classes:
Merchant, VillagerEntity

public interface Trader
Mappings:
Namespace Name
official acy
intermediary net/minecraft/class_1143
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_3544 Lnet/minecraft/class_1143;method_3544(Lnet/minecraft/class_988;)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_3546 Lnet/minecraft/class_1143;method_3546()Lnet/minecraft/class_988;
      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_3545 Lnet/minecraft/class_1143;method_3545(Lnet/minecraft/class_988;)Lnet/minecraft/class_1145;
      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_3543 Lnet/minecraft/class_1143;method_3543(Lnet/minecraft/class_1145;)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_3542 Lnet/minecraft/class_1143;method_3542(Lnet/minecraft/class_1144;)V
      named trade Lnet/minecraft/entity/data/Trader;trade(Lnet/minecraft/village/TradeOffer;)V
    • method_5501

      void method_5501(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official a_ Lacy;a_(Lzx;)V
      intermediary method_5501 Lnet/minecraft/class_1143;method_5501(Lnet/minecraft/class_1071;)V
      named method_5501 Lnet/minecraft/entity/data/Trader;method_5501(Lnet/minecraft/item/ItemStack;)V
    • method_6344

      Text method_6344()
      Mappings:
      Namespace Name Mixin selector
      official f_ Lacy;f_()Leu;
      intermediary method_6344 Lnet/minecraft/class_1143;method_6344()Lnet/minecraft/class_1982;
      named method_6344 Lnet/minecraft/entity/data/Trader;method_6344()Lnet/minecraft/text/Text;