static class VillagerTrades.EnchantedItemForEmeraldsTrade extends java.lang.Object implements VillagerTrades.ITrade
Modifier and Type | Field and Description |
---|---|
private int |
emeraldCount |
private int |
maxUses |
private float |
priceMultiplier |
private ItemStack |
sellingStack |
private int |
xpValue |
Constructor and Description |
---|
EnchantedItemForEmeraldsTrade(Item p_i50535_1_,
int p_i50535_2_,
int p_i50535_3_,
int p_i50535_4_) |
EnchantedItemForEmeraldsTrade(Item sellItem,
int p_i50536_2_,
int p_i50536_3_,
int p_i50536_4_,
float p_i50536_5_) |
Modifier and Type | Method and Description |
---|---|
MerchantOffer |
getOffer(Entity trader,
java.util.Random rand) |
private final ItemStack sellingStack
private final int emeraldCount
private final int maxUses
private final int xpValue
private final float priceMultiplier
public EnchantedItemForEmeraldsTrade(Item p_i50535_1_, int p_i50535_2_, int p_i50535_3_, int p_i50535_4_)
public EnchantedItemForEmeraldsTrade(Item sellItem, int p_i50536_2_, int p_i50536_3_, int p_i50536_4_, float p_i50536_5_)
public MerchantOffer getOffer(Entity trader, java.util.Random rand)
getOffer
in interface VillagerTrades.ITrade