Package net.minecraft.world.entity.npc
Class VillagerTrades.ItemsAndEmeraldsToItems
java.lang.Object
net.minecraft.world.entity.npc.VillagerTrades.ItemsAndEmeraldsToItems
- All Implemented Interfaces:
VillagerTrades.ItemListing
- Enclosing class:
- VillagerTrades
static class VillagerTrades.ItemsAndEmeraldsToItems
extends Object
implements VillagerTrades.ItemListing
-
Field Summary
-
Constructor Summary
ConstructorDescriptionItemsAndEmeraldsToItems(ItemLike p_35717_, int p_35718_, int p_35719_, Item p_35720_, int p_35721_, int p_35722_, int p_35723_)
ItemsAndEmeraldsToItems(ItemLike p_35725_, int p_35726_, Item p_35727_, int p_35728_, int p_35729_, int p_35730_)
-
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
-
ItemsAndEmeraldsToItems
-
ItemsAndEmeraldsToItems
-
-
Method Details
-
getOffer
- Specified by:
getOffer
in interfaceVillagerTrades.ItemListing
-