Package net.minecraft.world.entity.npc
Class VillagerTrades.EmeraldsForVillagerTypeItem
java.lang.Object
net.minecraft.world.entity.npc.VillagerTrades.EmeraldsForVillagerTypeItem
- All Implemented Interfaces:
VillagerTrades.ItemListing
- Enclosing class:
VillagerTrades
static class VillagerTrades.EmeraldsForVillagerTypeItem
extends Object
implements VillagerTrades.ItemListing
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final int
private final Map<VillagerType,
Item> private final int
-
Constructor Summary
ConstructorDescriptionEmeraldsForVillagerTypeItem
(int p_35669_, int p_35670_, int p_35671_, Map<VillagerType, Item> p_35672_) -
Method Summary
-
Field Details
-
trades
-
cost
private final int cost -
maxUses
private final int maxUses -
villagerXp
private final int villagerXp
-
-
Constructor Details
-
EmeraldsForVillagerTypeItem
public EmeraldsForVillagerTypeItem(int p_35669_, int p_35670_, int p_35671_, Map<VillagerType, Item> p_35672_)
-
-
Method Details
-
getOffer
- Specified by:
getOffer
in interfaceVillagerTrades.ItemListing
-