Interface Trader

All Known Implementing Classes:
Merchant, VillagerEntity

public interface Trader
Mappings:
Namespace Name
official aex
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_ Laex;a_(Lxk;)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 b Laex;b()Lxk;
      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 Laex;b(Lxk;)Laez;
      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 Laex;a(Laez;)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 Laex;a(Laey;)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_ Laex;a_(Labo;)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