Class VillagerTrades.ItemsForEmeraldsTrade
- java.lang.Object
-
- net.minecraft.entity.merchant.villager.VillagerTrades.ItemsForEmeraldsTrade
-
- All Implemented Interfaces:
VillagerTrades.ITrade
- Enclosing class:
- VillagerTrades
static class VillagerTrades.ItemsForEmeraldsTrade extends java.lang.Object implements VillagerTrades.ITrade
-
-
Field Summary
Fields Modifier and Type Field Description private int
emeraldCost
private ItemStack
itemStack
private int
maxUses
private int
numberOfItems
private float
priceMultiplier
private int
villagerXp
-
Constructor Summary
Constructors Constructor Description ItemsForEmeraldsTrade(Block p_i50528_1_, int p_i50528_2_, int p_i50528_3_, int p_i50528_4_, int p_i50528_5_)
ItemsForEmeraldsTrade(Item p_i50529_1_, int p_i50529_2_, int p_i50529_3_, int p_i50529_4_)
ItemsForEmeraldsTrade(Item p_i50530_1_, int p_i50530_2_, int p_i50530_3_, int p_i50530_4_, int p_i50530_5_)
ItemsForEmeraldsTrade(ItemStack p_i50531_1_, int p_i50531_2_, int p_i50531_3_, int p_i50531_4_, int p_i50531_5_)
ItemsForEmeraldsTrade(ItemStack p_i50532_1_, int p_i50532_2_, int p_i50532_3_, int p_i50532_4_, int p_i50532_5_, float p_i50532_6_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MerchantOffer
getOffer(Entity p_221182_1_, java.util.Random p_221182_2_)
-
-
-
Field Detail
-
itemStack
private final ItemStack itemStack
-
emeraldCost
private final int emeraldCost
-
numberOfItems
private final int numberOfItems
-
maxUses
private final int maxUses
-
villagerXp
private final int villagerXp
-
priceMultiplier
private final float priceMultiplier
-
-
Constructor Detail
-
ItemsForEmeraldsTrade
public ItemsForEmeraldsTrade(Block p_i50528_1_, int p_i50528_2_, int p_i50528_3_, int p_i50528_4_, int p_i50528_5_)
-
ItemsForEmeraldsTrade
public ItemsForEmeraldsTrade(Item p_i50529_1_, int p_i50529_2_, int p_i50529_3_, int p_i50529_4_)
-
ItemsForEmeraldsTrade
public ItemsForEmeraldsTrade(Item p_i50530_1_, int p_i50530_2_, int p_i50530_3_, int p_i50530_4_, int p_i50530_5_)
-
ItemsForEmeraldsTrade
public ItemsForEmeraldsTrade(ItemStack p_i50531_1_, int p_i50531_2_, int p_i50531_3_, int p_i50531_4_, int p_i50531_5_)
-
ItemsForEmeraldsTrade
public ItemsForEmeraldsTrade(ItemStack p_i50532_1_, int p_i50532_2_, int p_i50532_3_, int p_i50532_4_, int p_i50532_5_, float p_i50532_6_)
-
-
Method Detail
-
getOffer
public MerchantOffer getOffer(Entity p_221182_1_, java.util.Random p_221182_2_)
- Specified by:
getOffer
in interfaceVillagerTrades.ITrade
-
-