static class VillagerTrades.DyedArmorForEmeraldsTrade extends java.lang.Object implements VillagerTrades.ITrade
Modifier and Type | Field and Description |
---|---|
private int |
maxUses |
private int |
price |
private Item |
tradeItem |
private int |
xpValue |
Constructor and Description |
---|
DyedArmorForEmeraldsTrade(Item itemIn,
int priceIn) |
DyedArmorForEmeraldsTrade(Item tradeItemIn,
int priceIn,
int maxUsesIn,
int xpValueIn) |
Modifier and Type | Method and Description |
---|---|
private static DyeItem |
func_221232_a(java.util.Random p_221232_0_) |
MerchantOffer |
getOffer(Entity trader,
java.util.Random rand) |
private final Item tradeItem
private final int price
private final int maxUses
private final int xpValue
public DyedArmorForEmeraldsTrade(Item itemIn, int priceIn)
public DyedArmorForEmeraldsTrade(Item tradeItemIn, int priceIn, int maxUsesIn, int xpValueIn)
public MerchantOffer getOffer(Entity trader, java.util.Random rand)
getOffer
in interface VillagerTrades.ITrade
private static DyeItem func_221232_a(java.util.Random p_221232_0_)