Class VillagerTrades.ItemWithPotionForEmeraldsAndItemsTrade
java.lang.Object
net.minecraft.entity.merchant.villager.VillagerTrades.ItemWithPotionForEmeraldsAndItemsTrade
- All Implemented Interfaces:
VillagerTrades.ITrade
- Enclosing class:
- VillagerTrades
static class VillagerTrades.ItemWithPotionForEmeraldsAndItemsTrade
extends Object
implements VillagerTrades.ITrade
-
Field Summary
-
Constructor Summary
ConstructorDescriptionItemWithPotionForEmeraldsAndItemsTrade
(Item p_i50526_1_, int p_i50526_2_, Item p_i50526_3_, int p_i50526_4_, int p_i50526_5_, int p_i50526_6_, int p_i50526_7_) -
Method Summary
-
Field Details
-
toItem
-
toCount
private final int toCount -
emeraldCost
private final int emeraldCost -
maxUses
private final int maxUses -
villagerXp
private final int villagerXp -
fromItem
-
fromCount
private final int fromCount -
priceMultiplier
private final float priceMultiplier
-
-
Constructor Details
-
ItemWithPotionForEmeraldsAndItemsTrade
-
-
Method Details
-
getOffer
- Specified by:
getOffer
in interfaceVillagerTrades.ITrade
-