Interface Trader

All Known Implementing Classes:
Merchant, VillagerEntity

public interface Trader
Mappings:
Namespace Name
official ahf
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_ Lahf;a_(Lzj;)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 t_ Lahf;t_()Lzj;
      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_ Lahf;b_(Lzj;)Lahh;
      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 Lahf;a(Lahh;)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 Lahf;a(Lahg;)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 Lahf;a(Ladq;)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 i_ Lahf;i_()Lew;
      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;