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 java.lang.Object implements VillagerTrades.ITrade
-
-
Field Summary
Fields Modifier and Type Field Description private int
emeraldCost
private int
fromCount
private Item
fromItem
private int
maxUses
private float
priceMultiplier
private int
toCount
private ItemStack
toItem
private int
villagerXp
-
Constructor Summary
Constructors Constructor Description ItemWithPotionForEmeraldsAndItemsTrade(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
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
-
toItem
private final ItemStack toItem
-
toCount
private final int toCount
-
emeraldCost
private final int emeraldCost
-
maxUses
private final int maxUses
-
villagerXp
private final int villagerXp
-
fromItem
private final Item fromItem
-
fromCount
private final int fromCount
-
priceMultiplier
private final float priceMultiplier
-
-
Method Detail
-
getOffer
public MerchantOffer getOffer(Entity p_221182_1_, java.util.Random p_221182_2_)
- Specified by:
getOffer
in interfaceVillagerTrades.ITrade
-
-