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 Object
implements VillagerTrades.ITrade
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final ItemStack
private final int
private final float
private final int
-
Constructor Summary
ConstructorDescriptionEnchantedItemForEmeraldsTrade
(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
-
Field Details
-
itemStack
-
baseEmeraldCost
private final int baseEmeraldCost -
maxUses
private final int maxUses -
villagerXp
private final int villagerXp -
priceMultiplier
private final float priceMultiplier
-
-
Constructor Details
-
Method Details
-
getOffer
- Specified by:
getOffer
in interfaceVillagerTrades.ITrade
-