static class VillagerTrades.ItemsForEmeraldsAndItemsTrade extends java.lang.Object implements VillagerTrades.ITrade
Modifier and Type | Field and Description |
---|---|
private ItemStack |
buyingItem |
private int |
buyingItemCount |
private int |
emeraldCount |
private int |
maxUses |
private float |
priceMultiplier |
private ItemStack |
sellingItem |
private int |
sellingItemCount |
private int |
xpValue |
Constructor and Description |
---|
ItemsForEmeraldsAndItemsTrade(IItemProvider p_i50534_1_,
int p_i50534_2_,
int p_i50534_3_,
Item p_i50534_4_,
int p_i50534_5_,
int p_i50534_6_,
int p_i50534_7_) |
ItemsForEmeraldsAndItemsTrade(IItemProvider p_i50533_1_,
int p_i50533_2_,
Item p_i50533_3_,
int p_i50533_4_,
int p_i50533_5_,
int p_i50533_6_) |
Modifier and Type | Method and Description |
---|---|
MerchantOffer |
getOffer(Entity trader,
java.util.Random rand) |
private final ItemStack buyingItem
private final int buyingItemCount
private final int emeraldCount
private final ItemStack sellingItem
private final int sellingItemCount
private final int maxUses
private final int xpValue
private final float priceMultiplier
public ItemsForEmeraldsAndItemsTrade(IItemProvider p_i50533_1_, int p_i50533_2_, Item p_i50533_3_, int p_i50533_4_, int p_i50533_5_, int p_i50533_6_)
public ItemsForEmeraldsAndItemsTrade(IItemProvider p_i50534_1_, int p_i50534_2_, int p_i50534_3_, Item p_i50534_4_, int p_i50534_5_, int p_i50534_6_, int p_i50534_7_)
@Nullable public MerchantOffer getOffer(Entity trader, java.util.Random rand)
getOffer
in interface VillagerTrades.ITrade