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
static class VillagerTrades.TreasureMapForEmeralds
extends Object
implements VillagerTrades.ItemListing
-
Field Summary
Modifier and TypeFieldDescriptionprivate final MapDecoration.Type
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_, MapDecoration.Type p_207770_, 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_, MapDecoration.Type p_207770_, int p_207771_, int p_207772_)
-
-
Method Details
-
getOffer
- Specified by:
getOffer
in interfaceVillagerTrades.ItemListing
-