Class VillagerTrades.ItemsForEmeraldsAndItemsTrade
java.lang.Object
net.minecraft.entity.merchant.villager.VillagerTrades.ItemsForEmeraldsAndItemsTrade
- All Implemented Interfaces:
VillagerTrades.ITrade
- Enclosing class:
- VillagerTrades
static class VillagerTrades.ItemsForEmeraldsAndItemsTrade
extends Object
implements VillagerTrades.ITrade
-
Field Summary
-
Constructor Summary
ConstructorDescriptionItemsForEmeraldsAndItemsTrade
(IItemProvider p_i50534_1_, int p_i50534_2_, int p_i50534_3_, Item p_i50534_4_, int p_i50534_5_, int p_i50534_6_, int p_i50534_7_) ItemsForEmeraldsAndItemsTrade
(IItemProvider p_i50533_1_, int p_i50533_2_, Item p_i50533_3_, int p_i50533_4_, int p_i50533_5_, int p_i50533_6_) -
Method Summary
-
Field Details
-
fromItem
-
fromCount
private final int fromCount -
emeraldCost
private final int emeraldCost -
toItem
-
toCount
private final int toCount -
maxUses
private final int maxUses -
villagerXp
private final int villagerXp -
priceMultiplier
private final float priceMultiplier
-
-
Constructor Details
-
ItemsForEmeraldsAndItemsTrade
public ItemsForEmeraldsAndItemsTrade(IItemProvider p_i50533_1_, int p_i50533_2_, Item p_i50533_3_, int p_i50533_4_, int p_i50533_5_, int p_i50533_6_) -
ItemsForEmeraldsAndItemsTrade
public ItemsForEmeraldsAndItemsTrade(IItemProvider p_i50534_1_, int p_i50534_2_, int p_i50534_3_, Item p_i50534_4_, int p_i50534_5_, int p_i50534_6_, int p_i50534_7_)
-
-
Method Details
-
getOffer
- Specified by:
getOffer
in interfaceVillagerTrades.ITrade
-