static class TradeOffers.BuyForOneEmeraldFactory extends Object implements TradeOffers.Factory
Modifier and Type | Field and Description |
---|---|
private Item |
buy |
private int |
experience |
private int |
maxUses |
private float |
multiplier |
private int |
price |
Constructor and Description |
---|
BuyForOneEmeraldFactory(ItemConvertible itemConvertible,
int price,
int maxUses,
int experience) |
private final Item buy
private final int price
private final int maxUses
private final int experience
private final float multiplier
public BuyForOneEmeraldFactory(ItemConvertible itemConvertible, int price, int maxUses, int experience)
public TradeOffer create(Entity entity, Random random)
create
in interface TradeOffers.Factory