Uses of Class
net.minecraft.item.Item
-
-
Uses of Item in net.minecraft.advancements.criterion
Fields in net.minecraft.advancements.criterion declared as Item Modifier and Type Field Description private ItemItemPredicate.Builder. itemprivate ItemItemPredicate. itemFields in net.minecraft.advancements.criterion with type parameters of type Item Modifier and Type Field Description private ITag<Item>ItemPredicate.Builder. tagprivate ITag<Item>ItemPredicate. tagMethod parameters in net.minecraft.advancements.criterion with type arguments of type Item Modifier and Type Method Description ItemPredicate.BuilderItemPredicate.Builder. of(ITag<Item> p_200307_1_)Constructors in net.minecraft.advancements.criterion with parameters of type Item Constructor Description ItemPredicate(ITag<Item> p_i225740_1_, Item p_i225740_2_, MinMaxBounds.IntBound p_i225740_3_, MinMaxBounds.IntBound p_i225740_4_, EnchantmentPredicate[] p_i225740_5_, EnchantmentPredicate[] p_i225740_6_, Potion p_i225740_7_, NBTPredicate p_i225740_8_)Constructor parameters in net.minecraft.advancements.criterion with type arguments of type Item Constructor Description ItemPredicate(ITag<Item> p_i225740_1_, Item p_i225740_2_, MinMaxBounds.IntBound p_i225740_3_, MinMaxBounds.IntBound p_i225740_4_, EnchantmentPredicate[] p_i225740_5_, EnchantmentPredicate[] p_i225740_6_, Potion p_i225740_7_, NBTPredicate p_i225740_8_) -
Uses of Item in net.minecraft.block
Fields in net.minecraft.block declared as Item Modifier and Type Field Description private ItemBlock. itemFields in net.minecraft.block with type parameters of type Item Modifier and Type Field Description private static java.util.Map<Item,IDispenseItemBehavior>DispenserBlock. DISPENSER_REGISTRYMethods in net.minecraft.block that return Item Modifier and Type Method Description abstract ItemAbstractBlock. asItem()ItemBlock. asItem()protected ItemAttachedStemBlock. getSeedItem()protected ItemStemBlock. getSeedItem()Methods in net.minecraft.block with parameters of type Item Modifier and Type Method Description static BlockBlock. byItem(Item p_149634_0_)static DyeColorShulkerBoxBlock. getColorFromItem(Item p_190955_0_) -
Uses of Item in net.minecraft.client.gui.recipebook
Fields in net.minecraft.client.gui.recipebook declared as Item Modifier and Type Field Description private ItemAbstractRecipeBookGui. fuelFields in net.minecraft.client.gui.recipebook with type parameters of type Item Modifier and Type Field Description private java.util.Set<Item>AbstractRecipeBookGui. fuelsprivate java.util.Iterator<Item>AbstractRecipeBookGui. iteratorMethods in net.minecraft.client.gui.recipebook that return Item Modifier and Type Method Description private ItemAbstractRecipeBookGui. getFuel()Methods in net.minecraft.client.gui.recipebook that return types with arguments of type Item Modifier and Type Method Description protected abstract java.util.Set<Item>AbstractRecipeBookGui. getFuelItems()protected java.util.Set<Item>BlastFurnaceRecipeGui. getFuelItems()protected java.util.Set<Item>FurnaceRecipeGui. getFuelItems()protected java.util.Set<Item>SmokerRecipeGui. getFuelItems() -
Uses of Item in net.minecraft.client.gui.screen
Fields in net.minecraft.client.gui.screen declared as Item Modifier and Type Field Description ItemFlatPresetsScreen.LayerItem. iconFields in net.minecraft.client.gui.screen with type parameters of type Item Modifier and Type Field Description protected java.util.List<StatType<Item>>StatsScreen.StatsList. itemColumnsprotected java.util.Comparator<Item>StatsScreen.StatsList. itemStatSorterprotected java.util.List<Item>StatsScreen.StatsList. statItemListMethods in net.minecraft.client.gui.screen with parameters of type Item Modifier and Type Method Description private voidFlatPresetsScreen.SlotList.PresetEntry. blitSlot(MatrixStack p_238647_1_, int p_238647_2_, int p_238647_3_, Item p_238647_4_)private voidStatsScreen. blitSlot(MatrixStack p_238667_1_, int p_238667_2_, int p_238667_3_, Item p_238667_4_)intStatsScreen.StatsList.Comparator. compare(Item p_compare_1_, Item p_compare_2_)protected ITextComponentStatsScreen.StatsList. getString(Item p_200208_1_)Constructors in net.minecraft.client.gui.screen with parameters of type Item Constructor Description LayerItem(Item p_i242057_1_, ITextComponent p_i242057_2_, java.util.function.Function<Registry<Biome>,FlatGenerationSettings> p_i242057_3_) -
Uses of Item in net.minecraft.client.gui.screen.inventory
Fields in net.minecraft.client.gui.screen.inventory with type parameters of type Item Modifier and Type Field Description private java.util.Map<ResourceLocation,ITag<Item>>CreativeScreen. visibleTags -
Uses of Item in net.minecraft.client.renderer
Fields in net.minecraft.client.renderer with type parameters of type Item Modifier and Type Field Description private static java.util.Set<Item>ItemRenderer. IGNOREDMethods in net.minecraft.client.renderer with parameters of type Item Modifier and Type Method Description private static intItemModelMesher. getIndex(Item p_199310_0_)IBakedModelItemModelMesher. getItemModel(Item p_199312_1_)voidItemModelMesher. register(Item p_199311_1_, ModelResourceLocation p_199311_2_) -
Uses of Item in net.minecraft.client.renderer.color
Fields in net.minecraft.client.renderer.color with type parameters of type Item Modifier and Type Field Description private java.util.Map<IRegistryDelegate<Item>,IItemColor>ItemColors. itemColors -
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 booleanCraftPlanksStep. hasCraftedPlanksPreviously(ClientPlayerEntity p_199761_0_, ITag<Item> p_199761_1_) -
Uses of Item in net.minecraft.command.arguments
Fields in net.minecraft.command.arguments declared as Item Modifier and Type Field Description private ItemItemInput. itemprivate ItemItemParser. itemprivate ItemItemPredicateArgument.ItemPredicate. itemFields in net.minecraft.command.arguments with type parameters of type Item Modifier and Type Field Description private static java.util.function.BiFunction<com.mojang.brigadier.suggestion.SuggestionsBuilder,ITagCollection<Item>,java.util.concurrent.CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>>ItemParser. SUGGEST_NOTHINGprivate java.util.function.BiFunction<com.mojang.brigadier.suggestion.SuggestionsBuilder,ITagCollection<Item>,java.util.concurrent.CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>>ItemParser. suggestionsprivate ITag<Item>ItemPredicateArgument.TagPredicate. tagMethods in net.minecraft.command.arguments that return Item Modifier and Type Method Description ItemItemInput. getItem()ItemItemParser. getItem()Method parameters in net.minecraft.command.arguments with type arguments of type Item Modifier and Type Method Description java.util.concurrent.CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>ItemParser. fillSuggestions(com.mojang.brigadier.suggestion.SuggestionsBuilder p_197329_1_, ITagCollection<Item> p_197329_2_)private java.util.concurrent.CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>ItemParser. suggestItemIdOrTag(com.mojang.brigadier.suggestion.SuggestionsBuilder p_197331_1_, ITagCollection<Item> p_197331_2_)private java.util.concurrent.CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>ItemParser. suggestOpenNbt(com.mojang.brigadier.suggestion.SuggestionsBuilder p_197328_1_, ITagCollection<Item> p_197328_2_)private java.util.concurrent.CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>ItemParser. suggestTag(com.mojang.brigadier.suggestion.SuggestionsBuilder p_201955_1_, ITagCollection<Item> p_201955_2_)Constructors in net.minecraft.command.arguments with parameters of type Item Constructor Description ItemInput(Item p_i47961_1_, CompoundNBT p_i47961_2_)ItemPredicate(Item p_i48221_1_, CompoundNBT p_i48221_2_)Constructor parameters in net.minecraft.command.arguments with type arguments of type Item Constructor Description TagPredicate(ITag<Item> p_i48220_1_, CompoundNBT p_i48220_2_) -
Uses of Item in net.minecraft.data
Fields in net.minecraft.data declared as Item Modifier and Type Field Description private ItemCookingRecipeBuilder. resultprivate ItemCookingRecipeBuilder.Result. resultprivate ItemShapedRecipeBuilder. resultprivate ItemShapedRecipeBuilder.Result. resultprivate ItemShapelessRecipeBuilder. resultprivate ItemShapelessRecipeBuilder.Result. resultprivate ItemSingleItemRecipeBuilder. resultprivate ItemSingleItemRecipeBuilder.Result. resultprivate ItemSmithingRecipeBuilder. resultprivate ItemSmithingRecipeBuilder.Result. resultFields in net.minecraft.data with type parameters of type Item Modifier and Type Field Description private java.util.function.Consumer<Item>BlockModelProvider. skippedAutoModelsOutputMethods in net.minecraft.data with parameters of type Item Modifier and Type Method Description private voidBlockModelProvider. createAirLikeBlock(Block p_239871_1_, Item p_239871_2_)private voidBlockModelProvider. createSimpleFlatItemModel(Item p_239866_1_)private voidBlockModelProvider. delegateItemModel(Item p_239867_1_, ResourceLocation p_239867_2_)private voidItemModelProvider. generateFlatItem(Item p_240077_1_, java.lang.String p_240077_2_, ModelsUtil p_240077_3_)private voidItemModelProvider. generateFlatItem(Item p_240076_1_, ModelsUtil p_240076_2_)private voidItemModelProvider. generateFlatItem(Item p_240075_1_, Item p_240075_2_, ModelsUtil p_240075_3_)static ResourceLocationModelTextures. getItemTexture(Item p_240357_0_)static ResourceLocationModelTextures. getItemTexture(Item p_240344_0_, java.lang.String p_240344_1_)static ResourceLocationModelsResourceUtil. getModelLocation(Item p_240219_0_)static ResourceLocationModelsResourceUtil. getModelLocation(Item p_240220_0_, java.lang.String p_240220_1_)static ModelTexturesModelTextures. layer0(Item p_240352_0_)private static voidRecipeProvider. netheriteSmithing(java.util.function.Consumer<IFinishedRecipe> p_240469_0_, Item p_240469_1_, Item p_240469_2_)static ModelTexturesModelTextures. particleFromItem(Item p_240343_0_)static SmithingRecipeBuilderSmithingRecipeBuilder. smithing(Ingredient p_240502_0_, Ingredient p_240502_1_, Item p_240502_2_)Method parameters in net.minecraft.data with type arguments of type Item Modifier and Type Method Description ShapedRecipeBuilderShapedRecipeBuilder. define(java.lang.Character p_200469_1_, ITag<Item> p_200469_2_)protected static InventoryChangeTrigger.InstanceRecipeProvider. has(ITag<Item> p_200409_0_)private static voidRecipeProvider. planksFromLog(java.util.function.Consumer<IFinishedRecipe> p_240470_0_, IItemProvider p_240470_1_, ITag<Item> p_240470_2_)private static voidRecipeProvider. planksFromLogs(java.util.function.Consumer<IFinishedRecipe> p_240472_0_, IItemProvider p_240472_1_, ITag<Item> p_240472_2_)ShapelessRecipeBuilderShapelessRecipeBuilder. requires(ITag<Item> p_203221_1_)Constructors in net.minecraft.data with parameters of type Item Constructor Description Result(ResourceLocation p_i50605_1_, java.lang.String p_i50605_2_, Ingredient p_i50605_3_, Item p_i50605_4_, float p_i50605_5_, int p_i50605_6_, Advancement.Builder p_i50605_7_, ResourceLocation p_i50605_8_, IRecipeSerializer<? extends AbstractCookingRecipe> p_i50605_9_)Result(ResourceLocation p_i48271_2_, Item p_i48271_3_, int p_i48271_4_, java.lang.String p_i48271_5_, java.util.List<java.lang.String> p_i48271_6_, java.util.Map<java.lang.Character,Ingredient> p_i48271_7_, Advancement.Builder p_i48271_8_, ResourceLocation p_i48271_9_)Result(ResourceLocation p_i48268_1_, Item p_i48268_2_, int p_i48268_3_, java.lang.String p_i48268_4_, java.util.List<Ingredient> p_i48268_5_, Advancement.Builder p_i48268_6_, ResourceLocation p_i48268_7_)Result(ResourceLocation p_i50574_1_, IRecipeSerializer<?> p_i50574_2_, java.lang.String p_i50574_3_, Ingredient p_i50574_4_, Item p_i50574_5_, int p_i50574_6_, Advancement.Builder p_i50574_7_, ResourceLocation p_i50574_8_)Result(ResourceLocation p_i232550_1_, IRecipeSerializer<?> p_i232550_2_, Ingredient p_i232550_3_, Ingredient p_i232550_4_, Item p_i232550_5_, Advancement.Builder p_i232550_6_, ResourceLocation p_i232550_7_)SmithingRecipeBuilder(IRecipeSerializer<?> p_i232549_1_, Ingredient p_i232549_2_, Ingredient p_i232549_3_, Item p_i232549_4_) -
Uses of Item in net.minecraft.data.advancements
Fields in net.minecraft.data.advancements declared as Item Modifier and Type Field Description private static Item[]HusbandryAdvancements. EDIBLE_ITEMSprivate static Item[]HusbandryAdvancements. FISHprivate static Item[]HusbandryAdvancements. FISH_BUCKETS -
Uses of Item in net.minecraft.data.loot
Fields in net.minecraft.data.loot with type parameters of type Item Modifier and Type Field Description private static java.util.Set<Item>BlockLootTables. EXPLOSION_RESISTANTMethods in net.minecraft.data.loot with parameters of type Item Modifier and Type Method Description private static LootTable.BuilderBlockLootTables. createAttachedStemDrops(Block p_229435_0_, Item p_229435_1_)protected static LootTable.BuilderBlockLootTables. createCropDrops(Block p_218541_0_, Item p_218541_1_, Item p_218541_2_, ILootCondition.IBuilder p_218541_3_)protected static LootTable.BuilderBlockLootTables. createOreDrop(Block p_218476_0_, Item p_218476_1_)protected static LootTable.BuilderBlockLootTables. createStemDrops(Block p_218475_0_, Item p_218475_1_) -
Uses of Item in net.minecraft.enchantment
Fields in net.minecraft.enchantment with type parameters of type Item Modifier and Type Field Description private java.util.function.Predicate<Item>EnchantmentType. delegateMethods in net.minecraft.enchantment with parameters of type Item Modifier and Type Method Description booleanEnchantmentType. canEnchant(Item p_77557_1_)Method parameters in net.minecraft.enchantment with type arguments of type Item Modifier and Type Method Description static EnchantmentTypeEnchantmentType. create(java.lang.String name, java.util.function.Predicate<Item> delegate)Constructor parameters in net.minecraft.enchantment with type arguments of type Item Constructor Description EnchantmentType(java.util.function.Predicate<Item> delegate) -
Uses of Item in net.minecraft.entity
Methods in net.minecraft.entity that return Item Modifier and Type Method Description static ItemMobEntity. getEquipmentForSlot(EquipmentSlotType p_184636_0_, int p_184636_1_)Methods in net.minecraft.entity with parameters of type Item Modifier and Type Method Description booleanLivingEntity. isHolding(Item p_233631_1_)Method parameters in net.minecraft.entity with type arguments of type Item Modifier and Type Method Description booleanLivingEntity. isHolding(java.util.function.Predicate<Item> p_233634_1_) -
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 java.util.List<Item>FarmerWorkTask. COMPOSTABLE_ITEMSprivate java.util.Set<Item>ShareItemsTask. tradesMethods in net.minecraft.entity.ai.brain.task that return types with arguments of type Item Modifier and Type Method Description private static java.util.Set<Item>ShareItemsTask. figureOutWhatIAmWillingToTrade(VillagerEntity p_220585_0_, VillagerEntity p_220585_1_)Method parameters in net.minecraft.entity.ai.brain.task with type arguments of type Item Modifier and Type Method Description private static voidShareItemsTask. throwHalfStack(VillagerEntity p_220586_0_, java.util.Set<Item> p_220586_1_, LivingEntity p_220586_2_) -
Uses of Item in net.minecraft.entity.item
Methods in net.minecraft.entity.item that return Item Modifier and Type Method Description protected ItemEnderPearlEntity. getDefaultItem()protected ItemExperienceBottleEntity. getDefaultItem()ItemBoatEntity. getDropItem() -
Uses of Item in net.minecraft.entity.merchant.villager
Fields in net.minecraft.entity.merchant.villager declared as Item Modifier and Type Field Description private ItemVillagerTrades.ItemWithPotionForEmeraldsAndItemsTrade. fromItemprivate ItemVillagerTrades.DyedArmorForEmeraldsTrade. itemprivate ItemVillagerTrades.EmeraldForItemsTrade. itemFields in net.minecraft.entity.merchant.villager with type parameters of type Item Modifier and Type Field Description static java.util.Map<Item,java.lang.Integer>VillagerEntity. FOOD_POINTSprivate com.google.common.collect.ImmutableSet<Item>VillagerProfession. requestedItemsprivate java.util.Map<VillagerType,Item>VillagerTrades.EmeraldForVillageTypeItemTrade. tradesprivate static java.util.Set<Item>VillagerEntity. WANTED_ITEMSMethods in net.minecraft.entity.merchant.villager that return types with arguments of type Item Modifier and Type Method Description com.google.common.collect.ImmutableSet<Item>VillagerProfession. getRequestedItems()Method parameters in net.minecraft.entity.merchant.villager with type arguments of type Item Modifier and Type Method Description (package private) static VillagerProfessionVillagerProfession. register(java.lang.String p_226557_0_, PointOfInterestType p_226557_1_, com.google.common.collect.ImmutableSet<Item> p_226557_2_, com.google.common.collect.ImmutableSet<Block> p_226557_3_, SoundEvent p_226557_4_)Constructors in net.minecraft.entity.merchant.villager with parameters of type Item Constructor Description DyedArmorForEmeraldsTrade(Item p_i50540_1_, int p_i50540_2_)DyedArmorForEmeraldsTrade(Item p_i50541_1_, int p_i50541_2_, int p_i50541_3_, int p_i50541_4_)EnchantedItemForEmeraldsTrade(Item p_i50535_1_, int p_i50535_2_, int p_i50535_3_, int p_i50535_4_)EnchantedItemForEmeraldsTrade(Item p_i50536_1_, int p_i50536_2_, int p_i50536_3_, int p_i50536_4_, float p_i50536_5_)ItemsForEmeraldsAndItemsTrade(IItemProvider p_i50534_1_, int p_i50534_2_, int p_i50534_3_, Item p_i50534_4_, int p_i50534_5_, int p_i50534_6_, int p_i50534_7_)ItemsForEmeraldsAndItemsTrade(IItemProvider p_i50533_1_, int p_i50533_2_, Item p_i50533_3_, int p_i50533_4_, int p_i50533_5_, int p_i50533_6_)ItemsForEmeraldsTrade(Item p_i50529_1_, int p_i50529_2_, int p_i50529_3_, int p_i50529_4_)ItemsForEmeraldsTrade(Item p_i50530_1_, int p_i50530_2_, int p_i50530_3_, int p_i50530_4_, int p_i50530_5_)ItemWithPotionForEmeraldsAndItemsTrade(Item p_i50526_1_, int p_i50526_2_, Item p_i50526_3_, int p_i50526_4_, int p_i50526_5_, int p_i50526_6_, int p_i50526_7_)Constructor parameters in net.minecraft.entity.merchant.villager with type arguments of type Item Constructor Description EmeraldForVillageTypeItemTrade(int p_i50538_1_, int p_i50538_2_, int p_i50538_3_, java.util.Map<VillagerType,Item> p_i50538_4_)VillagerProfession(java.lang.String p_i225734_1_, PointOfInterestType p_i225734_2_, com.google.common.collect.ImmutableSet<Item> p_i225734_3_, com.google.common.collect.ImmutableSet<Block> p_i225734_4_, SoundEvent p_i225734_5_) -
Uses of Item in net.minecraft.entity.monster
Methods in net.minecraft.entity.monster with parameters of type Item Modifier and Type Method Description private booleanPillagerEntity. wantsItem(Item p_213672_1_) -
Uses of Item in net.minecraft.entity.monster.piglin
Fields in net.minecraft.entity.monster.piglin declared as Item Modifier and Type Field Description static ItemPiglinTasks. BARTERING_ITEMFields in net.minecraft.entity.monster.piglin with type parameters of type Item Modifier and Type Field Description private static java.util.Set<Item>PiglinTasks. FOOD_ITEMSMethods in net.minecraft.entity.monster.piglin with parameters of type Item Modifier and Type Method Description private static booleanPiglinTasks. isBarterCurrency(Item p_234492_0_)private static booleanPiglinTasks. isFood(Item p_234499_0_)protected static booleanPiglinTasks. isLovedItem(Item p_234480_0_) -
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. POISONOUS_FOODFields in net.minecraft.entity.passive with type parameters of type Item Modifier and Type Field Description private java.util.Set<Item>TurtleEntity.PlayerTemptGoal. itemsprivate static java.util.Set<Item>ParrotEntity. TAME_FOODMethods in net.minecraft.entity.passive with parameters of type Item Modifier and Type Method Description private booleanRabbitEntity. isTemptingItem(Item p_175525_1_)Constructors in net.minecraft.entity.passive with parameters of type Item Constructor Description PlayerTemptGoal(TurtleEntity p_i48812_1_, double p_i48812_2_, Item p_i48812_4_) -
Uses of Item in net.minecraft.entity.player
Method parameters in net.minecraft.entity.player with type arguments of type Item Modifier and Type Method Description booleanPlayerInventory. contains(ITag<Item> p_199712_1_) -
Uses of Item in net.minecraft.entity.projectile
Methods in net.minecraft.entity.projectile that return Item Modifier and Type Method Description protected ItemEggEntity. getDefaultItem()protected ItemPotionEntity. getDefaultItem()protected abstract ItemProjectileItemEntity. getDefaultItem()protected ItemSnowballEntity. getDefaultItem()Methods in net.minecraft.entity.projectile with parameters of type Item Modifier and Type Method Description static HandProjectileHelper. getWeaponHoldingHand(LivingEntity p_221274_0_, Item p_221274_1_)Deprecated.Method parameters in net.minecraft.entity.projectile with type arguments of type Item Modifier and Type Method Description static HandProjectileHelper. getWeaponHoldingHand(LivingEntity livingEntity, java.util.function.Predicate<Item> itemPredicate) -
Uses of Item in net.minecraft.fluid
Methods in net.minecraft.fluid that return Item Modifier and Type Method Description ItemEmptyFluid. getBucket()abstract ItemFluid. getBucket()ItemLavaFluid. getBucket()ItemWaterFluid. getBucket() -
Uses of Item in net.minecraft.inventory
Methods in net.minecraft.inventory with parameters of type Item Modifier and Type Method Description default intIInventory. countItem(Item p_213901_1_)ItemStackInventory. removeItemType(Item p_223374_1_, int p_223374_2_)Method parameters in net.minecraft.inventory with type arguments of type Item Modifier and Type Method Description default booleanIInventory. hasAnyOf(java.util.Set<Item> p_213902_1_) -
Uses of Item in net.minecraft.item
Fields in net.minecraft.item with type parameters of type Item Modifier and Type Field Description static java.util.Map<Block,Item>Item. BY_BLOCKprivate IRegistryDelegate<Item>ItemStack. delegateprivate static java.util.Map<Item,java.util.Map<ResourceLocation,IItemPropertyGetter>>ItemModelsProperties. PROPERTIESprivate ReverseTagWrapper<Item>Item. reverseTagsprivate Tags.IOptionalNamedTag<Item>DyeColor. tagMethods in net.minecraft.item that return Item Modifier and Type Method Description ItemItem. asItem()static ItemItem. byBlock(Block p_150898_0_)Deprecated.static ItemItem. byId(int p_150899_0_)ItemItem. getCraftingRemainingItem()Deprecated.ItemItemStack. getItem()private static ItemItems. registerBlock(Block p_221545_0_)protected static ItemItems. registerBlock(Block p_221546_0_, Item p_221546_1_)private static ItemItems. registerBlock(Block p_221542_0_, ItemGroup p_221542_1_)private static ItemItems. registerBlock(BlockItem p_221543_0_)private static ItemItems. registerItem(java.lang.String p_221547_0_, Item p_221547_1_)private static ItemItems. registerItem(ResourceLocation p_221544_0_, Item p_221544_1_)Methods in net.minecraft.item that return types with arguments of type Item Modifier and Type Method Description Tags.IOptionalNamedTag<Item>DyeColor. getTag()Methods in net.minecraft.item with parameters of type Item Modifier and Type Method Description static booleanCrossbowItem. containsChargedProjectile(ItemStack p_220019_0_, Item p_220019_1_)Item.PropertiesItem.Properties. craftRemainder(Item p_200919_1_)static intItem. getId(Item p_150891_0_)static IItemPropertyGetterItemModelsProperties. getProperty(Item p_239417_0_, ResourceLocation p_239417_1_)static voidItemModelsProperties. register(Item p_239418_0_, ResourceLocation p_239418_1_, IItemPropertyGetter p_239418_2_)protected static ItemItems. registerBlock(Block p_221546_0_, Item p_221546_1_)voidBlockItem. registerBlocks(java.util.Map<Block,Item> p_195946_1_, Item p_195946_2_)voidWallOrFloorItem. registerBlocks(java.util.Map<Block,Item> p_195946_1_, Item p_195946_2_)private static ItemItems. registerItem(java.lang.String p_221547_0_, Item p_221547_1_)private static ItemItems. registerItem(ResourceLocation p_221544_0_, Item p_221544_1_)voidBlockItem. removeFromBlockToItemMap(java.util.Map<Block,Item> blockToItemMap, Item itemIn)voidWallOrFloorItem. removeFromBlockToItemMap(java.util.Map<Block,Item> blockToItemMap, Item itemIn)Method parameters in net.minecraft.item with type arguments of type Item Modifier and Type Method Description booleanItem. is(ITag<Item> p_206844_1_)voidBlockItem. registerBlocks(java.util.Map<Block,Item> p_195946_1_, Item p_195946_2_)voidWallOrFloorItem. registerBlocks(java.util.Map<Block,Item> p_195946_1_, Item p_195946_2_)voidBlockItem. removeFromBlockToItemMap(java.util.Map<Block,Item> blockToItemMap, Item itemIn)voidWallOrFloorItem. removeFromBlockToItemMap(java.util.Map<Block,Item> blockToItemMap, Item itemIn) -
Uses of Item in net.minecraft.item.crafting
Fields in net.minecraft.item.crafting with type parameters of type Item Modifier and Type Field Description private static java.util.Map<Item,FireworkRocketItem.Shape>FireworkStarRecipe. SHAPE_BY_ITEMprivate ITag<Item>Ingredient.TagList. tagMethod parameters in net.minecraft.item.crafting with type arguments of type Item Modifier and Type Method Description static IngredientIngredient. of(ITag<Item> p_199805_0_)Constructor parameters in net.minecraft.item.crafting with type arguments of type Item Constructor Description TagList(ITag<Item> p_i48193_1_) -
Uses of Item in net.minecraft.loot
Fields in net.minecraft.loot declared as Item Modifier and Type Field Description private ItemItemLootEntry. itemFields in net.minecraft.loot with type parameters of type Item Modifier and Type Field Description private ITag<Item>TagLootEntry. tagMethod parameters in net.minecraft.loot with type arguments of type Item Modifier and Type Method Description static StandaloneLootEntry.Builder<?>TagLootEntry. expandTag(ITag<Item> p_216176_0_)Constructors in net.minecraft.loot with parameters of type Item Constructor Description ItemLootEntry(Item p_i51255_1_, int p_i51255_2_, int p_i51255_3_, ILootCondition[] p_i51255_4_, ILootFunction[] p_i51255_5_)Constructor parameters in net.minecraft.loot with type arguments of type Item Constructor Description TagLootEntry(ITag<Item> p_i51248_1_, boolean p_i51248_2_, int p_i51248_3_, int p_i51248_4_, ILootCondition[] p_i51248_5_, ILootFunction[] p_i51248_6_) -
Uses of Item in net.minecraft.network.play.server
Fields in net.minecraft.network.play.server declared as Item Modifier and Type Field Description private ItemSCooldownPacket. itemMethods in net.minecraft.network.play.server that return Item Modifier and Type Method Description ItemSCooldownPacket. getItem()Constructors in net.minecraft.network.play.server with parameters of type Item Constructor Description SCooldownPacket(Item p_i46950_1_, int p_i46950_2_) -
Uses of Item in net.minecraft.potion
Fields in net.minecraft.potion with type parameters of type Item Modifier and Type Field Description private static java.util.List<PotionBrewing.MixPredicate<Item>>PotionBrewing. CONTAINER_MIXESMethods in net.minecraft.potion with parameters of type Item Modifier and Type Method Description private static voidPotionBrewing. addContainer(Item p_196208_0_)private static voidPotionBrewing. addContainerRecipe(Item p_196207_0_, Item p_196207_1_, Item p_196207_2_)private static voidPotionBrewing. addMix(Potion p_193357_0_, Item p_193357_1_, Potion p_193357_2_) -
Uses of Item in net.minecraft.stats
Fields in net.minecraft.stats with type parameters of type Item Modifier and Type Field Description static StatType<Item>Stats. ITEM_BROKENstatic StatType<Item>Stats. ITEM_CRAFTEDstatic StatType<Item>Stats. ITEM_DROPPEDstatic StatType<Item>Stats. ITEM_PICKED_UPstatic StatType<Item>Stats. ITEM_USED -
Uses of Item in net.minecraft.tags
Methods in net.minecraft.tags that return types with arguments of type Item Modifier and Type Method Description static ITag.INamedTag<Item>ItemTags. bind(java.lang.String p_199901_0_)static Tags.IOptionalNamedTag<Item>ItemTags. createOptional(ResourceLocation name)static Tags.IOptionalNamedTag<Item>ItemTags. createOptional(ResourceLocation name, java.util.Set<java.util.function.Supplier<Item>> defaults)static ITagCollection<Item>ItemTags. getAllTags()ITagCollection<Item>ITagCollectionSupplier. getItems()static java.util.List<? extends ITag.INamedTag<Item>>ItemTags. getWrappers()Method parameters in net.minecraft.tags with type arguments of type Item Modifier and Type Method Description static Tags.IOptionalNamedTag<Item>ItemTags. createOptional(ResourceLocation name, java.util.Set<java.util.function.Supplier<Item>> defaults) -
Uses of Item in net.minecraft.tileentity
Fields in net.minecraft.tileentity declared as Item Modifier and Type Field Description private ItemBrewingStandTileEntity. ingredientMethods in net.minecraft.tileentity that return types with arguments of type Item Modifier and Type Method Description static java.util.Map<Item,java.lang.Integer>AbstractFurnaceTileEntity. getFuel()Deprecated.Methods in net.minecraft.tileentity with parameters of type Item Modifier and Type Method Description private static booleanAbstractFurnaceTileEntity. isNeverAFurnaceFuel(Item p_235644_0_)Method parameters in net.minecraft.tileentity with type arguments of type Item Modifier and Type Method Description private static voidAbstractFurnaceTileEntity. add(java.util.Map<Item,java.lang.Integer> p_213992_0_, ITag<Item> p_213992_1_, int p_213992_2_)private static voidAbstractFurnaceTileEntity. add(java.util.Map<Item,java.lang.Integer> p_213992_0_, ITag<Item> p_213992_1_, int p_213992_2_)private static voidAbstractFurnaceTileEntity. add(java.util.Map<Item,java.lang.Integer> p_213996_0_, IItemProvider p_213996_1_, int p_213996_2_) -
Uses of Item in net.minecraft.util
Fields in net.minecraft.util with type parameters of type Item Modifier and Type Field Description private java.util.Map<Item,CooldownTracker.Cooldown>CooldownTracker. cooldownsMethods in net.minecraft.util that return Item Modifier and Type Method Description ItemIItemProvider. asItem()static ItemJSONUtils. convertToItem(com.google.gson.JsonElement p_188172_0_, java.lang.String p_188172_1_)static ItemJSONUtils. getAsItem(com.google.gson.JsonObject p_188180_0_, java.lang.String p_188180_1_)Methods in net.minecraft.util with parameters of type Item Modifier and Type Method Description voidCooldownTracker. addCooldown(Item p_185145_1_, int p_185145_2_)voidFoodStats. eat(Item p_221410_1_, ItemStack p_221410_2_)floatCooldownTracker. getCooldownPercent(Item p_185143_1_, float p_185143_2_)booleanCooldownTracker. isOnCooldown(Item p_185141_1_)protected voidCooldownTracker. onCooldownEnded(Item p_185146_1_)protected voidServerCooldownTracker. onCooldownEnded(Item p_185146_1_)protected voidCooldownTracker. onCooldownStarted(Item p_185140_1_, int p_185140_2_)protected voidServerCooldownTracker. onCooldownStarted(Item p_185140_1_, int p_185140_2_)voidCooldownTracker. removeCooldown(Item p_185142_1_) -
Uses of Item in net.minecraft.util.math.shapes
Fields in net.minecraft.util.math.shapes declared as Item Modifier and Type Field Description private ItemEntitySelectionContext. heldItemMethods in net.minecraft.util.math.shapes with parameters of type Item Modifier and Type Method Description booleanEntitySelectionContext. isHoldingItem(Item p_216375_1_)booleanISelectionContext. isHoldingItem(Item p_216375_1_)Constructors in net.minecraft.util.math.shapes with parameters of type Item Constructor Description EntitySelectionContext(boolean p_i232177_1_, double p_i232177_2_, Item p_i232177_4_, java.util.function.Predicate<Fluid> p_i232177_5_)EntitySelectionContext(Entity entity, boolean p_i232177_1_, double p_i232177_2_, Item p_i232177_4_, java.util.function.Predicate<Fluid> p_i232177_5_) -
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. ITEMDeprecated.static RegistryKey<Registry<Item>>Registry. ITEM_REGISTRY -
Uses of Item in net.minecraft.util.text.event
Fields in net.minecraft.util.text.event declared as Item Modifier and Type Field Description private ItemHoverEvent.ItemHover. itemConstructors in net.minecraft.util.text.event with parameters of type Item Constructor Description ItemHover(Item p_i232567_1_, int p_i232567_2_, CompoundNBT p_i232567_3_) -
Uses of Item in net.minecraftforge.client
Fields in net.minecraftforge.client with type parameters of type Item Modifier and Type Field Description (package private) java.util.Map<IRegistryDelegate<Item>,ModelResourceLocation>ItemModelMesherForge. locations(package private) java.util.Map<IRegistryDelegate<Item>,IBakedModel>ItemModelMesherForge. modelsMethods in net.minecraftforge.client with parameters of type Item Modifier and Type Method Description IBakedModelItemModelMesherForge. getItemModel(Item item)voidItemModelMesherForge. register(Item item, ModelResourceLocation location) -
Uses of Item in net.minecraftforge.common
Subclasses of Item in net.minecraftforge.common Modifier and Type Class Description classForgeSpawnEggItemMethods in net.minecraftforge.common that return types with arguments of type Item Modifier and Type Method Description private static Tags.IOptionalNamedTag<Item>Tags.Items. tag(java.lang.String name) -
Uses of Item in net.minecraftforge.common.data
Fields in net.minecraftforge.common.data with type parameters of type Item Modifier and Type Field Description private java.util.Map<Item,ITag<Item>>ForgeRecipeProvider. replacementsprivate java.util.Map<Item,ITag<Item>>ForgeRecipeProvider. replacementsMethods in net.minecraftforge.common.data that return types with arguments of type Item Modifier and Type Method Description private ITag.INamedTag<Item>ForgeItemTagsProvider. getForgeItemTag(java.lang.String name)Methods in net.minecraftforge.common.data with parameters of type Item Modifier and Type Method Description voidLanguageProvider. add(Item key, java.lang.String name)private booleanForgeLootTableProvider. checkMatchTool(MatchTool lootCondition, Item expected)private booleanForgeLootTableProvider. findAndReplaceInAlternative(Alternative alternative, Item from, ITag.INamedTag<Item> to)private booleanForgeLootTableProvider. findAndReplaceInLootEntry(LootEntry entry, Item from, ITag.INamedTag<Item> to)private booleanForgeLootTableProvider. findAndReplaceInLootPool(LootPool lootPool, Item from, ITag.INamedTag<Item> to)private booleanForgeLootTableProvider. findAndReplaceInLootTableBuilder(LootTable.Builder builder, Item from, ITag.INamedTag<Item> to)private booleanForgeLootTableProvider. findAndReplaceInParentedLootEntry(ParentedLootEntry entry, Item from, ITag.INamedTag<Item> to)Method parameters in net.minecraftforge.common.data with type arguments of type Item Modifier and Type Method Description private voidForgeItemTagsProvider. addColored(java.util.function.Consumer<ITag.INamedTag<Item>> consumer, ITag.INamedTag<Item> group, java.lang.String pattern)private voidForgeItemTagsProvider. addColored(java.util.function.Consumer<ITag.INamedTag<Item>> consumer, ITag.INamedTag<Item> group, java.lang.String pattern)voidLanguageProvider. addItem(java.util.function.Supplier<? extends Item> key, java.lang.String name)private booleanForgeLootTableProvider. findAndReplaceInAlternative(Alternative alternative, Item from, ITag.INamedTag<Item> to)private booleanForgeLootTableProvider. findAndReplaceInLootEntry(LootEntry entry, Item from, ITag.INamedTag<Item> to)private booleanForgeLootTableProvider. findAndReplaceInLootPool(LootPool lootPool, Item from, ITag.INamedTag<Item> to)private booleanForgeLootTableProvider. findAndReplaceInLootTableBuilder(LootTable.Builder builder, Item from, ITag.INamedTag<Item> to)private booleanForgeLootTableProvider. findAndReplaceInParentedLootEntry(ParentedLootEntry entry, Item from, ITag.INamedTag<Item> to)private voidForgeRecipeProvider. replace(IItemProvider item, ITag<Item> tag) -
Uses of Item in net.minecraftforge.common.extensions
Methods in net.minecraftforge.common.extensions that return Item Modifier and Type Method Description default ItemIForgeItem. getItem() -
Uses of Item in net.minecraftforge.debug
Fields in net.minecraftforge.debug with type parameters of type Item Modifier and Type Field Description private static RegistryObject<Item>DeferredRegistryTest. ITEMprivate static DeferredRegister<Item>CustomSoundTypeTest. ITEMSprivate static DeferredRegister<Item>DeferredRegistryTest. ITEMSprivate static RegistryObject<Item>CustomSoundTypeTest. TEST_STEP_BLOCK_ITEM -
Uses of Item in net.minecraftforge.debug.block
Fields in net.minecraftforge.debug.block with type parameters of type Item Modifier and Type Field Description private static RegistryObject<Item>FullPotsAccessorDemo. DIORITE_POT_ITEMprivate static DeferredRegister<Item>CustomRespawnTest. ITEMSprivate static DeferredRegister<Item>CustomSignsTest. ITEMSprivate static DeferredRegister<Item>FlowerPotTest. ITEMSprivate static DeferredRegister<Item>FullPotsAccessorDemo. ITEMSprivate static DeferredRegister<Item>PistonEventTest. ITEMSstatic RegistryObject<Item>CustomRespawnTest. TEST_RESPAWN_BLOCK_ITEMMethod parameters in net.minecraftforge.debug.block with type arguments of type Item Modifier and Type Method Description static voidFlowerPotTest. onItemRegister(RegistryEvent.Register<Item> event)static voidCustomPlantTypeTest. registerItems(RegistryEvent.Register<Item> event)static voidSlipperinessTest. registerItems(RegistryEvent.Register<Item> e)static voidStickyBlockTest. registerItems(RegistryEvent.Register<Item> event) -
Uses of Item in net.minecraftforge.debug.client
Fields in net.minecraftforge.debug.client with type parameters of type Item Modifier and Type Field Description private static DeferredRegister<Item>CustomTASTest. ITEMSprivate static RegistryObject<Item>CustomTASTest. TEST_ITEM -
Uses of Item in net.minecraftforge.debug.client.model
Fields in net.minecraftforge.debug.client.model with type parameters of type Item Modifier and Type Field Description static RegistryObject<Item>CompositeModelTest. composite_itemstatic RegistryObject<Item>NewModelLoaderTest. custom_loaderstatic RegistryObject<Item>NewModelLoaderTest. custom_transformsstatic RegistryObject<Item>NewModelLoaderTest. custom_vanilla_loaderstatic RegistryObject<Item>DynBucketModelTest. DRIP_BUCKETstatic RegistryObject<Item>NewModelLoaderTest. item_layersstatic DeferredRegister<Item>CompositeModelTest. ITEMSstatic DeferredRegister<Item>DynBucketModelTest. ITEMSstatic DeferredRegister<Item>NewModelLoaderTest. ITEMSprivate static DeferredRegister<Item>TRSRTransformerTest. ITEMSstatic RegistryObject<Item>DynBucketModelTest. LAVA_OBSIDIANstatic RegistryObject<Item>NewModelLoaderTest. obj_itemstatic RegistryObject<Item>NewModelLoaderTest. separate_perspectiveprivate static RegistryObject<Item>TRSRTransformerTest. TEST_ITEMMethod parameters in net.minecraftforge.debug.client.model with type arguments of type Item Modifier and Type Method Description static voidMultiLayerModelTest.Registration. registerItems(RegistryEvent.Register<Item> event) -
Uses of Item in net.minecraftforge.debug.entity
Subclasses of Item in net.minecraftforge.debug.entity Modifier and Type Class Description static classGravityAttributeTest.ItemGravityStickMethod parameters in net.minecraftforge.debug.entity with type arguments of type Item Modifier and Type Method Description voidGravityAttributeTest. registerItems(RegistryEvent.Register<Item> event) -
Uses of Item in net.minecraftforge.debug.entity.player
Subclasses of Item in net.minecraftforge.debug.entity.player Modifier and Type Class Description (package private) static classPlayerAttackKnockbackTest.KnockbackSwordItemFields in net.minecraftforge.debug.entity.player with type parameters of type Item Modifier and Type Field Description (package private) static DeferredRegister<Item>PlayerAttackKnockbackTest. ITEMS(package private) static RegistryObject<Item>PlayerAttackKnockbackTest. KNOCKBACK_SWORD -
Uses of Item in net.minecraftforge.debug.fluid
Fields in net.minecraftforge.debug.fluid with type parameters of type Item Modifier and Type Field Description static RegistryObject<Item>NewFluidTest. fluidloggable_blockitemstatic DeferredRegister<Item>NewFluidTest. ITEMSstatic RegistryObject<Item>NewFluidTest. test_fluid_bucket -
Uses of Item in net.minecraftforge.debug.gameplay.loot
Fields in net.minecraftforge.debug.gameplay.loot declared as Item Modifier and Type Field Description private ItemGlobalLootModifiersTest.WheatSeedsConverterModifier. itemRewardprivate ItemGlobalLootModifiersTest.WheatSeedsConverterModifier. itemToCheckConstructors in net.minecraftforge.debug.gameplay.loot with parameters of type Item Constructor Description WheatSeedsConverterModifier(ILootCondition[] conditionsIn, int numSeeds, Item itemCheck, Item reward) -
Uses of Item in net.minecraftforge.debug.item
Subclasses of Item in net.minecraftforge.debug.item Modifier and Type Class Description static classCustomElytraTest.CustomElytraFields in net.minecraftforge.debug.item with type parameters of type Item Modifier and Type Field Description static RegistryObject<Item>EnderMaskTest. ender_maskprivate static DeferredRegister<Item>CustomElytraTest. ITEMSstatic DeferredRegister<Item>EnderMaskTest. ITEMSprivate static DeferredRegister<Item>ForgeSpawnEggItemTest. ITEMSprivate static DeferredRegister<Item>MusicDiscTest. ITEMSprivate static DeferredRegister<Item>RangedMobsUseModdedWeaponsTest. ITEMSprivate static RegistryObject<Item>RangedMobsUseModdedWeaponsTest. MODDED_BOWprivate static RegistryObject<Item>RangedMobsUseModdedWeaponsTest. MODDED_CROSSBOWprivate static RegistryObject<Item>CustomElytraTest. TEST_ELYTRAprivate static RegistryObject<Item>MusicDiscTest. TEST_MUSIC_DISC -
Uses of Item in net.minecraftforge.debug.misc
Fields in net.minecraftforge.debug.misc with type parameters of type Item Modifier and Type Field Description private static ITag.INamedTag<Item>CustomTagTypesTest. OPTIONAL_TEST -
Uses of Item in net.minecraftforge.debug.world
Fields in net.minecraftforge.debug.world with type parameters of type Item Modifier and Type Field Description private static RegistryObject<Item>ForgeChunkManagerTest. CHUNK_LOADER_ITEMprivate static DeferredRegister<Item>ForgeChunkManagerTest. ITEMS -
Uses of Item in net.minecraftforge.fluids
Fields in net.minecraftforge.fluids with type parameters of type Item Modifier and Type Field Description private java.util.function.Supplier<? extends Item>ForgeFlowingFluid. bucketprivate java.util.function.Supplier<? extends Item>ForgeFlowingFluid.Properties. bucketMethods in net.minecraftforge.fluids that return Item Modifier and Type Method Description ItemForgeFlowingFluid. getBucket()Method parameters in net.minecraftforge.fluids with type arguments of type Item Modifier and Type Method Description ForgeFlowingFluid.PropertiesForgeFlowingFluid.Properties. bucket(java.util.function.Supplier<? extends Item> bucket) -
Uses of Item in net.minecraftforge.fluids.capability
Subclasses of Item in net.minecraftforge.fluids.capability Modifier and Type Class Description classItemFluidContainerA simple fluid container, to replace the functionality of the old FluidContainerRegistry and IFluidContainerItem. -
Uses of Item in net.minecraftforge.registries
Fields in net.minecraftforge.registries with type parameters of type Item Modifier and Type Field Description static IForgeRegistry<Item>ForgeRegistries. ITEMSstatic RegistryKey<Registry<Item>>ForgeRegistries.Keys. ITEMSMethods in net.minecraftforge.registries that return types with arguments of type Item Modifier and Type Method Description static java.util.Map<Block,Item>GameData. getBlockItemMap()Methods in net.minecraftforge.registries with parameters of type Item Modifier and Type Method Description voidGameData.ItemCallbacks. onAdd(IForgeRegistryInternal<Item> owner, RegistryManager stage, int id, Item item, Item oldItem)Method parameters in net.minecraftforge.registries with type arguments of type Item Modifier and Type Method Description voidGameData.ItemCallbacks. onAdd(IForgeRegistryInternal<Item> owner, RegistryManager stage, int id, Item item, Item oldItem)voidGameData.ItemCallbacks. onClear(IForgeRegistryInternal<Item> owner, RegistryManager stage)voidGameData.ItemCallbacks. onCreate(IForgeRegistryInternal<Item> owner, RegistryManager stage)
-