Package net.minecraft.village
Interface TradeOffers.Factory
- All Known Implementing Classes:
TradeOffers.BuyForOneEmeraldFactory
,TradeOffers.EnchantBookFactory
,TradeOffers.ProcessItemFactory
,TradeOffers.SellDyedArmorFactory
,TradeOffers.SellEnchantedToolFactory
,TradeOffers.SellItemFactory
,TradeOffers.SellMapFactory
,TradeOffers.SellPotionHoldingItemFactory
,TradeOffers.SellSuspiciousStewFactory
,TradeOffers.TypeAwareBuyForOneEmeraldFactory
- Enclosing class:
- TradeOffers
public static interface TradeOffers.Factory
A factory to create trade offers.
- Mappings:
Namespace Name official bhc$f
intermediary net/minecraft/class_3853$class_1652
named net/minecraft/village/TradeOffers$Factory
-
Method Summary
Modifier and Type Method Description TradeOffer
create(Entity entity, Random random)
Creates a trade offer.
-
Method Details
-
create
Creates a trade offer.- Returns:
- a new trade offer, or
null
if none should be created - Mappings:
Namespace Name Mixin selector official a
Lbhc$f;a(Laqv;Ljava/util/Random;)Lbss;
intermediary method_7246
Lnet/minecraft/class_3853$class_1652;method_7246(Lnet/minecraft/class_1297;Ljava/util/Random;)Lnet/minecraft/class_1914;
named create
Lnet/minecraft/village/TradeOffers$Factory;create(Lnet/minecraft/entity/Entity;Ljava/util/Random;)Lnet/minecraft/village/TradeOffer;
-