static class TradeOffers.ProcessItemFactory extends Object implements TradeOffers.Factory
Modifier and Type | Field and Description |
---|---|
private int |
experience |
private int |
maxUses |
private float |
multiplier |
private int |
price |
private ItemStack |
secondBuy |
private int |
secondCount |
private ItemStack |
sell |
private int |
sellCount |
Constructor and Description |
---|
ProcessItemFactory(ItemConvertible itemConvertible,
int secondCount,
int price,
Item sellItem,
int sellCount,
int maxUses,
int experience) |
ProcessItemFactory(ItemConvertible itemConvertible,
int secondCount,
Item sellItem,
int sellCount,
int maxUses,
int experience) |
private final ItemStack secondBuy
private final int secondCount
private final int price
private final ItemStack sell
private final int sellCount
private final int maxUses
private final int experience
private final float multiplier
public ProcessItemFactory(ItemConvertible itemConvertible, int secondCount, Item sellItem, int sellCount, int maxUses, int experience)
public ProcessItemFactory(ItemConvertible itemConvertible, int secondCount, int price, Item sellItem, int sellCount, int maxUses, int experience)
@Nullable public TradeOffer create(Entity entity, Random random)
create
in interface TradeOffers.Factory