Package net.minecraft.world.entity.npc
Class VillagerTrades.TreasureMapForEmeralds
java.lang.Object
net.minecraft.world.entity.npc.VillagerTrades.TreasureMapForEmeralds
- All Implemented Interfaces:
VillagerTrades.ItemListing
- Enclosing class:
VillagerTrades
public static class VillagerTrades.TreasureMapForEmeralds
extends Object
implements VillagerTrades.ItemListing
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Holder
<MapDecorationType> private final String
private final int
private final int
private final int
-
Constructor Summary
ConstructorsConstructorDescriptionTreasureMapForEmeralds
(int pEmeraldCost, TagKey<Structure> pDestination, String pDisplayName, Holder<MapDecorationType> pDestinationType, int pMaxUses, int pVillagerXp) -
Method Summary
-
Field Details
-
emeraldCost
private final int emeraldCost -
destination
-
displayName
-
destinationType
-
maxUses
private final int maxUses -
villagerXp
private final int villagerXp
-
-
Constructor Details
-
TreasureMapForEmeralds
public TreasureMapForEmeralds(int pEmeraldCost, TagKey<Structure> pDestination, String pDisplayName, Holder<MapDecorationType> pDestinationType, int pMaxUses, int pVillagerXp)
-
-
Method Details
-
getOffer
- Specified by:
getOffer
in interfaceVillagerTrades.ItemListing
-