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 btt$f
intermediary net/minecraft/class_3853$class_1652
named net/minecraft/village/TradeOffers$Factory
-
Method Summary
Modifier and TypeMethodDescriptionCreates 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
Lbtt$f;a(Lbbn;Lamn;)Lcfv;
intermediary method_7246
Lnet/minecraft/class_3853$class_1652;method_7246(Lnet/minecraft/class_1297;Lnet/minecraft/class_5819;)Lnet/minecraft/class_1914;
named create
Lnet/minecraft/village/TradeOffers$Factory;create(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/random/Random;)Lnet/minecraft/village/TradeOffer;
-