Class VillagerTrades.ItemsForEmeraldsTrade
java.lang.Object
net.minecraft.entity.merchant.villager.VillagerTrades.ItemsForEmeraldsTrade
- All Implemented Interfaces:
VillagerTrades.ITrade
- Enclosing class:
- VillagerTrades
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final ItemStack
private final int
private final int
private final float
private final int
-
Constructor Summary
ConstructorDescriptionItemsForEmeraldsTrade
(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
-
Field Details
-
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 Details
-
ItemsForEmeraldsTrade
public ItemsForEmeraldsTrade(Block p_i50528_1_, int p_i50528_2_, int p_i50528_3_, int p_i50528_4_, int p_i50528_5_) -
ItemsForEmeraldsTrade
-
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 Details
-
getOffer
- Specified by:
getOffer
in interfaceVillagerTrades.ITrade
-