类 VillagerTrades.EmeraldsForVillagerTypeItem
java.lang.Object
net.minecraft.world.entity.npc.VillagerTrades.EmeraldsForVillagerTypeItem
- 所有已实现的接口:
VillagerTrades.ItemListing
- 封闭类:
VillagerTrades
public static class VillagerTrades.EmeraldsForVillagerTypeItem
extends Object
implements VillagerTrades.ItemListing
-
字段概要
字段修饰符和类型字段说明private final int
private final int
private final Map
<ResourceKey<VillagerType>, Item> private final int
-
构造器概要
构造器构造器说明EmeraldsForVillagerTypeItem
(int p_35669_, int p_35670_, int p_35671_, Map<ResourceKey<VillagerType>, Item> p_35672_) -
方法概要
-
字段详细资料
-
trades
-
cost
private final int cost -
maxUses
private final int maxUses -
villagerXp
private final int villagerXp
-
-
构造器详细资料
-
EmeraldsForVillagerTypeItem
public EmeraldsForVillagerTypeItem(int p_35669_, int p_35670_, int p_35671_, Map<ResourceKey<VillagerType>, Item> p_35672_)
-
-
方法详细资料
-
getOffer
- 指定者:
getOffer
在接口中VillagerTrades.ItemListing
-