Package net.minecraft.entity.data
Interface Trader
- All Known Implementing Classes:
Merchant,VillagerEntity
public interface Trader
- Mappings:
Namespace Name official ajdintermediary net/minecraft/class_1143named net/minecraft/entity/data/Trader
-
Method Summary
Modifier and TypeMethodDescriptiongetOffers(PlayerEntity player) voidmethod_5501(ItemStack stack) voidsetCurrentCustomer(PlayerEntity player) voidvoidtrade(TradeOffer offer)
-
Method Details
-
setCurrentCustomer
- Mappings:
Namespace Name Mixin selector official a_Lajd;a_(Laay;)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
-
getCurrentCustomer
PlayerEntity getCurrentCustomer()- Mappings:
Namespace Name Mixin selector official s_Lajd;s_()Laay;intermediary method_3546Lnet/minecraft/class_1143;method_3546()Lnet/minecraft/class_988;named getCurrentCustomerLnet/minecraft/entity/data/Trader;getCurrentCustomer()Lnet/minecraft/entity/player/PlayerEntity;
-
getOffers
- Mappings:
Namespace Name Mixin selector official b_Lajd;b_(Laay;)Lajf;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
- Mappings:
Namespace Name Mixin selector official aLajd;a(Lajf;)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
- Mappings:
Namespace Name Mixin selector official aLajd;a(Laje;)Vintermediary method_3542Lnet/minecraft/class_1143;method_3542(Lnet/minecraft/class_1144;)Vnamed tradeLnet/minecraft/entity/data/Trader;trade(Lnet/minecraft/village/TradeOffer;)V
-
method_5501
- Mappings:
Namespace Name Mixin selector official aLajd;a(Lafj;)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
Text method_6344()- Mappings:
Namespace Name Mixin selector official i_Lajd;i_()Lfb;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
World method_13682()- Mappings:
Namespace Name Mixin selector official t_Lajd;t_()Lajs;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
BlockPos method_13683()- Mappings:
Namespace Name Mixin selector official u_Lajd;u_()Lco;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;
-