Interface Trader

All Known Implementing Classes:
Merchant, VillagerEntity

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

    • setCurrentCustomer

      void setCurrentCustomer(@Nullable PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official a_ Laxd;a_(Laog;)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

      @Nullable PlayerEntity getCurrentCustomer()
      Mappings:
      Namespace Name Mixin selector
      official M_ Laxd;M_()Laog;
      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

      Mappings:
      Namespace Name Mixin selector
      official b_ Laxd;b_(Laog;)Laxf;
      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(@Nullable TraderOfferList list)
      Mappings:
      Namespace Name Mixin selector
      official a Laxd;a(Laxf;)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 Laxd;a(Laxe;)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 Laxd;a(Late;)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 O Laxd;O()Lij;
      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;
    • method_13682

      World method_13682()
      Mappings:
      Namespace Name Mixin selector
      official c Laxd;c()Laxy;
      intermediary method_13682 Lnet/minecraft/class_1143;method_13682()Lnet/minecraft/class_1150;
      named method_13682 Lnet/minecraft/entity/data/Trader;method_13682()Lnet/minecraft/world/World;
    • method_13683

      BlockPos method_13683()
      Mappings:
      Namespace Name Mixin selector
      official d Laxd;d()Lel;
      intermediary method_13683 Lnet/minecraft/class_1143;method_13683()Lnet/minecraft/class_2552;
      named method_13683 Lnet/minecraft/entity/data/Trader;method_13683()Lnet/minecraft/util/math/BlockPos;