类 VillagerTrades.ItemsAndEmeraldsToItems

java.lang.Object
net.minecraft.world.entity.npc.VillagerTrades.ItemsAndEmeraldsToItems
所有已实现的接口:
VillagerTrades.ItemListing
封闭类:
VillagerTrades

static class VillagerTrades.ItemsAndEmeraldsToItems extends Object implements VillagerTrades.ItemListing
  • 字段详细资料

    • fromItem

      private final ItemStack fromItem
    • fromCount

      private final int fromCount
    • emeraldCost

      private final int emeraldCost
    • toItem

      private final ItemStack toItem
    • toCount

      private final int toCount
    • maxUses

      private final int maxUses
    • villagerXp

      private final int villagerXp
    • priceMultiplier

      private final float priceMultiplier
  • 构造器详细资料

    • ItemsAndEmeraldsToItems

      public ItemsAndEmeraldsToItems(ItemLike pFromItem, int pFromCount, Item pToItem, int pToCount, int pMaxUses, int pVillagerXp)
    • ItemsAndEmeraldsToItems

      public ItemsAndEmeraldsToItems(ItemLike pFromItem, int pFromCount, int pEmeraldCost, Item pToItem, int pToCount, int pMaxUses, int pVillagerXp)
  • 方法详细资料