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, ResourceLocation pBackground, AdvancementType pType, boolean pShowToast, boolean pAnnounceChat, boolean pHidden) -
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> 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.Builder
BlockLootSubProvider.createMushroomBlockDrop
(Block pBlock, ItemLike pItem) protected LootTable.Builder
BlockLootSubProvider.createPotFlowerItemTable
(ItemLike pItem) protected LootTable.Builder
BlockLootSubProvider.createShearsOnlyDrop
(ItemLike pItem) protected LootTable.Builder
BlockLootSubProvider.createShearsOrSilkTouchOnlyDrop
(ItemLike pItem) protected LootTable.Builder
BlockLootSubProvider.createSilkTouchOnlyTable
(ItemLike pItem) BlockLootSubProvider.createSingleItemTable
(ItemLike pItem) protected LootTable.Builder
BlockLootSubProvider.createSingleItemTable
(ItemLike pItem, NumberProvider pCount) protected LootTable.Builder
BlockLootSubProvider.createSingleItemTableWithSilkTouch
(Block pBlock, ItemLike pItem) protected LootTable.Builder
BlockLootSubProvider.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 void
protected void
RecipeProvider.bedFromPlanksAndWool
(ItemLike pBed, ItemLike pWool) static SimpleCookingRecipeBuilder
SimpleCookingRecipeBuilder.blasting
(Ingredient pIngredient, RecipeCategory pCategory, ItemLike pResult, float pExperience, int pCookingTime) protected RecipeBuilder
RecipeProvider.buttonBuilder
(ItemLike pButton, Ingredient pMaterial) static SimpleCookingRecipeBuilder
SimpleCookingRecipeBuilder.campfireCooking
(Ingredient pIngredient, RecipeCategory pCategory, ItemLike pResult, float pExperience, int pCookingTime) protected void
protected void
protected void
protected void
RecipeProvider.chiseled
(RecipeCategory pCategory, ItemLike pChiseledResult, ItemLike pMaterial) protected ShapedRecipeBuilder
RecipeProvider.chiseledBuilder
(RecipeCategory pCategory, ItemLike pChiseledResult, Ingredient pMaterial) protected void
RecipeProvider.coloredTerracottaFromTerracottaAndDye
(ItemLike pTerracotta, ItemLike pDye) protected void
RecipeProvider.concretePowder
(ItemLike pConcretePowder, ItemLike pDye) protected void
RecipeProvider.copySmithingTemplate
(ItemLike pTemplate, Ingredient pBaseItem) protected void
RecipeProvider.copySmithingTemplate
(ItemLike pTemplate, ItemLike pBaseItem) RecipeProvider.FamilyRecipeProvider.create
(RecipeProvider pRecipeProvider, ItemLike pIngredient, ItemLike pResult) protected void
RecipeProvider.cut
(RecipeCategory pCategory, ItemLike pCutResult, ItemLike pMaterial) protected ShapedRecipeBuilder
RecipeProvider.cutBuilder
(RecipeCategory pCategory, ItemLike pCutResult, Ingredient pMaterial) Adds a key to the recipe pattern.private static CookingBookCategory
SimpleCookingRecipeBuilder.determineBlastingRecipeCategory
(ItemLike pResult) private static CookingBookCategory
SimpleCookingRecipeBuilder.determineRecipeCategory
(RecipeSerializer<? extends AbstractCookingRecipe> pSerializer, ItemLike pResult) private static CookingBookCategory
SimpleCookingRecipeBuilder.determineSmeltingRecipeCategory
(ItemLike pResult) protected RecipeBuilder
RecipeProvider.doorBuilder
(ItemLike pDoor, Ingredient pMaterial) protected void
protected RecipeBuilder
RecipeProvider.fenceBuilder
(ItemLike pFence, Ingredient pMaterial) protected RecipeBuilder
RecipeProvider.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 String
RecipeProvider.getBlastingRecipeName
(ItemLike pItemLike) protected static String
RecipeProvider.getConversionRecipeName
(ItemLike pResult, ItemLike pIngredient) static ResourceLocation
RecipeBuilder.getDefaultRecipeId
(ItemLike pItemLike) protected static String
RecipeProvider.getHasName
(ItemLike pItemLike) protected static String
RecipeProvider.getItemName
(ItemLike pItemLike) protected static String
RecipeProvider.getSimpleRecipeName
(ItemLike pItemLike) protected static String
RecipeProvider.getSmeltingRecipeName
(ItemLike pItemLike) protected void
RecipeProvider.hangingSign
(ItemLike pSign, ItemLike pMaterial) protected void
protected Criterion
<InventoryChangeTrigger.TriggerInstance> RecipeProvider.has
(MinMaxBounds.Ints pCount, ItemLike pItem) protected Criterion
<InventoryChangeTrigger.TriggerInstance> protected void
RecipeProvider.mosaicBuilder
(RecipeCategory pCategory, ItemLike pResult, ItemLike pMaterial) protected void
RecipeProvider.nineBlockStorageRecipes
(RecipeCategory pUnpackedCategory, ItemLike pUnpacked, RecipeCategory pPackedCategory, ItemLike pPacked) protected void
RecipeProvider.nineBlockStorageRecipes
(RecipeCategory pUnpackedCategory, ItemLike pUnpacked, RecipeCategory pPackedCategory, ItemLike pPacked, String pPackedName, String pPackedGroup, String pUnpackedName, String pUnpackedGroup) protected void
RecipeProvider.nineBlockStorageRecipesRecipesWithCustomUnpacking
(RecipeCategory pUnpackedCategory, ItemLike pUnpacked, RecipeCategory pPackedCategory, ItemLike pPacked, String pUnpackedName, String pUnpackedGroup) protected void
RecipeProvider.nineBlockStorageRecipesWithCustomPacking
(RecipeCategory pUnpackedCategory, ItemLike pUnpacked, RecipeCategory pPackedCategory, ItemLike pPacked, String pPackedName, String pPackedGroup) protected void
RecipeProvider.oneToOneConversionRecipe
(ItemLike pResult, ItemLike pIngredient, String pGroup) protected void
RecipeProvider.oneToOneConversionRecipe
(ItemLike pResult, ItemLike pIngredient, String pGroup, int pResultCount) protected void
RecipeProvider.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 void
RecipeProvider.oreSmelting
(List<ItemLike> pIngredients, RecipeCategory pCategory, ItemLike pResult, float pExperience, int pCookingTime, String pGroup) protected void
RecipeProvider.planksFromLog
(ItemLike pPlanks, TagKey<Item> pLogs, int pResultCount) protected void
RecipeProvider.planksFromLogs
(ItemLike pPlanks, TagKey<Item> pLogs, int pResult) protected void
RecipeProvider.polished
(RecipeCategory pCategory, ItemLike pResult, ItemLike pMaterial) protected RecipeBuilder
RecipeProvider.polishedBuilder
(RecipeCategory pCategory, ItemLike pResult, Ingredient pMaterial) protected void
RecipeProvider.pressurePlate
(ItemLike pPressurePlate, ItemLike pMaterial) protected RecipeBuilder
RecipeProvider.pressurePlateBuilder
(RecipeCategory pCategory, ItemLike pPressurePlate, Ingredient pMaterial) Adds an ingredient of the given item.Adds the given ingredient multiple times.protected ShapedRecipeBuilder
RecipeProvider.shaped
(RecipeCategory pCategory, ItemLike pResult) protected ShapedRecipeBuilder
RecipeProvider.shaped
(RecipeCategory pCategory, ItemLike pResult, int pCount) static ShapedRecipeBuilder
ShapedRecipeBuilder.shaped
(HolderGetter<Item> pItems, RecipeCategory pCategory, ItemLike pResult) static ShapedRecipeBuilder
ShapedRecipeBuilder.shaped
(HolderGetter<Item> pItems, RecipeCategory pCategory, ItemLike pResult, int pCount) protected ShapelessRecipeBuilder
RecipeProvider.shapeless
(RecipeCategory pCategory, ItemLike pResult) protected ShapelessRecipeBuilder
RecipeProvider.shapeless
(RecipeCategory pCategory, ItemLike pResult, int pCount) static ShapelessRecipeBuilder
ShapelessRecipeBuilder.shapeless
(HolderGetter<Item> pItems, RecipeCategory pCategory, ItemLike pResult) static ShapelessRecipeBuilder
ShapelessRecipeBuilder.shapeless
(HolderGetter<Item> pItems, RecipeCategory pCategory, ItemLike pResult, int pCount) protected RecipeBuilder
RecipeProvider.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 void
RecipeProvider.slab
(RecipeCategory pCategory, ItemLike pSlab, ItemLike pMaterial) protected RecipeBuilder
RecipeProvider.slabBuilder
(RecipeCategory pCategory, ItemLike pSlab, Ingredient pMaterial) static SimpleCookingRecipeBuilder
SimpleCookingRecipeBuilder.smelting
(Ingredient pIngredient, RecipeCategory pCategory, ItemLike pResult, float pExperience, int pCookingTime) protected void
RecipeProvider.smeltingResultFromBase
(ItemLike pResult, ItemLike pIngredient) static SimpleCookingRecipeBuilder
SimpleCookingRecipeBuilder.smoking
(Ingredient pIngredient, RecipeCategory pCategory, ItemLike pResult, float pExperience, int pCookingTime) protected void
RecipeProvider.stainedGlassFromGlassAndDye
(ItemLike pStainedGlass, ItemLike pDye) protected void
RecipeProvider.stainedGlassPaneFromGlassPaneAndDye
(ItemLike pStainedGlassPane, ItemLike pDye) protected void
RecipeProvider.stainedGlassPaneFromStainedGlass
(ItemLike pStainedGlassPane, ItemLike pStainedGlass) protected RecipeBuilder
RecipeProvider.stairBuilder
(ItemLike pStairs, Ingredient pMaterial) protected void
RecipeProvider.stonecutterResultFromBase
(RecipeCategory pCategory, ItemLike pResult, ItemLike pMaterial) protected void
RecipeProvider.stonecutterResultFromBase
(RecipeCategory pCategory, ItemLike pResult, ItemLike pMaterial, int pResultCount) static SingleItemRecipeBuilder
SingleItemRecipeBuilder.stonecutting
(Ingredient pIngredient, RecipeCategory pCategory, ItemLike pResult) static SingleItemRecipeBuilder
SingleItemRecipeBuilder.stonecutting
(Ingredient pIngredient, RecipeCategory pCategory, ItemLike pResult, int pCount) protected void
RecipeProvider.threeByThreePacker
(RecipeCategory pCategory, ItemLike pPacked, ItemLike pUnpacked) protected void
RecipeProvider.threeByThreePacker
(RecipeCategory pCategory, ItemLike pPacked, ItemLike pUnpacked, String pCriterionName) protected RecipeBuilder
RecipeProvider.trapdoorBuilder
(ItemLike pTrapdoor, Ingredient pMaterial) protected void
RecipeProvider.twoByTwoPacker
(RecipeCategory pCategory, ItemLike pPacked, ItemLike pUnpacked) protected void
RecipeProvider.wall
(RecipeCategory pCategory, ItemLike pWall, ItemLike pMaterial) protected RecipeBuilder
RecipeProvider.wallBuilder
(RecipeCategory pCategory, ItemLike pWall, Ingredient pMaterial) protected void
RecipeProvider.woodenBoat
(ItemLike pBoat, ItemLike pMaterial) protected void
RecipeProvider.woodFromLogs
(ItemLike pWood, ItemLike pLog) Method parameters in net.minecraft.data.recipes with type arguments of type ItemLikeModifier and TypeMethodDescriptionprotected void
RecipeProvider.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 void
RecipeProvider.oreSmelting
(List<ItemLike> pIngredients, RecipeCategory pCategory, ItemLike pResult, float pExperience, int pCookingTime, String pGroup) Constructors in net.minecraft.data.recipes with parameters of type ItemLikeModifierConstructorDescriptionprivate
ShapedRecipeBuilder
(HolderGetter<Item> pItems, RecipeCategory pCategory, ItemLike pResult, int pCount) private
SimpleCookingRecipeBuilder
(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 com.google.common.collect.ImmutableList
<ItemLike> VanillaRecipeProvider.COAL_SMELTABLES
static final com.google.common.collect.ImmutableList
<ItemLike> VanillaRecipeProvider.COPPER_SMELTABLES
static final com.google.common.collect.ImmutableList
<ItemLike> VanillaRecipeProvider.DIAMOND_SMELTABLES
static final com.google.common.collect.ImmutableList
<ItemLike> VanillaRecipeProvider.EMERALD_SMELTABLES
static final com.google.common.collect.ImmutableList
<ItemLike> VanillaRecipeProvider.GOLD_SMELTABLES
static final com.google.common.collect.ImmutableList
<ItemLike> VanillaRecipeProvider.IRON_SMELTABLES
static final com.google.common.collect.ImmutableList
<ItemLike> VanillaRecipeProvider.LAPIS_SMELTABLES
static 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
(ServerLevel pLevel, ItemLike pItem) Entity.spawnAtLocation
(ServerLevel pLevel, ItemLike pItem, int pYOffset) -
Uses of ItemLike in net.minecraft.world.entity.npc
Constructors in net.minecraft.world.entity.npc 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 TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
FoodOnAStickItem<T extends Entity & ItemSteerable>
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Methods in net.minecraft.world.item with parameters of type ItemLikeModifier and TypeMethodDescriptiondefault void
default void
CreativeModeTab.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 ItemStack
ItemStack.transmuteCopyIgnoreEmpty
(ItemLike pItem, int pCount) 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 TypeClassDescriptionclass
class
class
class
AbstractChestBlock<E extends BlockEntity>
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Fields in net.minecraft.world.level.block with type parameters of type ItemLikeModifier and TypeFieldDescriptionstatic final it.unimi.dsi.fastutil.objects.Object2FloatMap
<ItemLike> ComposterBlock.COMPOSTABLES
Deprecated.Methods in net.minecraft.world.level.block that return ItemLikeModifier and TypeMethodDescriptionprotected ItemLike
BeetrootBlock.getBaseSeedId()
protected ItemLike
CarrotBlock.getBaseSeedId()
protected ItemLike
CropBlock.getBaseSeedId()
protected ItemLike
PotatoBlock.getBaseSeedId()
protected ItemLike
TorchflowerCropBlock.getBaseSeedId()
Methods in net.minecraft.world.level.block with parameters of type ItemLikeModifier and TypeMethodDescriptionprivate static void
static void
DispenserBlock.registerBehavior
(ItemLike pItem, DispenseItemBehavior pBehavior) static void
DispenserBlock.registerProjectileBehavior
(ItemLike pItem) 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 TypeClassDescriptionclass
class
class
-
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 void
FlatLevelGeneratorPresets.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 TypeMethodDescriptionvoid
RegisterItemDecorationsEvent.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> Ingredient
DataComponentIngredient.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 Ingredient
DataComponentIngredient.of
(boolean strict, DataComponentExactPredicate predicate, ItemLike... items) Creates a new ingredient matching any item from the list, containing the given componentsstatic Ingredient
DataComponentIngredient.of
(boolean strict, DataComponentMap map, ItemLike... items) Creates a new ingredient matching any item from the list, containing the given componentsstatic <T> Ingredient
DataComponentIngredient.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 SizedIngredient
Helper 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 void
private static boolean
NeoForgeAdvancementProvider.predicateMatches
(ItemPredicate predicate, ItemLike... targets) private void
private 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 TypeMethodDescriptionvoid
ModifyDefaultComponentsEvent.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 TypeClassDescriptionclass
DeferredBlock<T extends Block>
class
DeferredItem<T extends Item>
compostable
data map instead