Uses of Class
net.minecraft.item.Item
-
Uses of Item in net.minecraft.block
Fields in net.minecraft.block declared as Item Modifier and Type Field Description private @Nullable ItemBlock. cachedItemFields in net.minecraft.block with type parameters of type Item Modifier and Type Field Description private Map<Item,CauldronBehavior>AbstractCauldronBlock. behaviorMapprivate static Map<Item,DispenserBehavior>DispenserBlock. BEHAVIORSprivate Supplier<Item>AttachedStemBlock. pickBlockItemprivate Supplier<Item>StemBlock. pickBlockItemMethods in net.minecraft.block that return Item Modifier and Type Method Description abstract ItemAbstractBlock. asItem()ItemBlock. asItem()Gets this object in its item form.Methods in net.minecraft.block with parameters of type Item Modifier and Type Method Description static BlockBlock. getBlockFromItem(@Nullable Item item)static @Nullable DyeColorShulkerBoxBlock. getColor(Item item)booleanEntityShapeContext. isHolding(Item item)booleanShapeContext. isHolding(Item item)booleanEntityShapeContext. isWearingOnFeet(Item item)booleanShapeContext. isWearingOnFeet(Item item)Constructor parameters in net.minecraft.block with type arguments of type Item Constructor Description AbstractCauldronBlock(AbstractBlock.Settings settings, Map<Item,CauldronBehavior> behaviorMap)AttachedStemBlock(GourdBlock gourdBlock, Supplier<Item> pickBlockItem, AbstractBlock.Settings settings)LeveledCauldronBlock(AbstractBlock.Settings settings, Predicate<Biome.Precipitation> precipitationPredicate, Map<Item,CauldronBehavior> behaviorMap)StemBlock(GourdBlock gourdBlock, Supplier<Item> pickBlockItem, AbstractBlock.Settings settings) -
Uses of Item in net.minecraft.block.cauldron
Fields in net.minecraft.block.cauldron with type parameters of type Item Modifier and Type Field Description static Map<Item,CauldronBehavior>CauldronBehavior. EMPTY_CAULDRON_BEHAVIORstatic Map<Item,CauldronBehavior>CauldronBehavior. LAVA_CAULDRON_BEHAVIORstatic Map<Item,CauldronBehavior>CauldronBehavior. POWDER_SNOW_CAULDRON_BEHAVIORstatic Map<Item,CauldronBehavior>CauldronBehavior. WATER_CAULDRON_BEHAVIORMethods in net.minecraft.block.cauldron that return types with arguments of type Item Modifier and Type Method Description static Object2ObjectOpenHashMap<Item,CauldronBehavior>CauldronBehavior. createMap()Method parameters in net.minecraft.block.cauldron with type arguments of type Item Modifier and Type Method Description static voidCauldronBehavior. registerBucketBehavior(Map<Item,CauldronBehavior> behavior) -
Uses of Item in net.minecraft.block.entity
Fields in net.minecraft.block.entity declared as Item Modifier and Type Field Description private ItemBrewingStandBlockEntity. itemBrewingMethods in net.minecraft.block.entity that return types with arguments of type Item Modifier and Type Method Description static Map<Item,Integer>AbstractFurnaceBlockEntity. createFuelTimeMap()Methods in net.minecraft.block.entity with parameters of type Item Modifier and Type Method Description private static booleanAbstractFurnaceBlockEntity. isNonFlammableWood(Item item)Returns whether the provideditemis in thenon_flammable_woodtag.Method parameters in net.minecraft.block.entity with type arguments of type Item Modifier and Type Method Description private static voidAbstractFurnaceBlockEntity. addFuel(Map<Item,Integer> map, ItemConvertible item, int fuelTime)private static voidAbstractFurnaceBlockEntity. addFuel(Map<Item,Integer> fuelTimes, Tag<Item> tag, int fuelTime)private static voidAbstractFurnaceBlockEntity. addFuel(Map<Item,Integer> fuelTimes, Tag<Item> tag, int fuelTime) -
Uses of Item in net.minecraft.client.gui.screen
Fields in net.minecraft.client.gui.screen declared as Item Modifier and Type Field Description ItemPresetsScreen.SuperflatPreset. iconFields in net.minecraft.client.gui.screen with type parameters of type Item Modifier and Type Field Description protected Comparator<Item>StatsScreen.ItemStatsListWidget. comparatorprotected List<Item>StatsScreen.ItemStatsListWidget. itemsprotected List<StatType<Item>>StatsScreen.ItemStatsListWidget. itemStatTypesMethods in net.minecraft.client.gui.screen with parameters of type Item Modifier and Type Method Description intStatsScreen.ItemStatsListWidget.ItemComparator. compare(Item item, Item item2)protected TextStatsScreen.ItemStatsListWidget. getText(Item item)private voidPresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry. renderIcon(MatrixStack matrices, int x, int y, Item iconItem)private voidStatsScreen. renderStatItem(MatrixStack matrices, int x, int y, Item item)Constructors in net.minecraft.client.gui.screen with parameters of type Item Constructor Description SuperflatPreset(Item icon, Text name, Function<Registry<Biome>,FlatChunkGeneratorConfig> generatorConfigProvider) -
Uses of Item in net.minecraft.client.gui.screen.ingame
Fields in net.minecraft.client.gui.screen.ingame with type parameters of type Item Modifier and Type Field Description private Map<Identifier,Tag<Item>>CreativeInventoryScreen. searchResultTags -
Uses of Item in net.minecraft.client.gui.screen.recipebook
Methods in net.minecraft.client.gui.screen.recipebook that return types with arguments of type Item Modifier and Type Method Description protected abstract Set<Item>AbstractFurnaceRecipeBookScreen. getAllowedFuels()protected Set<Item>BlastFurnaceRecipeBookScreen. getAllowedFuels()protected Set<Item>FurnaceRecipeBookScreen. getAllowedFuels()protected Set<Item>SmokerRecipeBookScreen. getAllowedFuels() -
Uses of Item in net.minecraft.client.item
Fields in net.minecraft.client.item with type parameters of type Item Modifier and Type Field Description private static Map<Item,Map<Identifier,ModelPredicateProvider>>ModelPredicateProviderRegistry. ITEM_SPECIFICMethods in net.minecraft.client.item with parameters of type Item Modifier and Type Method Description static @Nullable ModelPredicateProviderModelPredicateProviderRegistry. get(Item item, Identifier id)private static voidModelPredicateProviderRegistry. register(Item item, Identifier id, ModelPredicateProvider provider) -
Uses of Item in net.minecraft.client.render.item
Fields in net.minecraft.client.render.item with type parameters of type Item Modifier and Type Field Description private static Set<Item>ItemRenderer. WITHOUT_MODELSMethods in net.minecraft.client.render.item with parameters of type Item Modifier and Type Method Description @Nullable BakedModelItemModels. getModel(Item item)private static intItemModels. getModelId(Item item)voidItemModels. putModel(Item item, ModelIdentifier modelId) -
Uses of Item in net.minecraft.client.tutorial
Method parameters in net.minecraft.client.tutorial with type arguments of type Item Modifier and Type Method Description static booleanCraftPlanksTutorialStepHandler. hasCrafted(ClientPlayerEntity player, Tag<Item> tag) -
Uses of Item in net.minecraft.command.argument
Fields in net.minecraft.command.argument declared as Item Modifier and Type Field Description private ItemItemPredicateArgumentType.ItemPredicate. itemprivate ItemItemStackArgument. itemprivate ItemItemStringReader. itemFields in net.minecraft.command.argument with type parameters of type Item Modifier and Type Field Description private static BiFunction<com.mojang.brigadier.suggestion.SuggestionsBuilder,TagGroup<Item>,CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>>ItemStringReader. NBT_SUGGESTION_PROVIDERprivate BiFunction<com.mojang.brigadier.suggestion.SuggestionsBuilder,TagGroup<Item>,CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>>ItemStringReader. suggestionsprivate Tag<Item>ItemPredicateArgumentType.TagPredicate. tagMethods in net.minecraft.command.argument that return Item Modifier and Type Method Description ItemItemStackArgument. getItem()ItemItemStringReader. getItem()Method parameters in net.minecraft.command.argument with type arguments of type Item Modifier and Type Method Description CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>ItemStringReader. getSuggestions(com.mojang.brigadier.suggestion.SuggestionsBuilder builder, TagGroup<Item> tagGroup)private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>ItemStringReader. suggestAny(com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder, TagGroup<Item> tagGroup)private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>ItemStringReader. suggestItem(com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder, TagGroup<Item> tagGroup)private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>ItemStringReader. suggestTag(com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder, TagGroup<Item> tagGroup)Constructors in net.minecraft.command.argument with parameters of type Item Constructor Description ItemPredicate(Item item, @Nullable NbtCompound nbt)ItemStackArgument(Item item, @Nullable NbtCompound nbt)Constructor parameters in net.minecraft.command.argument with type arguments of type Item Constructor Description TagPredicate(Tag<Item> tag, @Nullable NbtCompound nbt) -
Uses of Item in net.minecraft.data.client
Methods in net.minecraft.data.client with parameters of type Item Modifier and Type Method Description private voidItemModelGenerator. register(Item item, String suffix, Model model)private voidItemModelGenerator. register(Item item, Model model)private voidItemModelGenerator. register(Item item, Item texture, Model model) -
Uses of Item in net.minecraft.data.client.model
Fields in net.minecraft.data.client.model with type parameters of type Item Modifier and Type Field Description private Consumer<Item>BlockStateModelGenerator. simpleItemModelExemptionCollectorMethods in net.minecraft.data.client.model with parameters of type Item Modifier and Type Method Description static IdentifierTexture. getId(Item item)static IdentifierModelIds. getItemModelId(Item item)static IdentifierModelIds. getItemSubModelId(Item item, String suffix)static IdentifierTexture. getSubId(Item item, String suffix)static TextureTexture. layer0(Item item)static TextureTexture. particle(Item item)private voidBlockStateModelGenerator. registerBuiltinWithParticle(Block block, Item particleSource)private voidBlockStateModelGenerator. registerItemModel(Item item)private voidBlockStateModelGenerator. registerParentedItemModel(Item item, Identifier parentModelId) -
Uses of Item in net.minecraft.data.server
Fields in net.minecraft.data.server declared as Item Modifier and Type Field Description private static Item[]HusbandryTabAdvancementGenerator. FISH_BUCKET_ITEMSprivate static Item[]HusbandryTabAdvancementGenerator. FISH_ITEMSprivate static Item[]HusbandryTabAdvancementGenerator. FOOD_ITEMSFields in net.minecraft.data.server with type parameters of type Item Modifier and Type Field Description private static Set<Item>BlockLootTableGenerator. EXPLOSION_IMMUNEMethods in net.minecraft.data.server with parameters of type Item Modifier and Type Method Description private static LootTable.BuilderBlockLootTableGenerator. attachedCropStemDrops(Block stem, Item drop)private static LootTable.BuilderBlockLootTableGenerator. cropDrops(Block crop, Item product, Item seeds, LootCondition.Builder condition)private static LootTable.BuilderBlockLootTableGenerator. cropStemDrops(Block stem, Item drop)private static voidRecipesProvider. offerNetheriteUpgradeRecipe(Consumer<RecipeJsonProvider> exporter, Item outputItem, Item inputItem)private static LootTable.BuilderBlockLootTableGenerator. oreDrops(Block dropWithSilkTouch, Item drop)Method parameters in net.minecraft.data.server with type arguments of type Item Modifier and Type Method Description private static InventoryChangedCriterion.ConditionsRecipesProvider. conditionsFromTag(Tag<Item> tag)private static voidRecipesProvider. offerPlanksRecipe(Consumer<RecipeJsonProvider> exporter, ItemConvertible outputItem, Tag<Item> inputItem)private static voidRecipesProvider. offerPlanksRecipe2(Consumer<RecipeJsonProvider> exporter, ItemConvertible outputItem, Tag<Item> inputItem) -
Uses of Item in net.minecraft.data.server.recipe
Fields in net.minecraft.data.server.recipe declared as Item Modifier and Type Field Description private ItemShapedRecipeJsonFactory. outputprivate ItemShapedRecipeJsonFactory.ShapedRecipeJsonProvider. outputprivate ItemShapelessRecipeJsonFactory. outputprivate ItemShapelessRecipeJsonFactory.ShapelessRecipeJsonProvider. outputprivate ItemSingleItemRecipeJsonFactory. outputprivate ItemSingleItemRecipeJsonFactory.SingleItemRecipeJsonProvider. outputprivate ItemCookingRecipeJsonFactory.CookingRecipeJsonProvider. resultprivate ItemCookingRecipeJsonFactory. resultprivate ItemSmithingRecipeJsonFactory. resultprivate ItemSmithingRecipeJsonFactory.SmithingRecipeJsonProvider. resultMethods in net.minecraft.data.server.recipe with parameters of type Item Modifier and Type Method Description static SmithingRecipeJsonFactorySmithingRecipeJsonFactory. create(Ingredient base, Ingredient addition, Item result)Method parameters in net.minecraft.data.server.recipe with type arguments of type Item Modifier and Type Method Description ShapedRecipeJsonFactoryShapedRecipeJsonFactory. input(Character c, Tag<Item> tag)ShapelessRecipeJsonFactoryShapelessRecipeJsonFactory. input(Tag<Item> tag) -
Uses of Item in net.minecraft.enchantment
Methods in net.minecraft.enchantment with parameters of type Item Modifier and Type Method Description abstract booleanEnchantmentTarget. isAcceptableItem(Item item) -
Uses of Item in net.minecraft.entity
Methods in net.minecraft.entity with parameters of type Item Modifier and Type Method Description booleanLivingEntity. isHolding(Item item)Checks if this entity is holding a certain item. -
Uses of Item in net.minecraft.entity.ai.brain.task
Fields in net.minecraft.entity.ai.brain.task with type parameters of type Item Modifier and Type Field Description private static List<Item>FarmerWorkTask. COMPOSTABLESprivate Set<Item>GatherItemsVillagerTask. itemsMethods in net.minecraft.entity.ai.brain.task that return types with arguments of type Item Modifier and Type Method Description private static Set<Item>GatherItemsVillagerTask. getGatherableItems(VillagerEntity villagerEntity, VillagerEntity villagerEntity2)Method parameters in net.minecraft.entity.ai.brain.task with type arguments of type Item Modifier and Type Method Description private static voidGatherItemsVillagerTask. giveHalfOfStack(VillagerEntity villager, Set<Item> validItems, LivingEntity target) -
Uses of Item in net.minecraft.entity.mob
Fields in net.minecraft.entity.mob declared as Item Modifier and Type Field Description static ItemPiglinBrain. BARTERING_ITEMMethods in net.minecraft.entity.mob that return Item Modifier and Type Method Description static @Nullable ItemMobEntity. getEquipmentForSlot(EquipmentSlot equipmentSlot, int equipmentLevel) -
Uses of Item in net.minecraft.entity.passive
Fields in net.minecraft.entity.passive declared as Item Modifier and Type Field Description private static ItemParrotEntity. COOKIEFields in net.minecraft.entity.passive with type parameters of type Item Modifier and Type Field Description private static Set<Item>VillagerEntity. GATHERABLE_ITEMSstatic Map<Item,Integer>VillagerEntity. ITEM_FOOD_VALUESprivate static Set<Item>ParrotEntity. TAMING_INGREDIENTS -
Uses of Item in net.minecraft.entity.player
Fields in net.minecraft.entity.player with type parameters of type Item Modifier and Type Field Description private Map<Item,ItemCooldownManager.Entry>ItemCooldownManager. entriesMethods in net.minecraft.entity.player with parameters of type Item Modifier and Type Method Description voidHungerManager. eat(Item item, ItemStack stack)floatItemCooldownManager. getCooldownProgress(Item item, float partialTicks)booleanItemCooldownManager. isCoolingDown(Item item)protected voidItemCooldownManager. onCooldownUpdate(Item item)protected voidItemCooldownManager. onCooldownUpdate(Item item, int duration)voidItemCooldownManager. remove(Item item)voidItemCooldownManager. set(Item item, int duration)Method parameters in net.minecraft.entity.player with type arguments of type Item Modifier and Type Method Description booleanPlayerInventory. contains(Tag<Item> tag) -
Uses of Item in net.minecraft.entity.projectile
Methods in net.minecraft.entity.projectile with parameters of type Item Modifier and Type Method Description static HandProjectileUtil. getHandPossiblyHolding(LivingEntity entity, Item item) -
Uses of Item in net.minecraft.entity.projectile.thrown
Methods in net.minecraft.entity.projectile.thrown that return Item Modifier and Type Method Description protected ItemEggEntity. getDefaultItem()protected ItemEnderPearlEntity. getDefaultItem()protected ItemExperienceBottleEntity. getDefaultItem()protected ItemPotionEntity. getDefaultItem()protected ItemSnowballEntity. getDefaultItem()protected abstract ItemThrownItemEntity. getDefaultItem() -
Uses of Item in net.minecraft.entity.vehicle
Methods in net.minecraft.entity.vehicle that return Item Modifier and Type Method Description ItemBoatEntity. asItem() -
Uses of Item in net.minecraft.fluid
Methods in net.minecraft.fluid that return Item Modifier and Type Method Description ItemEmptyFluid. getBucketItem()abstract ItemFluid. getBucketItem()ItemLavaFluid. getBucketItem()ItemWaterFluid. getBucketItem() -
Uses of Item in net.minecraft.inventory
Methods in net.minecraft.inventory with parameters of type Item Modifier and Type Method Description default intInventory. count(Item item)Returns the number of times the specified item occurs in this inventory across all stored stacks.ItemStackSimpleInventory. removeItem(Item item, int count)Searches this inventory for the specified item and removes the given amount from this inventory.Method parameters in net.minecraft.inventory with type arguments of type Item Modifier and Type Method Description default booleanInventory. containsAny(Set<Item> items)Determines whether this inventory contains any of the given candidate items. -
Uses of Item in net.minecraft.item
Fields in net.minecraft.item with type parameters of type Item Modifier and Type Field Description static Map<Block,Item>Item. BLOCK_ITEMSMethods in net.minecraft.item that return Item Modifier and Type Method Description ItemItem. asItem()Gets this object in its item form.ItemItemConvertible. asItem()Gets this object in its item form.static ItemItem. byRawId(int id)static ItemItem. fromBlock(Block block)Deprecated.ItemItemStack. getItem()@Nullable ItemItem. getRecipeRemainder()Gets the remainder item that should be left behind when this item is used as a crafting ingredient.private static ItemItems. register(String id, Item item)private static ItemItems. register(Block block)protected static ItemItems. register(Block block, Item item)private static ItemItems. register(Block block, ItemGroup group)private static ItemItems. register(Block block, ItemGroup itemGroup, Block[] block2)private static ItemItems. register(BlockItem item)private static ItemItems. register(Identifier id, Item item)Methods in net.minecraft.item with parameters of type Item Modifier and Type Method Description voidBlockItem. appendBlocks(Map<Block,Item> map, Item item)voidWallStandingBlockItem. appendBlocks(Map<Block,Item> map, Item item)static intItem. getRawId(Item item)static booleanCrossbowItem. hasProjectile(ItemStack crossbow, Item projectile)booleanItemStack. isOf(Item item)Item.SettingsItem.Settings. recipeRemainder(Item recipeRemainder)private static ItemItems. register(String id, Item item)protected static ItemItems. register(Block block, Item item)private static ItemItems. register(Identifier id, Item item)Method parameters in net.minecraft.item with type arguments of type Item Modifier and Type Method Description voidBlockItem. appendBlocks(Map<Block,Item> map, Item item)voidWallStandingBlockItem. appendBlocks(Map<Block,Item> map, Item item)booleanItemStack. isIn(Tag<Item> tag) -
Uses of Item in net.minecraft.loot.entry
Fields in net.minecraft.loot.entry declared as Item Modifier and Type Field Description private ItemItemEntry. itemFields in net.minecraft.loot.entry with type parameters of type Item Modifier and Type Field Description private Tag<Item>TagEntry. nameMethod parameters in net.minecraft.loot.entry with type arguments of type Item Modifier and Type Method Description static LeafEntry.Builder<?>TagEntry. builder(Tag<Item> name)static LeafEntry.Builder<?>TagEntry. method_35517(Tag<Item> tag)Constructors in net.minecraft.loot.entry with parameters of type Item Constructor Description ItemEntry(Item item, int weight, int quality, LootCondition[] conditions, LootFunction[] functions)Constructor parameters in net.minecraft.loot.entry with type arguments of type Item Constructor Description TagEntry(Tag<Item> name, boolean expand, int weight, int quality, LootCondition[] conditions, LootFunction[] functions) -
Uses of Item in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as Item Modifier and Type Field Description private ItemCooldownUpdateS2CPacket. itemMethods in net.minecraft.network.packet.s2c.play that return Item Modifier and Type Method Description ItemCooldownUpdateS2CPacket. getItem()Constructors in net.minecraft.network.packet.s2c.play with parameters of type Item Constructor Description CooldownUpdateS2CPacket(Item item, int cooldown) -
Uses of Item in net.minecraft.predicate.item
Fields in net.minecraft.predicate.item declared as Item Modifier and Type Field Description private @Nullable ItemItemPredicate.Builder. itemprivate @Nullable ItemItemPredicate. itemFields in net.minecraft.predicate.item with type parameters of type Item Modifier and Type Field Description private @Nullable Tag<Item>ItemPredicate.Builder. tagprivate @Nullable Tag<Item>ItemPredicate. tagMethod parameters in net.minecraft.predicate.item with type arguments of type Item Modifier and Type Method Description ItemPredicate.BuilderItemPredicate.Builder. tag(Tag<Item> tag)Constructors in net.minecraft.predicate.item with parameters of type Item Constructor Description ItemPredicate(@Nullable Tag<Item> tag, @Nullable Item item, NumberRange.IntRange count, NumberRange.IntRange durability, EnchantmentPredicate[] enchantments, EnchantmentPredicate[] storedEnchantments, @Nullable Potion potion, NbtPredicate nbt)Constructor parameters in net.minecraft.predicate.item with type arguments of type Item Constructor Description ItemPredicate(@Nullable Tag<Item> tag, @Nullable Item item, NumberRange.IntRange count, NumberRange.IntRange durability, EnchantmentPredicate[] enchantments, EnchantmentPredicate[] storedEnchantments, @Nullable Potion potion, NbtPredicate nbt) -
Uses of Item in net.minecraft.recipe
Fields in net.minecraft.recipe with type parameters of type Item Modifier and Type Field Description private static List<BrewingRecipeRegistry.Recipe<Item>>BrewingRecipeRegistry. ITEM_RECIPESprivate Tag<Item>Ingredient.TagEntry. tagprivate static Map<Item,FireworkItem.Type>FireworkStarRecipe. TYPE_MODIFIER_MAPMethods in net.minecraft.recipe that return Item Modifier and Type Method Description static ItemShapedRecipe. getItemStack(JsonObject json)Methods in net.minecraft.recipe with parameters of type Item Modifier and Type Method Description private static voidBrewingRecipeRegistry. registerItemRecipe(Item input, Item ingredient, Item output)private static voidBrewingRecipeRegistry. registerPotionRecipe(Potion input, Item item, Potion output)private static voidBrewingRecipeRegistry. registerPotionType(Item item)Method parameters in net.minecraft.recipe with type arguments of type Item Modifier and Type Method Description static IngredientIngredient. fromTag(Tag<Item> tag)Constructor parameters in net.minecraft.recipe with type arguments of type Item Constructor Description TagEntry(Tag<Item> tag) -
Uses of Item in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type Item Modifier and Type Method Description protected voidServerItemCooldownManager. onCooldownUpdate(Item item)protected voidServerItemCooldownManager. onCooldownUpdate(Item item, int duration) -
Uses of Item in net.minecraft.stat
-
Uses of Item in net.minecraft.tag
Methods in net.minecraft.tag that return types with arguments of type Item Modifier and Type Method Description static TagGroup<Item>ItemTags. getTagGroup()private static Tag.Identified<Item>ItemTags. register(String id) -
Uses of Item in net.minecraft.test
Methods in net.minecraft.test with parameters of type Item Modifier and Type Method Description voidStartupParameter. method_35950(long long2, BlockPos blockPos, Item item)ItemEntityStartupParameter. method_35968(Item item, float float2, float float3, float float4)voidStartupParameter. method_35969(Item item, BlockPos blockPos, double double2)voidStartupParameter. method_35970(Item item, BlockPos blockPos, double double2, int int2)voidStartupParameter. method_35983(BlockPos blockPos, Item item) -
Uses of Item in net.minecraft.text
Fields in net.minecraft.text declared as Item Modifier and Type Field Description private ItemHoverEvent.ItemStackContent. itemConstructors in net.minecraft.text with parameters of type Item Constructor Description ItemStackContent(Item item, int count, @Nullable NbtCompound nbt) -
Uses of Item in net.minecraft.util
Methods in net.minecraft.util that return Item Modifier and Type Method Description static ItemJsonHelper. asItem(JsonElement element, String name)static ItemJsonHelper. getItem(JsonObject object, String key)static ItemJsonHelper. getItem(JsonObject object, String key, Item defaultItem)Methods in net.minecraft.util with parameters of type Item Modifier and Type Method Description static ItemJsonHelper. getItem(JsonObject object, String key, Item defaultItem) -
Uses of Item in net.minecraft.util.registry
Fields in net.minecraft.util.registry with type parameters of type Item Modifier and Type Field Description static DefaultedRegistry<Item>Registry. ITEMstatic RegistryKey<Registry<Item>>Registry. ITEM_KEY -
Uses of Item in net.minecraft.village
Fields in net.minecraft.village declared as Item Modifier and Type Field Description private ItemTradeOffers.BuyForOneEmeraldFactory. buyprivate ItemTradeOffers.SellPotionHoldingItemFactory. secondBuyprivate ItemTradeOffers.SellDyedArmorFactory. sellFields in net.minecraft.village with type parameters of type Item Modifier and Type Field Description private ImmutableSet<Item>VillagerProfession. gatherableItemsprivate Map<VillagerType,Item>TradeOffers.TypeAwareBuyForOneEmeraldFactory. mapMethods in net.minecraft.village that return types with arguments of type Item Modifier and Type Method Description ImmutableSet<Item>VillagerProfession. getGatherableItems()Method parameters in net.minecraft.village with type arguments of type Item Modifier and Type Method Description (package private) static VillagerProfessionVillagerProfession. register(String id, PointOfInterestType workStation, ImmutableSet<Item> gatherableItems, ImmutableSet<Block> secondaryJobSites, @Nullable SoundEvent workSound)Constructors in net.minecraft.village with parameters of type Item Constructor Description ProcessItemFactory(ItemConvertible item, int secondCount, int price, Item sellItem, int sellCount, int maxUses, int experience)ProcessItemFactory(ItemConvertible item, int secondCount, Item sellItem, int sellCount, int maxUses, int experience)SellDyedArmorFactory(Item item, int price)SellDyedArmorFactory(Item item, int price, int maxUses, int experience)SellEnchantedToolFactory(Item item, int basePrice, int maxUses, int experience)SellEnchantedToolFactory(Item item, int basePrice, int maxUses, int experience, float multiplier)SellItemFactory(Item item, int price, int count, int experience)SellItemFactory(Item item, int price, int count, int maxUses, int experience)SellPotionHoldingItemFactory(Item arrow, int secondCount, Item tippedArrow, int sellCount, int price, int maxUses, int experience)Constructor parameters in net.minecraft.village with type arguments of type Item Constructor Description TypeAwareBuyForOneEmeraldFactory(int count, int maxUses, int experience, Map<VillagerType,Item> map)VillagerProfession(String id, PointOfInterestType workStation, ImmutableSet<Item> gatherableItems, ImmutableSet<Block> secondaryJobSites, @Nullable SoundEvent workSound)
Block.asItem()