static class VillagerTrades.ItemWithPotionForEmeraldsAndItemsTrade extends java.lang.Object implements VillagerTrades.ITrade
Modifier and Type | Field and Description |
---|---|
private Item |
buyingItem |
private int |
buyingItemCount |
private int |
emeraldCount |
private int |
maxUses |
private int |
potionCount |
private ItemStack |
potionStack |
private float |
priceMultiplier |
private int |
xpValue |
Constructor and Description |
---|
ItemWithPotionForEmeraldsAndItemsTrade(Item p_i50526_1_,
int p_i50526_2_,
Item p_i50526_3_,
int p_i50526_4_,
int emeralds,
int p_i50526_6_,
int p_i50526_7_) |
Modifier and Type | Method and Description |
---|---|
MerchantOffer |
getOffer(Entity trader,
java.util.Random rand) |
private final ItemStack potionStack
private final int potionCount
private final int emeraldCount
private final int maxUses
private final int xpValue
private final Item buyingItem
private final int buyingItemCount
private final float priceMultiplier
public MerchantOffer getOffer(Entity trader, java.util.Random rand)
getOffer
in interface VillagerTrades.ITrade