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
Modifier and TypeFieldDescriptionprivate final Holder
<MapDecorationType> private final String
private final int
private final int
private final int
-
Constructor Summary
ConstructorDescriptionTreasureMapForEmeralds
(int p_207767_, TagKey<Structure> p_207768_, String p_207769_, Holder<MapDecorationType> p_332788_, int p_207771_, int p_207772_) -
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 p_207767_, TagKey<Structure> p_207768_, String p_207769_, Holder<MapDecorationType> p_332788_, int p_207771_, int p_207772_)
-
-
Method Details
-
getOffer
- Specified by:
getOffer
in interfaceVillagerTrades.ItemListing
-