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 TypeMethodDescriptionShotCrossbowTrigger.TriggerInstance.shotCrossbow(ItemLike item) -
Uses of ItemLike in net.minecraft.client.color.item
Methods in net.minecraft.client.color.item with parameters of type ItemLike -
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 static LootTable.BuilderBlockLootSubProvider.createShearsOnlyDrop(ItemLike item) protected static LootTable.BuilderEntityLootSubProvider.createSheepTable(ItemLike woolItem) 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.recipes
Fields in net.minecraft.data.recipes with type parameters of type ItemLikeModifier and TypeFieldDescriptionprivate static final Map<BlockFamily.Variant, BiFunction<ItemLike, ItemLike, RecipeBuilder>> RecipeProvider.SHAPE_BUILDERSprivate static final Map<BlockFamily.Variant, BiFunction<ItemLike, ItemLike, RecipeBuilder>> RecipeProvider.SHAPE_BUILDERSMethods in net.minecraft.data.recipes with parameters of type ItemLikeModifier and TypeMethodDescriptionprotected static voidRecipeProvider.banner(RecipeOutput recipeOutput, ItemLike banner, ItemLike material) protected static voidRecipeProvider.bedFromPlanksAndWool(RecipeOutput recipeOutput, ItemLike bed, ItemLike wool) static SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.blasting(Ingredient ingredient, RecipeCategory category, ItemLike result, float experience, int cookingTime) protected static RecipeBuilderRecipeProvider.buttonBuilder(ItemLike button, Ingredient material) static SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.campfireCooking(Ingredient ingredient, RecipeCategory category, ItemLike result, float experience, int cookingTime) protected static voidRecipeProvider.candle(RecipeOutput recipeOutput, ItemLike candle, ItemLike dye) protected static voidRecipeProvider.carpet(RecipeOutput recipeOutput, ItemLike carpet, ItemLike material) protected static voidRecipeProvider.chestBoat(RecipeOutput recipeOutput, ItemLike boat, ItemLike material) protected static voidRecipeProvider.chiseled(RecipeOutput recipeOutput, RecipeCategory category, ItemLike chiseledResult, ItemLike material) protected static ShapedRecipeBuilderRecipeProvider.chiseledBuilder(RecipeCategory category, ItemLike chiseledResult, Ingredient material) protected static voidRecipeProvider.coloredTerracottaFromTerracottaAndDye(RecipeOutput recipeOutput, ItemLike terracotta, ItemLike dye) protected static voidRecipeProvider.concretePowder(RecipeOutput recipeOutput, ItemLike concretePowder, ItemLike dye) protected static voidRecipeProvider.copySmithingTemplate(RecipeOutput recipeOutput, ItemLike template, TagKey<Item> baseMaterial) protected static voidRecipeProvider.copySmithingTemplate(RecipeOutput recipeOutput, ItemLike template, Ingredient baseItem) protected static voidRecipeProvider.copySmithingTemplate(RecipeOutput recipeOutput, ItemLike template, ItemLike baseItem) protected static voidRecipeProvider.cut(RecipeOutput recipeOutput, RecipeCategory category, ItemLike cutResult, ItemLike material) protected static 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 static RecipeBuilderRecipeProvider.doorBuilder(ItemLike door, Ingredient material) protected static RecipeBuilderRecipeProvider.fenceBuilder(ItemLike fence, Ingredient material) protected static 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 static voidRecipeProvider.hangingSign(RecipeOutput recipeOutput, ItemLike sign, ItemLike material) protected static Criterion<InventoryChangeTrigger.TriggerInstance> RecipeProvider.has(MinMaxBounds.Ints count, ItemLike item) protected static Criterion<InventoryChangeTrigger.TriggerInstance> protected static voidRecipeProvider.mosaicBuilder(RecipeOutput recipeOutput, RecipeCategory category, ItemLike result, ItemLike material) protected static voidRecipeProvider.nineBlockStorageRecipes(RecipeOutput recipeOutput, RecipeCategory unpackedCategory, ItemLike unpacked, RecipeCategory packedCategory, ItemLike packed) protected static voidRecipeProvider.nineBlockStorageRecipes(RecipeOutput recipeOutput, RecipeCategory unpackedCategory, ItemLike unpacked, RecipeCategory packedCategory, ItemLike packed, String packedName, String packedGroup, String unpackedName, String unpackedGroup) protected static voidRecipeProvider.nineBlockStorageRecipesRecipesWithCustomUnpacking(RecipeOutput recipeOutput, RecipeCategory unpackedCategory, ItemLike unpacked, RecipeCategory packedCategory, ItemLike packed, String unpackedName, String unpackedGroup) protected static voidRecipeProvider.nineBlockStorageRecipesWithCustomPacking(RecipeOutput recipeOutput, RecipeCategory unpackedCategory, ItemLike unpacked, RecipeCategory packedCategory, ItemLike packed, String packedName, String packedGroup) protected static voidRecipeProvider.oneToOneConversionRecipe(RecipeOutput recipeOutput, ItemLike result, ItemLike ingredient, String group) protected static voidRecipeProvider.oneToOneConversionRecipe(RecipeOutput recipeOutput, ItemLike result, ItemLike ingredient, String group, int resultCount) protected static voidRecipeProvider.oreBlasting(RecipeOutput recipeOutput, List<ItemLike> ingredients, RecipeCategory category, ItemLike result, float experience, int cookingTime, String group) protected static <T extends AbstractCookingRecipe>
voidRecipeProvider.oreCooking(RecipeOutput recipeOutput, RecipeSerializer<T> serializer, AbstractCookingRecipe.Factory<T> recipeFactory, List<ItemLike> ingredients, RecipeCategory category, ItemLike result, float experience, int cookingTime, String group, String suffix) protected static voidRecipeProvider.oreSmelting(RecipeOutput recipeOutput, List<ItemLike> ingredients, RecipeCategory category, ItemLike result, float experience, int cookingTime, String group) protected static voidRecipeProvider.planksFromLog(RecipeOutput recipeOutput, ItemLike planks, TagKey<Item> logs, int resultCount) protected static voidRecipeProvider.planksFromLogs(RecipeOutput recipeOutput, ItemLike planks, TagKey<Item> logs, int result) protected static voidRecipeProvider.polished(RecipeOutput recipeOutput, RecipeCategory category, ItemLike result, ItemLike material) protected static RecipeBuilderRecipeProvider.polishedBuilder(RecipeCategory category, ItemLike result, Ingredient material) protected static voidRecipeProvider.pressurePlate(RecipeOutput recipeOutput, ItemLike pressurePlate, ItemLike material) protected static RecipeBuilderRecipeProvider.pressurePlateBuilder(RecipeCategory category, ItemLike pressurePlate, Ingredient material) Adds an ingredient of the given item.Adds the given ingredient multiple times.static ShapedRecipeBuilderShapedRecipeBuilder.shaped(RecipeCategory category, ItemLike result) Creates a new builder for a shaped recipe.static ShapedRecipeBuilderShapedRecipeBuilder.shaped(RecipeCategory category, ItemLike result, int count) Creates a new builder for a shaped recipe.static ShapelessRecipeBuilderShapelessRecipeBuilder.shapeless(RecipeCategory category, ItemLike result) Creates a new builder for a shapeless recipe.static ShapelessRecipeBuilderShapelessRecipeBuilder.shapeless(RecipeCategory category, ItemLike result, int count) Creates a new builder for a shapeless recipe.protected static RecipeBuilderRecipeProvider.signBuilder(ItemLike sign, Ingredient material) protected static <T extends AbstractCookingRecipe>
voidRecipeProvider.simpleCookingRecipe(RecipeOutput recipeOutput, String cookingMethod, RecipeSerializer<T> cookingSerializer, AbstractCookingRecipe.Factory<T> recipeFactory, int cookingTime, ItemLike material, ItemLike result, float experience) protected static voidRecipeProvider.slab(RecipeOutput recipeOutput, RecipeCategory category, ItemLike slab, ItemLike material) protected static RecipeBuilderRecipeProvider.slabBuilder(RecipeCategory category, ItemLike slab, Ingredient material) static SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.smelting(Ingredient ingredient, RecipeCategory category, ItemLike result, float experience, int cookingTime) protected static voidRecipeProvider.smeltingResultFromBase(RecipeOutput recipeOutput, ItemLike result, ItemLike ingredient) static SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.smoking(Ingredient ingredient, RecipeCategory category, ItemLike result, float experience, int cookingTime) protected static voidRecipeProvider.stainedGlassFromGlassAndDye(RecipeOutput recipeOutput, ItemLike stainedGlass, ItemLike dye) protected static voidRecipeProvider.stainedGlassPaneFromGlassPaneAndDye(RecipeOutput recipeOutput, ItemLike stainedGlassPane, ItemLike dye) protected static voidRecipeProvider.stainedGlassPaneFromStainedGlass(RecipeOutput recipeOutput, ItemLike stainedGlassPane, ItemLike stainedGlass) protected static RecipeBuilderRecipeProvider.stairBuilder(ItemLike stairs, Ingredient material) protected static voidRecipeProvider.stonecutterResultFromBase(RecipeOutput recipeOutput, RecipeCategory category, ItemLike result, ItemLike material) protected static voidRecipeProvider.stonecutterResultFromBase(RecipeOutput recipeOutput, 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 static voidRecipeProvider.threeByThreePacker(RecipeOutput recipeOutput, RecipeCategory category, ItemLike packed, ItemLike unpacked) protected static voidRecipeProvider.threeByThreePacker(RecipeOutput recipeOutput, RecipeCategory category, ItemLike packed, ItemLike unpacked, String criterionName) protected static RecipeBuilderRecipeProvider.trapdoorBuilder(ItemLike trapdoor, Ingredient material) protected static voidRecipeProvider.twoByTwoPacker(RecipeOutput recipeOutput, RecipeCategory category, ItemLike packed, ItemLike unpacked) protected static voidRecipeProvider.wall(RecipeOutput recipeOutput, RecipeCategory category, ItemLike wall, ItemLike material) protected static RecipeBuilderRecipeProvider.wallBuilder(RecipeCategory category, ItemLike wall, Ingredient material) protected static voidRecipeProvider.woodenBoat(RecipeOutput recipeOutput, ItemLike boat, ItemLike material) protected static voidRecipeProvider.woodFromLogs(RecipeOutput recipeOutput, ItemLike wood, ItemLike log) Method parameters in net.minecraft.data.recipes with type arguments of type ItemLikeModifier and TypeMethodDescriptionprotected static voidRecipeProvider.oreBlasting(RecipeOutput recipeOutput, List<ItemLike> ingredients, RecipeCategory category, ItemLike result, float experience, int cookingTime, String group) protected static <T extends AbstractCookingRecipe>
voidRecipeProvider.oreCooking(RecipeOutput recipeOutput, RecipeSerializer<T> serializer, AbstractCookingRecipe.Factory<T> recipeFactory, List<ItemLike> ingredients, RecipeCategory category, ItemLike result, float experience, int cookingTime, String group, String suffix) protected static voidRecipeProvider.oreSmelting(RecipeOutput recipeOutput, List<ItemLike> ingredients, RecipeCategory category, ItemLike result, float experience, int cookingTime, String group) Constructors in net.minecraft.data.recipes with parameters of type ItemLikeModifierConstructorDescriptionShapedRecipeBuilder(RecipeCategory category, ItemLike result, int count) ShapelessRecipeBuilder(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 com.google.common.collect.ImmutableList<ItemLike> VanillaRecipeProvider.COAL_SMELTABLESstatic final com.google.common.collect.ImmutableList<ItemLike> VanillaRecipeProvider.COPPER_SMELTABLESstatic final com.google.common.collect.ImmutableList<ItemLike> VanillaRecipeProvider.DIAMOND_SMELTABLESstatic final com.google.common.collect.ImmutableList<ItemLike> VanillaRecipeProvider.EMERALD_SMELTABLESstatic final com.google.common.collect.ImmutableList<ItemLike> VanillaRecipeProvider.GOLD_SMELTABLESstatic final com.google.common.collect.ImmutableList<ItemLike> VanillaRecipeProvider.IRON_SMELTABLESstatic final com.google.common.collect.ImmutableList<ItemLike> VanillaRecipeProvider.LAPIS_SMELTABLESstatic final com.google.common.collect.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(ItemLike item) Entity.spawnAtLocation(ItemLike item, int offsetY) -
Uses of ItemLike in net.minecraft.world.entity.animal
Fields in net.minecraft.world.entity.animal with type parameters of type ItemLike -
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) privateItemsAndEmeraldsToItems(ItemLike fromItem, int fromItemCount, int emeraldCost, ItemStack toItem, int toItemCount, int maxUses, int villagerXp, float priceMultiplier) (package private)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.food
Methods in net.minecraft.world.food with parameters of type ItemLike -
Uses of ItemLike in net.minecraft.world.item
Classes in net.minecraft.world.item that implement ItemLikeModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassFoodOnAStickItem<T extends Entity & ItemSteerable>classclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassMethods 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) 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 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>classclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassFields in net.minecraft.world.level.block with type parameters of type ItemLikeModifier and TypeFieldDescriptionstatic final it.unimi.dsi.fastutil.objects.Object2FloatMap<ItemLike> ComposterBlock.COMPOSTABLESDeprecated.Neo: Use thecompostabledata map insteadMethods 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 ItemLike -
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 ItemLike -
Uses of ItemLike in net.neoforged.neoforge.common
Classes in net.neoforged.neoforge.common that implement ItemLike -
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, DataComponentMap map, ItemLike... items) Creates a new ingredient matching any item from the list, containing the given componentsstatic IngredientDataComponentIngredient.of(boolean strict, DataComponentPredicate predicate, 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>
RegisterColorHandlersEvent.Item