Package net.minecraft.entity.data
Class Merchant
java.lang.Object
net.minecraft.entity.data.Merchant
- All Implemented Interfaces:
Trader
- Mappings:
Namespace Name official adwintermediary net/minecraft/class_983named net/minecraft/entity/data/Merchant
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TraderInventoryprivate TraderOfferListprivate final Textprivate final PlayerEntity -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetOffers(PlayerEntity player) voidmethod_5501(ItemStack stack) voidsetCurrentCustomer(PlayerEntity player) voidvoidtrade(TradeOffer offer)
-
Field Details
-
inventory
- Mappings:
Namespace Name Mixin selector official aLadw;a:Lagj;intermediary field_3942Lnet/minecraft/class_983;field_3942:Lnet/minecraft/class_1020;named inventoryLnet/minecraft/entity/data/Merchant;inventory:Lnet/minecraft/village/TraderInventory;
-
player
- Mappings:
Namespace Name Mixin selector official bLadw;b:Laed;intermediary field_3943Lnet/minecraft/class_983;field_3943:Lnet/minecraft/class_988;named playerLnet/minecraft/entity/data/Merchant;player:Lnet/minecraft/entity/player/PlayerEntity;
-
list
- Mappings:
Namespace Name Mixin selector official cLadw;c:Lamh;intermediary field_3944Lnet/minecraft/class_983;field_3944:Lnet/minecraft/class_1145;named listLnet/minecraft/entity/data/Merchant;list:Lnet/minecraft/village/TraderOfferList;
-
name
- Mappings:
Namespace Name Mixin selector official dLadw;d:Lhh;intermediary field_12105Lnet/minecraft/class_983;field_12105:Lnet/minecraft/class_1982;named nameLnet/minecraft/entity/data/Merchant;name:Lnet/minecraft/text/Text;
-
-
Constructor Details
-
Merchant
- Mappings:
Namespace Name Mixin selector official <init>Ladw;<init>(Laed;Lhh;)Vintermediary <init>Lnet/minecraft/class_983;<init>(Lnet/minecraft/class_988;Lnet/minecraft/class_1982;)Vnamed <init>Lnet/minecraft/entity/data/Merchant;<init>(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/text/Text;)V
-
-
Method Details
-
getCurrentCustomer
- Specified by:
getCurrentCustomerin interfaceTrader- Mappings:
Namespace Name Mixin selector official t_Lamf;t_()Laed;intermediary method_3546Lnet/minecraft/class_1143;method_3546()Lnet/minecraft/class_988;named getCurrentCustomerLnet/minecraft/entity/data/Trader;getCurrentCustomer()Lnet/minecraft/entity/player/PlayerEntity;
-
setCurrentCustomer
- Specified by:
setCurrentCustomerin interfaceTrader- Mappings:
Namespace Name Mixin selector official a_Lamf;a_(Laed;)Vintermediary method_3544Lnet/minecraft/class_1143;method_3544(Lnet/minecraft/class_988;)Vnamed setCurrentCustomerLnet/minecraft/entity/data/Trader;setCurrentCustomer(Lnet/minecraft/entity/player/PlayerEntity;)V
-
getOffers
- Specified by:
getOffersin interfaceTrader- Mappings:
Namespace Name Mixin selector official b_Lamf;b_(Laed;)Lamh;intermediary method_3545Lnet/minecraft/class_1143;method_3545(Lnet/minecraft/class_988;)Lnet/minecraft/class_1145;named getOffersLnet/minecraft/entity/data/Trader;getOffers(Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/village/TraderOfferList;
-
setTraderOfferList
- Specified by:
setTraderOfferListin interfaceTrader- Mappings:
Namespace Name Mixin selector official aLamf;a(Lamh;)Vintermediary method_3543Lnet/minecraft/class_1143;method_3543(Lnet/minecraft/class_1145;)Vnamed setTraderOfferListLnet/minecraft/entity/data/Trader;setTraderOfferList(Lnet/minecraft/village/TraderOfferList;)V
-
trade
-
method_5501
- Specified by:
method_5501in interfaceTrader- Mappings:
Namespace Name Mixin selector official aLamf;a(Laip;)Vintermediary method_5501Lnet/minecraft/class_1143;method_5501(Lnet/minecraft/class_1071;)Vnamed method_5501Lnet/minecraft/entity/data/Trader;method_5501(Lnet/minecraft/item/ItemStack;)V
-
method_6344
- Specified by:
method_6344in interfaceTrader- Mappings:
Namespace Name Mixin selector official i_Lamf;i_()Lhh;intermediary method_6344Lnet/minecraft/class_1143;method_6344()Lnet/minecraft/class_1982;named method_6344Lnet/minecraft/entity/data/Trader;method_6344()Lnet/minecraft/text/Text;
-
method_13682
- Specified by:
method_13682in interfaceTrader- Mappings:
Namespace Name Mixin selector official u_Lamf;u_()Lamu;intermediary method_13682Lnet/minecraft/class_1143;method_13682()Lnet/minecraft/class_1150;named method_13682Lnet/minecraft/entity/data/Trader;method_13682()Lnet/minecraft/world/World;
-
method_13683
- Specified by:
method_13683in interfaceTrader- Mappings:
Namespace Name Mixin selector official v_Lamf;v_()Let;intermediary method_13683Lnet/minecraft/class_1143;method_13683()Lnet/minecraft/class_2552;named method_13683Lnet/minecraft/entity/data/Trader;method_13683()Lnet/minecraft/util/math/BlockPos;
-