Class VillagerTrades.EmeraldForItemsTrade
java.lang.Object
net.minecraft.entity.merchant.villager.VillagerTrades.EmeraldForItemsTrade
- All Implemented Interfaces:
VillagerTrades.ITrade
- Enclosing class:
- VillagerTrades
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final Item
private final int
private final float
private final int
-
Constructor Summary
ConstructorDescriptionEmeraldForItemsTrade
(IItemProvider p_i50539_1_, int p_i50539_2_, int p_i50539_3_, int p_i50539_4_) -
Method Summary
-
Field Details
-
item
-
cost
private final int cost -
maxUses
private final int maxUses -
villagerXp
private final int villagerXp -
priceMultiplier
private final float priceMultiplier
-
-
Constructor Details
-
EmeraldForItemsTrade
public EmeraldForItemsTrade(IItemProvider p_i50539_1_, int p_i50539_2_, int p_i50539_3_, int p_i50539_4_)
-
-
Method Details
-
getOffer
- Specified by:
getOffer
in interfaceVillagerTrades.ITrade
-