Class VillagerTrades.ItemsForEmeralds

java.lang.Object
net.minecraft.world.entity.npc.VillagerTrades.ItemsForEmeralds
All Implemented Interfaces:
VillagerTrades.ItemListing
Enclosing class:
VillagerTrades

public static class VillagerTrades.ItemsForEmeralds extends Object implements VillagerTrades.ItemListing
  • Field Details

    • itemStack

      private final ItemStack itemStack
    • emeraldCost

      private final int emeraldCost
    • maxUses

      private final int maxUses
    • villagerXp

      private final int villagerXp
    • priceMultiplier

      private final float priceMultiplier
    • enchantmentProvider

      private final Optional<ResourceKey<EnchantmentProvider>> enchantmentProvider
  • Constructor Details

    • ItemsForEmeralds

      public ItemsForEmeralds(Block pBlock, int pEmeraldCost, int pNumberOfItems, int pMaxUses, int pVillagerXp)
    • ItemsForEmeralds

      public ItemsForEmeralds(Item pItem, int pEmeraldCost, int pNumberOfItems, int pVillagerXp)
    • 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(Item pItem, int pEmeraldCost, int pNumberOfItems, int pMaxUses, int pVillagerXp, float pPriceMultiplier)
    • ItemsForEmeralds

      public ItemsForEmeralds(Item pItem, int pEmeraldCost, int pNumberOfItems, int pMaxUses, int pVillagerXp, float pPriceMultiplier, ResourceKey<EnchantmentProvider> pEnchantmentProvider)
    • ItemsForEmeralds

      public ItemsForEmeralds(ItemStack pItemStack, int pEmeraldCost, int pNumberOfItems, int pMaxUses, int pVillagerXp, float pPriceMultiplier)
    • ItemsForEmeralds

      public ItemsForEmeralds(ItemStack pItemStack, int pEmeraldCost, int pNumberOfItems, int pMaxUses, int pVillagerXp, float pPriceMultiplier, Optional<ResourceKey<EnchantmentProvider>> pEnchantmentProvider)
  • Method Details