Class VillagerTrades.ItemsAndEmeraldsToItems

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

static class VillagerTrades.ItemsAndEmeraldsToItems extends Object implements VillagerTrades.ItemListing
  • Field Details

    • fromItem

      private final ItemCost fromItem
    • emeraldCost

      private final int emeraldCost
    • toItem

      private final ItemStack toItem
    • maxUses

      private final int maxUses
    • villagerXp

      private final int villagerXp
    • priceMultiplier

      private final float priceMultiplier
    • enchantmentProvider

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

    • ItemsAndEmeraldsToItems

      public ItemsAndEmeraldsToItems(ItemLike p_35717_, int p_35718_, int p_35719_, Item p_35720_, int p_35721_, int p_35722_, int p_35723_, float p_301975_)
    • ItemsAndEmeraldsToItems

      private ItemsAndEmeraldsToItems(ItemLike p_35725_, int p_35726_, int p_35728_, ItemStack p_302012_, int p_35729_, int p_35730_, int p_302002_, float p_302039_)
    • ItemsAndEmeraldsToItems

      ItemsAndEmeraldsToItems(ItemLike p_345985_, int p_320882_, int p_320089_, ItemLike p_345218_, int p_320458_, int p_345627_, int p_345902_, float p_319962_, ResourceKey<EnchantmentProvider> p_345388_)
    • ItemsAndEmeraldsToItems

      public ItemsAndEmeraldsToItems(ItemCost p_345481_, int p_345494_, ItemStack p_345223_, int p_345894_, int p_344894_, float p_345457_, Optional<ResourceKey<EnchantmentProvider>> p_346401_)
  • Method Details