Package net.minecraft.entity.data
Interface Trader
- All Known Implementing Classes:
Merchant,VillagerEntity
public interface Trader
- Mappings:
Namespace Name official acyintermediary net/minecraft/class_83named net/minecraft/entity/data/Trader
-
Method Summary
Modifier and Type Method Description PlayerEntitygetCurrentCustomer()TextgetName()TraderOfferListgetOffers(PlayerEntity player)voidmethod_131(ItemStack stack)voidsetCurrentCustomer(PlayerEntity player)voidsetTraderOfferList(TraderOfferList list)voidtrade(TradeOffer offer)
-
Method Details
-
setCurrentCustomer
- Mappings:
Namespace Name Mixin selector official a_Lacy;a_(Lwn;)Vintermediary method_130Lnet/minecraft/class_83;method_130(Lnet/minecraft/class_1963;)Vnamed setCurrentCustomerLnet/minecraft/entity/data/Trader;setCurrentCustomer(Lnet/minecraft/entity/player/PlayerEntity;)V
-
getCurrentCustomer
PlayerEntity getCurrentCustomer()- Mappings:
Namespace Name Mixin selector official v_Lacy;v_()Lwn;intermediary method_134Lnet/minecraft/class_83;method_134()Lnet/minecraft/class_1963;named getCurrentCustomerLnet/minecraft/entity/data/Trader;getCurrentCustomer()Lnet/minecraft/entity/player/PlayerEntity;
-
getOffers
- Mappings:
Namespace Name Mixin selector official b_Lacy;b_(Lwn;)Lada;intermediary method_132Lnet/minecraft/class_83;method_132(Lnet/minecraft/class_1963;)Lnet/minecraft/class_86;named getOffersLnet/minecraft/entity/data/Trader;getOffers(Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/village/TraderOfferList;
-
setTraderOfferList
- Mappings:
Namespace Name Mixin selector official aLacy;a(Lada;)Vintermediary method_129Lnet/minecraft/class_83;method_129(Lnet/minecraft/class_86;)Vnamed setTraderOfferListLnet/minecraft/entity/data/Trader;setTraderOfferList(Lnet/minecraft/village/TraderOfferList;)V
-
trade
- Mappings:
Namespace Name Mixin selector official aLacy;a(Lacz;)Vintermediary method_128Lnet/minecraft/class_83;method_128(Lnet/minecraft/class_84;)Vnamed tradeLnet/minecraft/entity/data/Trader;trade(Lnet/minecraft/village/TradeOffer;)V
-
method_131
- Mappings:
Namespace Name Mixin selector official a_Lacy;a_(Lzx;)Vintermediary method_131Lnet/minecraft/class_83;method_131(Lnet/minecraft/class_2056;)Vnamed method_131Lnet/minecraft/entity/data/Trader;method_131(Lnet/minecraft/item/ItemStack;)V
-
getName
Text getName()- Mappings:
Namespace Name Mixin selector official method_133Lacy;method_133()Leu;intermediary method_133Lnet/minecraft/class_83;method_133()Lnet/minecraft/class_1444;named getNameLnet/minecraft/entity/data/Trader;getName()Lnet/minecraft/text/Text;
-