类 VillagerTrades.ItemsForEmeralds
java.lang.Object
net.minecraft.world.entity.npc.VillagerTrades.ItemsForEmeralds
- 所有已实现的接口:
VillagerTrades.ItemListing
- 封闭类:
- VillagerTrades
-
字段概要
字段修饰符和类型字段说明private final int
private final ItemStack
private final int
private final int
private final float
private final int
-
构造器概要
构造器构造器说明ItemsForEmeralds
(Item pItem, int pEmeraldCost, int pNumberOfItems, int pVillagerXp) ItemsForEmeralds
(Item pItem, int pEmeraldCost, int pNumberOfItems, int pMaxUses, int pVillagerXp) ItemsForEmeralds
(ItemStack pItemStack, int pEmeraldCost, int pNumberOfItems, int pMaxUses, int pVillagerXp) ItemsForEmeralds
(ItemStack pItemStack, int pEmeraldCost, int pNumberOfItems, int pMaxUses, int pVillagerXp, float pPriceMultiplier) ItemsForEmeralds
(Block pBlock, int pEmeraldCost, int pNumberOfItems, int pMaxUses, int pVillagerXp) -
方法概要
-
字段详细资料
-
itemStack
-
emeraldCost
private final int emeraldCost -
numberOfItems
private final int numberOfItems -
maxUses
private final int maxUses -
villagerXp
private final int villagerXp -
priceMultiplier
private final float priceMultiplier
-
-
构造器详细资料
-
ItemsForEmeralds
public ItemsForEmeralds(Block pBlock, int pEmeraldCost, int pNumberOfItems, int pMaxUses, int pVillagerXp) -
ItemsForEmeralds
-
ItemsForEmeralds
public ItemsForEmeralds(Item pItem, int pEmeraldCost, int pNumberOfItems, int pMaxUses, int pVillagerXp) -
ItemsForEmeralds
public ItemsForEmeralds(ItemStack pItemStack, int pEmeraldCost, int pNumberOfItems, int pMaxUses, int pVillagerXp) -
ItemsForEmeralds
public ItemsForEmeralds(ItemStack pItemStack, int pEmeraldCost, int pNumberOfItems, int pMaxUses, int pVillagerXp, float pPriceMultiplier)
-
-
方法详细资料
-
getOffer
- 指定者:
getOffer
在接口中VillagerTrades.ItemListing
-