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 pIcon, Component pTitle, Component pDescription, @Nullable Identifier pBackground, AdvancementType pType, boolean pShowToast, boolean pAnnounceChat, boolean pHidden) -
Uses of ItemLike in net.minecraft.advancements.criterion
Methods in net.minecraft.advancements.criterion with parameters of type ItemLikeModifier and TypeMethodDescriptionItemPredicate.Builder.of(HolderGetter<Item> pItemRegistry, ItemLike... pItems) ShotCrossbowTrigger.TriggerInstance.shotCrossbow(HolderGetter<Item> pItemRegistry, ItemLike pItem) ConsumeItemTrigger.TriggerInstance.usedItem(HolderGetter<Item> pItemRegistry, ItemLike pItem) UsedTotemTrigger.TriggerInstance.usedTotem(HolderGetter<Item> pItemRegistry, ItemLike pItem) -
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 pItem, ConditionUserBuilder<T> pConditionBuilder) protected <T extends FunctionUserBuilder<T>>
TBlockLootSubProvider.applyExplosionDecay(ItemLike pItem, FunctionUserBuilder<T> pFunctionBuilder) protected LootTable.BuilderBlockLootSubProvider.createMushroomBlockDrop(Block pBlock, ItemLike pItem) protected LootTable.BuilderBlockLootSubProvider.createPotFlowerItemTable(ItemLike pItem) protected LootTable.BuilderBlockLootSubProvider.createShearsOnlyDrop(ItemLike pItem) protected LootTable.BuilderBlockLootSubProvider.createShearsOrSilkTouchOnlyDrop(ItemLike pItem) protected LootTable.BuilderBlockLootSubProvider.createSilkTouchOnlyTable(ItemLike pItem) BlockLootSubProvider.createSingleItemTable(ItemLike pItem) protected LootTable.BuilderBlockLootSubProvider.createSingleItemTable(ItemLike pItem, NumberProvider pCount) protected LootTable.BuilderBlockLootSubProvider.createSingleItemTableWithSilkTouch(Block pBlock, ItemLike pItem) protected LootTable.BuilderBlockLootSubProvider.createSingleItemTableWithSilkTouch(Block pBlock, ItemLike pItem, NumberProvider pCount) 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 pBed, ItemLike pWool) static SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.blasting(Ingredient pIngredient, RecipeCategory pCategory, ItemLike pResult, float pExperience, int pCookingTime) protected RecipeBuilderRecipeProvider.buttonBuilder(ItemLike pButton, Ingredient pMaterial) static SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.campfireCooking(Ingredient pIngredient, RecipeCategory pCategory, ItemLike pResult, float pExperience, int pCookingTime) protected voidprotected voidprotected voidprotected voidRecipeProvider.chiseled(RecipeCategory pCategory, ItemLike pChiseledResult, ItemLike pMaterial) protected ShapedRecipeBuilderRecipeProvider.chiseledBuilder(RecipeCategory pCategory, ItemLike pChiseledResult, Ingredient pMaterial) protected voidRecipeProvider.coloredTerracottaFromTerracottaAndDye(ItemLike pTerracotta, ItemLike pDye) protected voidRecipeProvider.concretePowder(ItemLike pConcretePowder, ItemLike pDye) protected voidRecipeProvider.copySmithingTemplate(ItemLike pTemplate, Ingredient pBaseItem) protected voidRecipeProvider.copySmithingTemplate(ItemLike pTemplate, ItemLike pBaseItem) RecipeProvider.FamilyRecipeProvider.create(RecipeProvider pRecipeProvider, ItemLike pIngredient, ItemLike pResult) protected voidRecipeProvider.cut(RecipeCategory pCategory, ItemLike pCutResult, ItemLike pMaterial) protected ShapedRecipeBuilderRecipeProvider.cutBuilder(RecipeCategory pCategory, ItemLike pCutResult, Ingredient pMaterial) Adds a key to the recipe pattern.private static CookingBookCategorySimpleCookingRecipeBuilder.determineBlastingRecipeCategory(ItemLike pResult) private static CookingBookCategorySimpleCookingRecipeBuilder.determineRecipeCategory(RecipeSerializer<? extends AbstractCookingRecipe> pSerializer, ItemLike pResult) private static CookingBookCategorySimpleCookingRecipeBuilder.determineSmeltingRecipeCategory(ItemLike pResult) protected RecipeBuilderRecipeProvider.doorBuilder(ItemLike pDoor, Ingredient pMaterial) protected voidprotected RecipeBuilderRecipeProvider.fenceBuilder(ItemLike pFence, Ingredient pMaterial) protected RecipeBuilderRecipeProvider.fenceGateBuilder(ItemLike pFenceGate, Ingredient pMaterial) static <T extends AbstractCookingRecipe>
SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.generic(Ingredient pIngredient, RecipeCategory pCategory, ItemLike pResult, float pExperience, int pCookingTime, RecipeSerializer<T> pCookingSerializer, AbstractCookingRecipe.Factory<T> pFactory) protected static StringRecipeProvider.getBlastingRecipeName(ItemLike pItemLike) protected static StringRecipeProvider.getConversionRecipeName(ItemLike pResult, ItemLike pIngredient) static IdentifierRecipeBuilder.getDefaultRecipeId(ItemLike pItemLike) protected static StringRecipeProvider.getHasName(ItemLike pItemLike) protected static StringRecipeProvider.getItemName(ItemLike pItemLike) protected static StringRecipeProvider.getSimpleRecipeName(ItemLike pItemLike) protected static StringRecipeProvider.getSmeltingRecipeName(ItemLike pItemLike) protected voidRecipeProvider.hangingSign(ItemLike pSign, ItemLike pMaterial) protected voidprotected Criterion<InventoryChangeTrigger.TriggerInstance> RecipeProvider.has(MinMaxBounds.Ints pCount, ItemLike pItem) protected Criterion<InventoryChangeTrigger.TriggerInstance> protected voidRecipeProvider.mosaicBuilder(RecipeCategory pCategory, ItemLike pResult, ItemLike pMaterial) protected voidRecipeProvider.nineBlockStorageRecipes(RecipeCategory pUnpackedCategory, ItemLike pUnpacked, RecipeCategory pPackedCategory, ItemLike pPacked) protected voidRecipeProvider.nineBlockStorageRecipes(RecipeCategory pUnpackedCategory, ItemLike pUnpacked, RecipeCategory pPackedCategory, ItemLike pPacked, String pPackedName, @Nullable String pPackedGroup, String pUnpackedName, @Nullable String pUnpackedGroup) protected voidRecipeProvider.nineBlockStorageRecipesRecipesWithCustomUnpacking(RecipeCategory pUnpackedCategory, ItemLike pUnpacked, RecipeCategory pPackedCategory, ItemLike pPacked, String pUnpackedName, String pUnpackedGroup) protected voidRecipeProvider.nineBlockStorageRecipesWithCustomPacking(RecipeCategory pUnpackedCategory, ItemLike pUnpacked, RecipeCategory pPackedCategory, ItemLike pPacked, String pPackedName, String pPackedGroup) protected voidRecipeProvider.oneToOneConversionRecipe(ItemLike pResult, ItemLike pIngredient, @Nullable String pGroup) protected voidRecipeProvider.oneToOneConversionRecipe(ItemLike pResult, ItemLike pIngredient, @Nullable String pGroup, int pResultCount) protected voidRecipeProvider.oreBlasting(List<ItemLike> pIngredients, RecipeCategory pCategory, ItemLike pResult, float pExperience, int pCookingTime, String pGroup) protected <T extends AbstractCookingRecipe>
voidRecipeProvider.oreCooking(RecipeSerializer<T> pSerializer, AbstractCookingRecipe.Factory<T> pRecipeFactory, List<ItemLike> pIngredients, RecipeCategory pCategory, ItemLike pResult, float pExperience, int pCookingTime, String pGroup, String pSuffix) protected voidRecipeProvider.oreSmelting(List<ItemLike> pIngredients, RecipeCategory pCategory, ItemLike pResult, float pExperience, int pCookingTime, String pGroup) protected voidRecipeProvider.planksFromLog(ItemLike pPlanks, TagKey<Item> pLogs, int pResultCount) protected voidRecipeProvider.planksFromLogs(ItemLike pPlanks, TagKey<Item> pLogs, int pResult) protected voidRecipeProvider.polished(RecipeCategory pCategory, ItemLike pResult, ItemLike pMaterial) protected RecipeBuilderRecipeProvider.polishedBuilder(RecipeCategory pCategory, ItemLike pResult, Ingredient pMaterial) protected voidRecipeProvider.pressurePlate(ItemLike pPressurePlate, ItemLike pMaterial) protected RecipeBuilderRecipeProvider.pressurePlateBuilder(RecipeCategory pCategory, ItemLike pPressurePlate, Ingredient pMaterial) Adds an ingredient of the given item.Adds the given ingredient multiple times.protected ShapedRecipeBuilderRecipeProvider.shaped(RecipeCategory pCategory, ItemLike pResult) protected ShapedRecipeBuilderRecipeProvider.shaped(RecipeCategory pCategory, ItemLike pResult, int pCount) static ShapedRecipeBuilderShapedRecipeBuilder.shaped(HolderGetter<Item> pItems, RecipeCategory pCategory, ItemLike pResult) static ShapedRecipeBuilderShapedRecipeBuilder.shaped(HolderGetter<Item> pItems, RecipeCategory pCategory, ItemLike pResult, int pCount) protected ShapelessRecipeBuilderRecipeProvider.shapeless(RecipeCategory pCategory, ItemLike pResult) protected ShapelessRecipeBuilderRecipeProvider.shapeless(RecipeCategory pCategory, ItemLike pResult, int pCount) static ShapelessRecipeBuilderShapelessRecipeBuilder.shapeless(HolderGetter<Item> pItems, RecipeCategory pCategory, ItemLike pResult) static ShapelessRecipeBuilderShapelessRecipeBuilder.shapeless(HolderGetter<Item> pItems, RecipeCategory pCategory, ItemLike pResult, int pCount) protected voidprotected RecipeBuilderRecipeProvider.signBuilder(ItemLike pSign, Ingredient pMaterial) protected <T extends AbstractCookingRecipe>
voidRecipeProvider.simpleCookingRecipe(String pCookingMethod, RecipeSerializer<T> pCookingSerializer, AbstractCookingRecipe.Factory<T> pRecipeFactory, int pCookingTime, ItemLike pMaterial, ItemLike pResult, float pExperience) protected voidRecipeProvider.slab(RecipeCategory pCategory, ItemLike pSlab, ItemLike pMaterial) protected RecipeBuilderRecipeProvider.slabBuilder(RecipeCategory pCategory, ItemLike pSlab, Ingredient pMaterial) static SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.smelting(Ingredient pIngredient, RecipeCategory pCategory, ItemLike pResult, float pExperience, int pCookingTime) protected voidRecipeProvider.smeltingResultFromBase(ItemLike pResult, ItemLike pIngredient) static SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.smoking(Ingredient pIngredient, RecipeCategory pCategory, ItemLike pResult, float pExperience, int pCookingTime) protected voidRecipeProvider.stainedGlassFromGlassAndDye(ItemLike pStainedGlass, ItemLike pDye) protected voidRecipeProvider.stainedGlassPaneFromGlassPaneAndDye(ItemLike pStainedGlassPane, ItemLike pDye) protected voidRecipeProvider.stainedGlassPaneFromStainedGlass(ItemLike pStainedGlassPane, ItemLike pStainedGlass) protected RecipeBuilderRecipeProvider.stairBuilder(ItemLike pStairs, Ingredient pMaterial) protected voidRecipeProvider.stonecutterResultFromBase(RecipeCategory pCategory, ItemLike pResult, ItemLike pMaterial) protected voidRecipeProvider.stonecutterResultFromBase(RecipeCategory pCategory, ItemLike pResult, ItemLike pMaterial, int pResultCount) static SingleItemRecipeBuilderSingleItemRecipeBuilder.stonecutting(Ingredient pIngredient, RecipeCategory pCategory, ItemLike pResult) static SingleItemRecipeBuilderSingleItemRecipeBuilder.stonecutting(Ingredient pIngredient, RecipeCategory pCategory, ItemLike pResult, int pCount) protected voidRecipeProvider.threeByThreePacker(RecipeCategory pCategory, ItemLike pPacked, ItemLike pUnpacked) protected voidRecipeProvider.threeByThreePacker(RecipeCategory pCategory, ItemLike pPacked, ItemLike pUnpacked, String pCriterionName) protected RecipeBuilderRecipeProvider.trapdoorBuilder(ItemLike pTrapdoor, Ingredient pMaterial) protected voidRecipeProvider.twoByTwoPacker(RecipeCategory pCategory, ItemLike pPacked, ItemLike pUnpacked) protected voidRecipeProvider.wall(RecipeCategory pCategory, ItemLike pWall, ItemLike pMaterial) protected RecipeBuilderRecipeProvider.wallBuilder(RecipeCategory pCategory, ItemLike pWall, Ingredient pMaterial) protected voidRecipeProvider.woodenBoat(ItemLike pBoat, ItemLike pMaterial) protected voidRecipeProvider.woodFromLogs(ItemLike pWood, ItemLike pLog) Method parameters in net.minecraft.data.recipes with type arguments of type ItemLikeModifier and TypeMethodDescriptionprotected voidRecipeProvider.oreBlasting(List<ItemLike> pIngredients, RecipeCategory pCategory, ItemLike pResult, float pExperience, int pCookingTime, String pGroup) protected <T extends AbstractCookingRecipe>
voidRecipeProvider.oreCooking(RecipeSerializer<T> pSerializer, AbstractCookingRecipe.Factory<T> pRecipeFactory, List<ItemLike> pIngredients, RecipeCategory pCategory, ItemLike pResult, float pExperience, int pCookingTime, String pGroup, String pSuffix) protected voidRecipeProvider.oreSmelting(List<ItemLike> pIngredients, RecipeCategory pCategory, ItemLike pResult, float pExperience, int pCookingTime, String pGroup) Constructors in net.minecraft.data.recipes with parameters of type ItemLikeModifierConstructorDescriptionprivateShapedRecipeBuilder(HolderGetter<Item> pItems, RecipeCategory pCategory, ItemLike pResult, int pCount) privateSimpleCookingRecipeBuilder(RecipeCategory pCategory, CookingBookCategory pBookCategory, ItemLike pResult, Ingredient pIngredient, float pExperience, int pCookingTime, AbstractCookingRecipe.Factory<?> pFactory) SingleItemRecipeBuilder(RecipeCategory pCategory, SingleItemRecipe.Factory<?> pFactory, Ingredient pIngredient, ItemLike pResult, int pCount) -
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 TypeMethodDescription@Nullable ItemEntityEntity.spawnAtLocation(ServerLevel pLevel, ItemLike pItem) -
Uses of ItemLike in net.minecraft.world.entity.npc.villager
Constructors in net.minecraft.world.entity.npc.villager with parameters of type ItemLikeModifierConstructorDescriptionEmeraldForItems(ItemLike pItem, int pCost, int pMaxUses, int pVillagerXp) EmeraldForItems(ItemLike pItem, int pCost, int pMaxUses, int pVillagerXp, int pEmeraldAmount) ItemsAndEmeraldsToItems(ItemLike pFromItem, int pFromItemCount, int pEmeraldCost, Item pToItem, int pToItemCount, int pMaxUses, int pVillagerXp, float pPriceMultiplier) ItemsAndEmeraldsToItems(ItemLike pFromItem, int pFromItemCount, int pEmeraldCost, ItemStack pToItem, int pToItemCount, int pMaxUses, int pVillagerXp, float pPriceMultiplier) ItemsAndEmeraldsToItems(ItemLike pFromItem, int pFromItemAmount, int pEmeraldCost, ItemLike pToItem, int pToItemCount, int pMaxUses, int pVillagerXp, float pPriceMultiplier, ResourceKey<EnchantmentProvider> pEnchantmentProvider) -
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 pItem, CreativeModeTab.TabVisibility pTabVisibility) static Consumer<UseOnContext> HoeItem.changeIntoStateAndDropItem(BlockState pState, ItemLike pItemToDrop) ItemStack.hurtAndConvertOnBreak(int pAmount, ItemLike pItem, LivingEntity pEntity, EquipmentSlot pSlot) ItemStack.transmuteCopy(ItemLike pItem) ItemStack.transmuteCopy(ItemLike pItem, int pCount) private ItemStackItemStack.transmuteCopyIgnoreEmpty(ItemLike pItem, int pCount) 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>classclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassFields 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 pItem, DispenseItemBehavior pBehavior) static voidDispenserBlock.registerProjectileBehavior(ItemLike pItem) static @Nullable 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> pPresetKey, ItemLike pDisplayItem, ResourceKey<Biome> pBiomeKey, Set<ResourceKey<StructureSet>> pStructureSetKeys, boolean pSetDecoration, boolean pAddLakes, FlatLayerInfo... pFlatLayerInfos) -
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 pItem) -
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
Classes in net.neoforged.neoforge.common.data.internal that implement ItemLikeMethods 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> -
Uses of ItemLike in net.neoforged.neoforge.transfer.item
Methods in net.neoforged.neoforge.transfer.item with parameters of type ItemLikeModifier and TypeMethodDescriptionbooleanReturns true if the item instance matches the backing instance value.static ItemResourceNote: This cannot be called before your item is registeredstatic ItemResourceItemResource.of(ItemLike item, DataComponentPatch patch) Note: This cannot be called before your item is registered
compostabledata map instead