Class VillagerTrades.EnchantedItemForEmeraldsTrade
- java.lang.Object
-
- net.minecraft.entity.merchant.villager.VillagerTrades.EnchantedItemForEmeraldsTrade
-
- All Implemented Interfaces:
VillagerTrades.ITrade
- Enclosing class:
- VillagerTrades
static class VillagerTrades.EnchantedItemForEmeraldsTrade extends java.lang.Object implements VillagerTrades.ITrade
-
-
Field Summary
Fields Modifier and Type Field Description private int
baseEmeraldCost
private ItemStack
itemStack
private int
maxUses
private float
priceMultiplier
private int
villagerXp
-
Constructor Summary
Constructors Constructor Description EnchantedItemForEmeraldsTrade(Item p_i50535_1_, int p_i50535_2_, int p_i50535_3_, int p_i50535_4_)
EnchantedItemForEmeraldsTrade(Item p_i50536_1_, int p_i50536_2_, int p_i50536_3_, int p_i50536_4_, float p_i50536_5_)
-
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
-
baseEmeraldCost
private final int baseEmeraldCost
-
maxUses
private final int maxUses
-
villagerXp
private final int villagerXp
-
priceMultiplier
private final float priceMultiplier
-
-
Constructor Detail
-
EnchantedItemForEmeraldsTrade
public EnchantedItemForEmeraldsTrade(Item p_i50535_1_, int p_i50535_2_, int p_i50535_3_, int p_i50535_4_)
-
EnchantedItemForEmeraldsTrade
public EnchantedItemForEmeraldsTrade(Item p_i50536_1_, int p_i50536_2_, int p_i50536_3_, int p_i50536_4_, float p_i50536_5_)
-
-
Method Detail
-
getOffer
public MerchantOffer getOffer(Entity p_221182_1_, java.util.Random p_221182_2_)
- Specified by:
getOffer
in interfaceVillagerTrades.ITrade
-
-