类 VillagerTrades.TreasureMapForEmeralds
java.lang.Object
net.minecraft.world.entity.npc.VillagerTrades.TreasureMapForEmeralds
- 所有已实现的接口:
VillagerTrades.ItemListing
- 封闭类:
- VillagerTrades
static class VillagerTrades.TreasureMapForEmeralds
extends Object
implements VillagerTrades.ItemListing
-
字段概要
字段修饰符和类型字段说明private final MapDecoration.Type
private final String
private final int
private final int
private final int
-
构造器概要
构造器构造器说明TreasureMapForEmeralds
(int pEmeraldCost, TagKey<Structure> pDestination, String pDisplayName, MapDecoration.Type pDestinationType, int pMaxUses, int pVillagerXp) -
方法概要
-
字段详细资料
-
emeraldCost
private final int emeraldCost -
destination
-
displayName
-
destinationType
-
maxUses
private final int maxUses -
villagerXp
private final int villagerXp
-
-
构造器详细资料
-
TreasureMapForEmeralds
public TreasureMapForEmeralds(int pEmeraldCost, TagKey<Structure> pDestination, String pDisplayName, MapDecoration.Type pDestinationType, int pMaxUses, int pVillagerXp)
-
-
方法详细资料
-
getOffer
- 指定者:
getOffer
在接口中VillagerTrades.ItemListing
-