static class VillagerTrades.EmeraldForItemsTrade extends java.lang.Object implements VillagerTrades.ITrade
Modifier and Type | Field and Description |
---|---|
private int |
count |
private int |
maxUses |
private float |
priceMultiplier |
private Item |
tradeItem |
private int |
xpValue |
Constructor and Description |
---|
EmeraldForItemsTrade(IItemProvider tradeItemIn,
int countIn,
int maxUsesIn,
int xpValueIn) |
Modifier and Type | Method and Description |
---|---|
MerchantOffer |
getOffer(Entity trader,
java.util.Random rand) |
private final Item tradeItem
private final int count
private final int maxUses
private final int xpValue
private final float priceMultiplier
public EmeraldForItemsTrade(IItemProvider tradeItemIn, int countIn, int maxUsesIn, int xpValueIn)
public MerchantOffer getOffer(Entity trader, java.util.Random rand)
getOffer
in interface VillagerTrades.ITrade