Package net.minecraft.village
Interface TradeOffers.Factory
- All Known Implementing Classes:
TradeOffers.BuyItemFactory
,TradeOffers.EmptyFactory
,TradeOffers.EnchantBookFactory
,TradeOffers.ProcessItemFactory
,TradeOffers.SellDyedArmorFactory
,TradeOffers.SellEnchantedToolFactory
,TradeOffers.SellItemFactory
,TradeOffers.SellMapFactory
,TradeOffers.SellPotionHoldingItemFactory
,TradeOffers.SellSuspiciousStewFactory
,TradeOffers.TypeAwareBuyForOneEmeraldFactory
,TradeOffers.TypedWrapperFactory
- Enclosing class:
TradeOffers
public static interface TradeOffers.Factory
A factory to create trade offers.
- Mappings:
Namespace Name named net/minecraft/village/TradeOffers$Factory
intermediary net/minecraft/class_3853$class_1652
official cmm$g
-
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 named create
Lnet/minecraft/village/TradeOffers$Factory;create(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/random/Random;)Lnet/minecraft/village/TradeOffer;
intermediary method_7246
Lnet/minecraft/class_3853$class_1652;method_7246(Lnet/minecraft/class_1297;Lnet/minecraft/class_5819;)Lnet/minecraft/class_1914;
official a
Lcmm$g;a(Lbsq;Layv;)Ldbs;
-