Uses of Interface
net.minecraft.world.level.ItemLike
Packages that use ItemLike
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
Classes for NeoForge's own data generation.
-
Uses of ItemLike in net.minecraft.advancements
Methods in net.minecraft.advancements with parameters of type ItemLikeModifier and TypeMethodDescriptionAdvancement.Builder.display(ItemLike icon, Component title, Component description, ResourceLocation background, AdvancementType type, boolean showToast, boolean announceChat, boolean hidden) -
Uses of ItemLike in net.minecraft.advancements.critereon
Methods in net.minecraft.advancements.critereon with parameters of type ItemLikeModifier and TypeMethodDescriptionItemPredicate.Builder.of(HolderGetter<Item> itemRegistry, ItemLike... items) ShotCrossbowTrigger.TriggerInstance.shotCrossbow(HolderGetter<Item> itemRegistry, ItemLike item) ConsumeItemTrigger.TriggerInstance.usedItem(HolderGetter<Item> itemRegistry, ItemLike item) UsedTotemTrigger.TriggerInstance.usedTotem(HolderGetter<Item> itemRegistry, ItemLike item) -
Uses of ItemLike in net.minecraft.data.loot
Methods in net.minecraft.data.loot with parameters of type ItemLikeModifier and TypeMethodDescriptionprotected <T extends ConditionUserBuilder<T>>
TBlockLootSubProvider.applyExplosionCondition(ItemLike item, ConditionUserBuilder<T> conditionBuilder) protected <T extends FunctionUserBuilder<T>>
TBlockLootSubProvider.applyExplosionDecay(ItemLike item, FunctionUserBuilder<T> functionBuilder) protected LootTable.BuilderBlockLootSubProvider.createMushroomBlockDrop(Block block, ItemLike item) protected LootTable.BuilderBlockLootSubProvider.createPotFlowerItemTable(ItemLike item) protected LootTable.BuilderBlockLootSubProvider.createShearsOnlyDrop(ItemLike item) protected LootTable.BuilderBlockLootSubProvider.createShearsOrSilkTouchOnlyDrop(ItemLike item) protected LootTable.BuilderBlockLootSubProvider.createSilkTouchOnlyTable(ItemLike item) BlockLootSubProvider.createSingleItemTable(ItemLike item) protected LootTable.BuilderBlockLootSubProvider.createSingleItemTable(ItemLike item, NumberProvider count) protected LootTable.BuilderBlockLootSubProvider.createSingleItemTableWithSilkTouch(Block block, ItemLike item) protected LootTable.BuilderBlockLootSubProvider.createSingleItemTableWithSilkTouch(Block block, ItemLike item, NumberProvider count) protected void -
Uses of ItemLike in net.minecraft.data.loot.packs
Fields in net.minecraft.data.loot.packs with type parameters of type ItemLike -
Uses of ItemLike in net.minecraft.data.recipes
Methods in net.minecraft.data.recipes with parameters of type ItemLikeModifier and TypeMethodDescriptionprotected voidprotected voidRecipeProvider.bedFromPlanksAndWool(ItemLike bed, ItemLike wool) static SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.blasting(Ingredient ingredient, RecipeCategory category, ItemLike result, float experience, int cookingTime) protected RecipeBuilderRecipeProvider.buttonBuilder(ItemLike button, Ingredient material) static SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.campfireCooking(Ingredient ingredient, RecipeCategory category, ItemLike result, float experience, int cookingTime) protected voidprotected voidprotected voidprotected voidRecipeProvider.chiseled(RecipeCategory category, ItemLike chiseledResult, ItemLike material) protected ShapedRecipeBuilderRecipeProvider.chiseledBuilder(RecipeCategory category, ItemLike chiseledResult, Ingredient material) protected voidRecipeProvider.coloredTerracottaFromTerracottaAndDye(ItemLike terracotta, ItemLike dye) protected voidRecipeProvider.concretePowder(ItemLike concretePowder, ItemLike dye) protected voidRecipeProvider.copySmithingTemplate(ItemLike template, Ingredient baseItem) protected voidRecipeProvider.copySmithingTemplate(ItemLike template, ItemLike baseItem) RecipeProvider.FamilyRecipeProvider.create(RecipeProvider recipeProvider, ItemLike ingredient, ItemLike result) protected voidRecipeProvider.cut(RecipeCategory category, ItemLike cutResult, ItemLike material) protected ShapedRecipeBuilderRecipeProvider.cutBuilder(RecipeCategory category, ItemLike cutResult, Ingredient material) Adds a key to the recipe pattern.private static CookingBookCategorySimpleCookingRecipeBuilder.determineBlastingRecipeCategory(ItemLike result) private static CookingBookCategorySimpleCookingRecipeBuilder.determineRecipeCategory(RecipeSerializer<? extends AbstractCookingRecipe> serializer, ItemLike result) private static CookingBookCategorySimpleCookingRecipeBuilder.determineSmeltingRecipeCategory(ItemLike result) protected RecipeBuilderRecipeProvider.doorBuilder(ItemLike door, Ingredient material) protected RecipeBuilderRecipeProvider.fenceBuilder(ItemLike fence, Ingredient material) protected RecipeBuilderRecipeProvider.fenceGateBuilder(ItemLike fenceGate, Ingredient material) static <T extends AbstractCookingRecipe>
SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.generic(Ingredient ingredient, RecipeCategory category, ItemLike result, float experience, int cookingTime, RecipeSerializer<T> cookingSerializer, AbstractCookingRecipe.Factory<T> factory) protected static StringRecipeProvider.getBlastingRecipeName(ItemLike itemLike) protected static StringRecipeProvider.getConversionRecipeName(ItemLike result, ItemLike ingredient) static ResourceLocationRecipeBuilder.getDefaultRecipeId(ItemLike itemLike) protected static StringRecipeProvider.getHasName(ItemLike itemLike) protected static StringRecipeProvider.getItemName(ItemLike itemLike) protected static StringRecipeProvider.getSimpleRecipeName(ItemLike itemLike) protected static StringRecipeProvider.getSmeltingRecipeName(ItemLike itemLike) protected voidRecipeProvider.hangingSign(ItemLike sign, ItemLike material) protected Criterion<InventoryChangeTrigger.TriggerInstance> RecipeProvider.has(MinMaxBounds.Ints count, ItemLike item) protected Criterion<InventoryChangeTrigger.TriggerInstance> protected voidRecipeProvider.mosaicBuilder(RecipeCategory category, ItemLike result, ItemLike material) protected voidRecipeProvider.nineBlockStorageRecipes(RecipeCategory unpackedCategory, ItemLike unpacked, RecipeCategory packedCategory, ItemLike packed) protected voidRecipeProvider.nineBlockStorageRecipes(RecipeCategory unpackedCategory, ItemLike unpacked, RecipeCategory packedCategory, ItemLike packed, String packedName, String packedGroup, String unpackedName, String unpackedGroup) protected voidRecipeProvider.nineBlockStorageRecipesRecipesWithCustomUnpacking(RecipeCategory unpackedCategory, ItemLike unpacked, RecipeCategory packedCategory, ItemLike packed, String unpackedName, String unpackedGroup) protected voidRecipeProvider.nineBlockStorageRecipesWithCustomPacking(RecipeCategory unpackedCategory, ItemLike unpacked, RecipeCategory packedCategory, ItemLike packed, String packedName, String packedGroup) protected voidRecipeProvider.oneToOneConversionRecipe(ItemLike result, ItemLike ingredient, String group) protected voidRecipeProvider.oneToOneConversionRecipe(ItemLike result, ItemLike ingredient, String group, int resultCount) protected voidRecipeProvider.oreBlasting(List<ItemLike> ingredients, RecipeCategory category, ItemLike result, float experience, int cookingTime, String group) protected <T extends AbstractCookingRecipe>
voidRecipeProvider.oreCooking(RecipeSerializer<T> serializer, AbstractCookingRecipe.Factory<T> recipeFactory, List<ItemLike> ingredients, RecipeCategory category, ItemLike result, float experience, int cookingTime, String group, String suffix) protected voidRecipeProvider.oreSmelting(List<ItemLike> ingredients, RecipeCategory category, ItemLike result, float experience, int cookingTime, String group) protected voidRecipeProvider.planksFromLog(ItemLike planks, TagKey<Item> logs, int resultCount) protected voidRecipeProvider.planksFromLogs(ItemLike planks, TagKey<Item> logs, int result) protected voidRecipeProvider.polished(RecipeCategory category, ItemLike result, ItemLike material) protected RecipeBuilderRecipeProvider.polishedBuilder(RecipeCategory category, ItemLike result, Ingredient material) protected voidRecipeProvider.pressurePlate(ItemLike pressurePlate, ItemLike material) protected RecipeBuilderRecipeProvider.pressurePlateBuilder(RecipeCategory category, ItemLike pressurePlate, Ingredient material) Adds an ingredient of the given item.Adds the given ingredient multiple times.protected ShapedRecipeBuilderRecipeProvider.shaped(RecipeCategory category, ItemLike result) protected ShapedRecipeBuilderRecipeProvider.shaped(RecipeCategory category, ItemLike result, int count) static ShapedRecipeBuilderShapedRecipeBuilder.shaped(HolderGetter<Item> items, RecipeCategory category, ItemLike result) static ShapedRecipeBuilderShapedRecipeBuilder.shaped(HolderGetter<Item> items, RecipeCategory category, ItemLike result, int count) protected ShapelessRecipeBuilderRecipeProvider.shapeless(RecipeCategory category, ItemLike result) protected ShapelessRecipeBuilderRecipeProvider.shapeless(RecipeCategory category, ItemLike result, int count) static ShapelessRecipeBuilderShapelessRecipeBuilder.shapeless(HolderGetter<Item> items, RecipeCategory category, ItemLike result) static ShapelessRecipeBuilderShapelessRecipeBuilder.shapeless(HolderGetter<Item> items, RecipeCategory category, ItemLike result, int count) protected RecipeBuilderRecipeProvider.signBuilder(ItemLike sign, Ingredient material) protected <T extends AbstractCookingRecipe>
voidRecipeProvider.simpleCookingRecipe(String cookingMethod, RecipeSerializer<T> cookingSerializer, AbstractCookingRecipe.Factory<T> recipeFactory, int cookingTime, ItemLike material, ItemLike result, float experience) protected voidRecipeProvider.slab(RecipeCategory category, ItemLike slab, ItemLike material) protected RecipeBuilderRecipeProvider.slabBuilder(RecipeCategory category, ItemLike slab, Ingredient material) static SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.smelting(Ingredient ingredient, RecipeCategory category, ItemLike result, float experience, int cookingTime) protected voidRecipeProvider.smeltingResultFromBase(ItemLike result, ItemLike ingredient) static SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.smoking(Ingredient ingredient, RecipeCategory category, ItemLike result, float experience, int cookingTime) protected voidRecipeProvider.stainedGlassFromGlassAndDye(ItemLike stainedGlass, ItemLike dye) protected voidRecipeProvider.stainedGlassPaneFromGlassPaneAndDye(ItemLike stainedGlassPane, ItemLike dye) protected voidRecipeProvider.stainedGlassPaneFromStainedGlass(ItemLike stainedGlassPane, ItemLike stainedGlass) protected RecipeBuilderRecipeProvider.stairBuilder(ItemLike stairs, Ingredient material) protected voidRecipeProvider.stonecutterResultFromBase(RecipeCategory category, ItemLike result, ItemLike material) protected voidRecipeProvider.stonecutterResultFromBase(RecipeCategory category, ItemLike result, ItemLike material, int resultCount) static SingleItemRecipeBuilderSingleItemRecipeBuilder.stonecutting(Ingredient ingredient, RecipeCategory category, ItemLike result) static SingleItemRecipeBuilderSingleItemRecipeBuilder.stonecutting(Ingredient ingredient, RecipeCategory category, ItemLike result, int count) protected voidRecipeProvider.threeByThreePacker(RecipeCategory category, ItemLike packed, ItemLike unpacked) protected voidRecipeProvider.threeByThreePacker(RecipeCategory category, ItemLike packed, ItemLike unpacked, String criterionName) protected RecipeBuilderRecipeProvider.trapdoorBuilder(ItemLike trapdoor, Ingredient material) protected voidRecipeProvider.twoByTwoPacker(RecipeCategory category, ItemLike packed, ItemLike unpacked) protected voidRecipeProvider.wall(RecipeCategory category, ItemLike wall, ItemLike material) protected RecipeBuilderRecipeProvider.wallBuilder(RecipeCategory category, ItemLike wall, Ingredient material) protected voidRecipeProvider.woodenBoat(ItemLike boat, ItemLike material) protected voidRecipeProvider.woodFromLogs(ItemLike wood, ItemLike log) Method parameters in net.minecraft.data.recipes with type arguments of type ItemLikeModifier and TypeMethodDescriptionprotected voidRecipeProvider.oreBlasting(List<ItemLike> ingredients, RecipeCategory category, ItemLike result, float experience, int cookingTime, String group) protected <T extends AbstractCookingRecipe>
voidRecipeProvider.oreCooking(RecipeSerializer<T> serializer, AbstractCookingRecipe.Factory<T> recipeFactory, List<ItemLike> ingredients, RecipeCategory category, ItemLike result, float experience, int cookingTime, String group, String suffix) protected voidRecipeProvider.oreSmelting(List<ItemLike> ingredients, RecipeCategory category, ItemLike result, float experience, int cookingTime, String group) Constructors in net.minecraft.data.recipes with parameters of type ItemLikeModifierConstructorDescriptionprivateShapedRecipeBuilder(HolderGetter<Item> items, RecipeCategory category, ItemLike result, int count) privateSimpleCookingRecipeBuilder(RecipeCategory category, CookingBookCategory bookCategory, ItemLike result, Ingredient ingredient, float experience, int cookingTime, AbstractCookingRecipe.Factory<?> factory) SingleItemRecipeBuilder(RecipeCategory category, SingleItemRecipe.Factory<?> factory, Ingredient ingredient, ItemLike result, int count) -
Uses of ItemLike in net.minecraft.data.recipes.packs
Fields in net.minecraft.data.recipes.packs with type parameters of type ItemLikeModifier and TypeFieldDescriptionstatic final ImmutableList<ItemLike> VanillaRecipeProvider.COAL_SMELTABLESstatic final ImmutableList<ItemLike> VanillaRecipeProvider.COPPER_SMELTABLESstatic final ImmutableList<ItemLike> VanillaRecipeProvider.DIAMOND_SMELTABLESstatic final ImmutableList<ItemLike> VanillaRecipeProvider.EMERALD_SMELTABLESstatic final ImmutableList<ItemLike> VanillaRecipeProvider.GOLD_SMELTABLESstatic final ImmutableList<ItemLike> VanillaRecipeProvider.IRON_SMELTABLESstatic final ImmutableList<ItemLike> VanillaRecipeProvider.LAPIS_SMELTABLESstatic final ImmutableList<ItemLike> VanillaRecipeProvider.REDSTONE_SMELTABLES -
Uses of ItemLike in net.minecraft.world.entity
Methods in net.minecraft.world.entity with parameters of type ItemLikeModifier and TypeMethodDescriptionEntity.spawnAtLocation(ServerLevel level, ItemLike item) Entity.spawnAtLocation(ServerLevel level, ItemLike item, int yOffset) -
Uses of ItemLike in net.minecraft.world.entity.npc
Constructors in net.minecraft.world.entity.npc with parameters of type ItemLikeModifierConstructorDescriptionEmeraldForItems(ItemLike item, int cost, int maxUses, int villagerXp) EmeraldForItems(ItemLike item, int cost, int maxUses, int villagerXp, int emeraldAmount) ItemsAndEmeraldsToItems(ItemLike fromItem, int fromItemCount, int emeraldCost, Item toItem, int toItemCount, int maxUses, int villagerXp, float priceMultiplier) ItemsAndEmeraldsToItems(ItemLike fromItem, int fromItemCount, int emeraldCost, ItemStack toItem, int toItemCount, int maxUses, int villagerXp, float priceMultiplier) ItemsAndEmeraldsToItems(ItemLike fromItem, int fromItemAmount, int emeraldCost, ItemLike toItem, int toItemCount, int maxUses, int villagerXp, float priceMultiplier, ResourceKey<EnchantmentProvider> enchantmentProvider) -
Uses of ItemLike in net.minecraft.world.item
Classes in net.minecraft.world.item that implement ItemLikeModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassFoodOnAStickItem<T extends Entity & ItemSteerable>classclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassMethods in net.minecraft.world.item with parameters of type ItemLikeModifier and TypeMethodDescriptiondefault voiddefault voidCreativeModeTab.Output.accept(ItemLike item, CreativeModeTab.TabVisibility tabVisibility) static Consumer<UseOnContext> HoeItem.changeIntoStateAndDropItem(BlockState state, ItemLike itemToDrop) ItemStack.hurtAndConvertOnBreak(int amount, ItemLike item, LivingEntity entity, EquipmentSlot slot) ItemStack.transmuteCopy(ItemLike item) ItemStack.transmuteCopy(ItemLike item, int count) private ItemStackItemStack.transmuteCopyIgnoreEmpty(ItemLike item, int count) Method parameters in net.minecraft.world.item with type arguments of type ItemLikeModifier and TypeMethodDescriptionCreativeModeTab.Builder.displayItems(Collection<? extends Holder<? extends ItemLike>> collection) Helper to set this tabs contents to everything in the supplied Collection of Holders.Constructors in net.minecraft.world.item with parameters of type ItemLike -
Uses of ItemLike in net.minecraft.world.item.crafting
Methods in net.minecraft.world.item.crafting with parameters of type ItemLikeMethod parameters in net.minecraft.world.item.crafting with type arguments of type ItemLike -
Uses of ItemLike in net.minecraft.world.item.trading
Constructors in net.minecraft.world.item.trading with parameters of type ItemLike -
Uses of ItemLike in net.minecraft.world.level.block
Classes in net.minecraft.world.level.block that implement ItemLikeModifier and TypeClassDescriptionclassclassclassclassAbstractChestBlock<E extends BlockEntity>classclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassFields in net.minecraft.world.level.block with type parameters of type ItemLikeModifier and TypeFieldDescriptionstatic final it.unimi.dsi.fastutil.objects.Object2FloatMap<ItemLike> ComposterBlock.COMPOSTABLESDeprecated.Methods in net.minecraft.world.level.block that return ItemLikeModifier and TypeMethodDescriptionprotected ItemLikeBeetrootBlock.getBaseSeedId()protected ItemLikeCarrotBlock.getBaseSeedId()protected ItemLikeCropBlock.getBaseSeedId()protected ItemLikePotatoBlock.getBaseSeedId()protected ItemLikeTorchflowerCropBlock.getBaseSeedId()Methods in net.minecraft.world.level.block with parameters of type ItemLikeModifier and TypeMethodDescriptionprivate static voidstatic voidDispenserBlock.registerBehavior(ItemLike item, DispenseItemBehavior behavior) static voidDispenserBlock.registerProjectileBehavior(ItemLike item) static SuspiciousEffectHolder -
Uses of ItemLike in net.minecraft.world.level.block.entity
Methods in net.minecraft.world.level.block.entity with parameters of type ItemLikeModifier and TypeMethodDescription -
Uses of ItemLike in net.minecraft.world.level.block.piston
Classes in net.minecraft.world.level.block.piston that implement ItemLikeModifier and TypeClassDescriptionclassclassclass -
Uses of ItemLike in net.minecraft.world.level.levelgen.flat
Methods in net.minecraft.world.level.levelgen.flat with parameters of type ItemLikeModifier and TypeMethodDescriptionprivate voidFlatLevelGeneratorPresets.Bootstrap.register(ResourceKey<FlatLevelGeneratorPreset> presetKey, ItemLike displayItem, ResourceKey<Biome> biomeKey, Set<ResourceKey<StructureSet>> structureSetKeys, boolean setDecoration, boolean addLakes, FlatLayerInfo... flatLayerInfos) -
Uses of ItemLike in net.minecraft.world.level.storage.loot.entries
Methods in net.minecraft.world.level.storage.loot.entries with parameters of type ItemLikeModifier and TypeMethodDescriptionstatic LootPoolSingletonContainer.Builder<?> LootItem.lootTableItem(ItemLike item) -
Uses of ItemLike in net.neoforged.neoforge.capabilities
Methods in net.neoforged.neoforge.capabilities with parameters of type ItemLikeModifier and TypeMethodDescription<T,C extends @Nullable Object>
voidRegisterCapabilitiesEvent.registerItem(ItemCapability<T, C> capability, ICapabilityProvider<ItemStack, C, T> provider, ItemLike... items) Register a capability provider for some items. -
Uses of ItemLike in net.neoforged.neoforge.client.event
Methods in net.neoforged.neoforge.client.event with parameters of type ItemLikeModifier and TypeMethodDescriptionvoidRegisterItemDecorationsEvent.register(ItemLike itemLike, IItemDecorator decorator) Register an ItemDecorator to an Item -
Uses of ItemLike in net.neoforged.neoforge.common.crafting
Methods in net.neoforged.neoforge.common.crafting with parameters of type ItemLikeModifier and TypeMethodDescriptionstatic <T> IngredientDataComponentIngredient.of(boolean strict, Supplier<? extends DataComponentType<? super T>> type, T value, ItemLike... items) Creates a new ingredient matching any item from the list, containing the given componentsstatic IngredientDataComponentIngredient.of(boolean strict, DataComponentExactPredicate predicate, ItemLike... items) Creates a new ingredient matching any item from the list, containing the given componentsstatic IngredientDataComponentIngredient.of(boolean strict, DataComponentMap map, ItemLike... items) Creates a new ingredient matching any item from the list, containing the given componentsstatic <T> IngredientDataComponentIngredient.of(boolean strict, DataComponentType<? super T> type, T value, ItemLike... items) Creates a new ingredient matching any item from the list, containing the given componentsstatic SizedIngredientHelper method to create a simple sized ingredient that matches a single item. -
Uses of ItemLike in net.neoforged.neoforge.common.data.internal
Methods in net.neoforged.neoforge.common.data.internal with parameters of type ItemLikeModifier and TypeMethodDescriptionprivate voidprivate static booleanNeoForgeAdvancementProvider.predicateMatches(ItemPredicate predicate, ItemLike... targets) private voidprivate static BiFunction<Criterion<?>, HolderLookup.Provider, Criterion<?>> NeoForgeAdvancementProvider.replaceInteractCriteria(ItemPredicate replacement, ItemLike... targetItem) private static BiFunction<Criterion<?>, HolderLookup.Provider, Criterion<?>> NeoForgeAdvancementProvider.replaceMatchToolCriteria(ItemAbility itemAbility, ItemLike... targetItem) -
Uses of ItemLike in net.neoforged.neoforge.event
Methods in net.neoforged.neoforge.event with parameters of type ItemLikeModifier and TypeMethodDescriptionvoidModifyDefaultComponentsEvent.modify(ItemLike item, Consumer<DataComponentPatch.Builder> patch) Patches the default components of the givenitem. -
Uses of ItemLike in net.neoforged.neoforge.registries
Classes in net.neoforged.neoforge.registries that implement ItemLikeModifier and TypeClassDescriptionclassDeferredBlock<T extends Block>classDeferredItem<T extends Item>
compostabledata map instead