Package net.minecraft.village
Class TradeOffers.EnchantBookFactory
java.lang.Object
net.minecraft.village.TradeOffers.EnchantBookFactory
- All Implemented Interfaces:
TradeOffers.Factory
- Enclosing class:
TradeOffers
- Mappings:
Namespace Name official bwg$d
intermediary net/minecraft/class_3853$class_1648
named net/minecraft/village/TradeOffers$EnchantBookFactory
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates a trade offer.
-
Field Details
-
experience
private final int experience- Mappings:
Namespace Name Mixin selector official a
Lbwg$d;a:I
intermediary field_18557
Lnet/minecraft/class_3853$class_1648;field_18557:I
named experience
Lnet/minecraft/village/TradeOffers$EnchantBookFactory;experience:I
-
-
Constructor Details
-
EnchantBookFactory
public EnchantBookFactory(int experience) - Mappings:
Namespace Name Mixin selector official <init>
Lbwg$d;<init>(I)V
intermediary <init>
Lnet/minecraft/class_3853$class_1648;<init>(I)V
named <init>
Lnet/minecraft/village/TradeOffers$EnchantBookFactory;<init>(I)V
-
-
Method Details
-
create
Creates a trade offer.- Specified by:
create
in interfaceTradeOffers.Factory
- Returns:
- a new trade offer, or
null
if none should be created - Mappings:
Namespace Name Mixin selector official a
Lbwg$f;a(Lbdr;Laoh;)Lciu;
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;
-