Uses of Interface
net.minecraft.world.level.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
Modifier and TypeMethodDescriptionAdvancement.Builder.display
(ItemLike p_311787_, Component p_138364_, Component p_138365_, ResourceLocation p_138366_, AdvancementType p_312847_, boolean p_138368_, boolean p_138369_, boolean p_138370_) -
Uses of ItemLike in net.minecraft.advancements.critereon
Modifier and TypeMethodDescriptionShotCrossbowTrigger.TriggerInstance.shotCrossbow
(ItemLike p_301042_) -
Uses of ItemLike in net.minecraft.client.color.item
-
Uses of ItemLike in net.minecraft.data.loot
Modifier and TypeMethodDescriptionprotected <T extends ConditionUserBuilder<T>>
TBlockLootSubProvider.applyExplosionCondition
(ItemLike p_249717_, ConditionUserBuilder<T> p_248851_) protected <T extends FunctionUserBuilder<T>>
TBlockLootSubProvider.applyExplosionDecay
(ItemLike p_248695_, FunctionUserBuilder<T> p_248548_) protected LootTable.Builder
BlockLootSubProvider.createMushroomBlockDrop
(Block p_249959_, ItemLike p_249315_) protected LootTable.Builder
BlockLootSubProvider.createPotFlowerItemTable
(ItemLike p_249395_) protected static LootTable.Builder
BlockLootSubProvider.createShearsOnlyDrop
(ItemLike p_250684_) protected static LootTable.Builder
EntityLootSubProvider.createSheepTable
(ItemLike p_249422_) protected LootTable.Builder
BlockLootSubProvider.createSilkTouchOnlyTable
(ItemLike p_252216_) BlockLootSubProvider.createSingleItemTable
(ItemLike p_251912_) protected LootTable.Builder
BlockLootSubProvider.createSingleItemTable
(ItemLike p_251584_, NumberProvider p_249865_) protected LootTable.Builder
BlockLootSubProvider.createSingleItemTableWithSilkTouch
(Block p_249305_, ItemLike p_251905_) protected LootTable.Builder
BlockLootSubProvider.createSingleItemTableWithSilkTouch
(Block p_251449_, ItemLike p_248558_, NumberProvider p_250047_) protected void
-
Uses of ItemLike in net.minecraft.data.recipes
Modifier and TypeFieldDescriptionprivate static final Map
<BlockFamily.Variant, BiFunction<ItemLike, ItemLike, RecipeBuilder>> RecipeProvider.SHAPE_BUILDERS
private static final Map
<BlockFamily.Variant, BiFunction<ItemLike, ItemLike, RecipeBuilder>> RecipeProvider.SHAPE_BUILDERS
Modifier and TypeMethodDescriptionprotected static void
RecipeProvider.banner
(RecipeOutput p_301322_, ItemLike p_126083_, ItemLike p_126084_) protected static void
RecipeProvider.bedFromPlanksAndWool
(RecipeOutput p_301140_, ItemLike p_126075_, ItemLike p_126076_) static SimpleCookingRecipeBuilder
SimpleCookingRecipeBuilder.blasting
(Ingredient p_252115_, RecipeCategory p_249421_, ItemLike p_251247_, float p_250383_, int p_250476_) protected static RecipeBuilder
RecipeProvider.buttonBuilder
(ItemLike p_176659_, Ingredient p_176660_) static SimpleCookingRecipeBuilder
SimpleCookingRecipeBuilder.campfireCooking
(Ingredient p_249393_, RecipeCategory p_249372_, ItemLike p_251516_, float p_252321_, int p_251916_) protected static void
RecipeProvider.candle
(RecipeOutput p_301024_, ItemLike p_176544_, ItemLike p_176545_) protected static void
RecipeProvider.carpet
(RecipeOutput p_300953_, ItemLike p_176718_, ItemLike p_176719_) protected static void
RecipeProvider.chestBoat
(RecipeOutput p_300996_, ItemLike p_236373_, ItemLike p_236374_) protected static void
RecipeProvider.chiseled
(RecipeOutput p_300911_, RecipeCategory p_251604_, ItemLike p_251049_, ItemLike p_252267_) protected static ShapedRecipeBuilder
RecipeProvider.chiseledBuilder
(RecipeCategory p_251755_, ItemLike p_249782_, Ingredient p_250087_) protected static void
RecipeProvider.coloredTerracottaFromTerracottaAndDye
(RecipeOutput p_300948_, ItemLike p_126099_, ItemLike p_126100_) protected static void
RecipeProvider.concretePowder
(RecipeOutput p_301177_, ItemLike p_126103_, ItemLike p_126104_) protected static void
RecipeProvider.copySmithingTemplate
(RecipeOutput p_300986_, ItemLike p_266974_, TagKey<Item> p_267283_) protected static void
RecipeProvider.copySmithingTemplate
(RecipeOutput p_350466_, ItemLike p_350799_, Ingredient p_350344_) protected static void
RecipeProvider.copySmithingTemplate
(RecipeOutput p_301265_, ItemLike p_267133_, ItemLike p_267023_) protected static void
RecipeProvider.cut
(RecipeOutput p_301189_, RecipeCategory p_252306_, ItemLike p_249686_, ItemLike p_251100_) protected static ShapedRecipeBuilder
RecipeProvider.cutBuilder
(RecipeCategory p_250895_, ItemLike p_251147_, Ingredient p_251563_) private static CookingBookCategory
SimpleCookingRecipeBuilder.determineBlastingRecipeCategory
(ItemLike p_249047_) private static CookingBookCategory
SimpleCookingRecipeBuilder.determineRecipeCategory
(RecipeSerializer<? extends AbstractCookingRecipe> p_251261_, ItemLike p_249582_) private static CookingBookCategory
SimpleCookingRecipeBuilder.determineSmeltingRecipeCategory
(ItemLike p_251938_) protected static RecipeBuilder
RecipeProvider.doorBuilder
(ItemLike p_176671_, Ingredient p_176672_) protected static RecipeBuilder
RecipeProvider.fenceBuilder
(ItemLike p_176679_, Ingredient p_176680_) protected static RecipeBuilder
RecipeProvider.fenceGateBuilder
(ItemLike p_176685_, Ingredient p_176686_) static <T extends AbstractCookingRecipe>
SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.generic
(Ingredient p_250999_, RecipeCategory p_248815_, ItemLike p_249766_, float p_251320_, int p_248693_, RecipeSerializer<T> p_250921_, AbstractCookingRecipe.Factory<T> p_312657_) protected static String
RecipeProvider.getBlastingRecipeName
(ItemLike p_176669_) protected static String
RecipeProvider.getConversionRecipeName
(ItemLike p_176518_, ItemLike p_176519_) static ResourceLocation
RecipeBuilder.getDefaultRecipeId
(ItemLike p_176494_) protected static String
RecipeProvider.getHasName
(ItemLike p_176603_) protected static String
RecipeProvider.getItemName
(ItemLike p_176633_) protected static String
RecipeProvider.getSimpleRecipeName
(ItemLike p_176645_) protected static String
RecipeProvider.getSmeltingRecipeName
(ItemLike p_176657_) protected static void
RecipeProvider.hangingSign
(RecipeOutput p_301272_, ItemLike p_252355_, ItemLike p_250437_) protected static Criterion
<InventoryChangeTrigger.TriggerInstance> RecipeProvider.has
(MinMaxBounds.Ints p_176521_, ItemLike p_176522_) protected static Criterion
<InventoryChangeTrigger.TriggerInstance> protected static void
RecipeProvider.mosaicBuilder
(RecipeOutput p_301088_, RecipeCategory p_248788_, ItemLike p_251925_, ItemLike p_252242_) protected static void
RecipeProvider.nineBlockStorageRecipes
(RecipeOutput p_301057_, RecipeCategory p_251203_, ItemLike p_251689_, RecipeCategory p_251376_, ItemLike p_248771_) protected static void
RecipeProvider.nineBlockStorageRecipes
(RecipeOutput p_301222_, RecipeCategory p_250083_, ItemLike p_250042_, RecipeCategory p_248977_, ItemLike p_251911_, String p_250475_, String p_248641_, String p_252237_, String p_250414_) protected static void
RecipeProvider.nineBlockStorageRecipesRecipesWithCustomUnpacking
(RecipeOutput p_301132_, RecipeCategory p_248979_, ItemLike p_249101_, RecipeCategory p_252036_, ItemLike p_250886_, String p_248768_, String p_250847_) protected static void
RecipeProvider.nineBlockStorageRecipesWithCustomPacking
(RecipeOutput p_301216_, RecipeCategory p_250885_, ItemLike p_251651_, RecipeCategory p_250874_, ItemLike p_248576_, String p_250171_, String p_249386_) protected static void
RecipeProvider.oneToOneConversionRecipe
(RecipeOutput p_301223_, ItemLike p_176553_, ItemLike p_176554_, String p_176555_) protected static void
RecipeProvider.oneToOneConversionRecipe
(RecipeOutput p_300968_, ItemLike p_176558_, ItemLike p_176559_, String p_176560_, int p_176561_) protected static void
RecipeProvider.oreBlasting
(RecipeOutput p_301288_, List<ItemLike> p_251504_, RecipeCategory p_248846_, ItemLike p_249735_, float p_248783_, int p_250303_, String p_251984_) protected static <T extends AbstractCookingRecipe>
voidRecipeProvider.oreCooking
(RecipeOutput p_300957_, RecipeSerializer<T> p_251817_, AbstractCookingRecipe.Factory<T> p_312707_, List<ItemLike> p_249619_, RecipeCategory p_251154_, ItemLike p_250066_, float p_251871_, int p_251316_, String p_251450_, String p_249236_) protected static void
RecipeProvider.oreSmelting
(RecipeOutput p_301183_, List<ItemLike> p_250172_, RecipeCategory p_250588_, ItemLike p_251868_, float p_250789_, int p_252144_, String p_251687_) protected static void
RecipeProvider.planksFromLog
(RecipeOutput p_301020_, ItemLike p_259052_, TagKey<Item> p_259045_, int p_259471_) protected static void
RecipeProvider.planksFromLogs
(RecipeOutput p_301221_, ItemLike p_259193_, TagKey<Item> p_259818_, int p_259807_) protected static void
RecipeProvider.polished
(RecipeOutput p_301100_, RecipeCategory p_248719_, ItemLike p_250032_, ItemLike p_250021_) protected static RecipeBuilder
RecipeProvider.polishedBuilder
(RecipeCategory p_249131_, ItemLike p_251242_, Ingredient p_251412_) protected static void
RecipeProvider.pressurePlate
(RecipeOutput p_301211_, ItemLike p_176692_, ItemLike p_176693_) protected static RecipeBuilder
RecipeProvider.pressurePlateBuilder
(RecipeCategory p_251447_, ItemLike p_251989_, Ingredient p_249211_) static ShapedRecipeBuilder
ShapedRecipeBuilder.shaped
(RecipeCategory p_250853_, ItemLike p_249747_) static ShapedRecipeBuilder
ShapedRecipeBuilder.shaped
(RecipeCategory p_251325_, ItemLike p_250636_, int p_249081_) static ShapelessRecipeBuilder
ShapelessRecipeBuilder.shapeless
(RecipeCategory p_250714_, ItemLike p_249659_) static ShapelessRecipeBuilder
ShapelessRecipeBuilder.shapeless
(RecipeCategory p_252339_, ItemLike p_250836_, int p_249928_) protected static RecipeBuilder
RecipeProvider.signBuilder
(ItemLike p_176727_, Ingredient p_176728_) protected static <T extends AbstractCookingRecipe>
voidRecipeProvider.simpleCookingRecipe
(RecipeOutput p_300995_, String p_249709_, RecipeSerializer<T> p_251876_, AbstractCookingRecipe.Factory<T> p_312056_, int p_249258_, ItemLike p_250669_, ItemLike p_250224_, float p_252138_) protected static void
RecipeProvider.slab
(RecipeOutput p_300949_, RecipeCategory p_251848_, ItemLike p_249368_, ItemLike p_252133_) protected static RecipeBuilder
RecipeProvider.slabBuilder
(RecipeCategory p_251707_, ItemLike p_251284_, Ingredient p_248824_) static SimpleCookingRecipeBuilder
SimpleCookingRecipeBuilder.smelting
(Ingredient p_249223_, RecipeCategory p_251240_, ItemLike p_249551_, float p_249452_, int p_250496_) protected static void
RecipeProvider.smeltingResultFromBase
(RecipeOutput p_300916_, ItemLike p_176741_, ItemLike p_176742_) static SimpleCookingRecipeBuilder
SimpleCookingRecipeBuilder.smoking
(Ingredient p_248930_, RecipeCategory p_250319_, ItemLike p_250377_, float p_252329_, int p_250482_) protected static void
RecipeProvider.stainedGlassFromGlassAndDye
(RecipeOutput p_300895_, ItemLike p_126087_, ItemLike p_126088_) protected static void
RecipeProvider.stainedGlassPaneFromGlassPaneAndDye
(RecipeOutput p_301038_, ItemLike p_126095_, ItemLike p_126096_) protected static void
RecipeProvider.stainedGlassPaneFromStainedGlass
(RecipeOutput p_301233_, ItemLike p_126091_, ItemLike p_126092_) protected static RecipeBuilder
RecipeProvider.stairBuilder
(ItemLike p_176711_, Ingredient p_176712_) protected static void
RecipeProvider.stonecutterResultFromBase
(RecipeOutput p_301035_, RecipeCategory p_248911_, ItemLike p_251265_, ItemLike p_250033_) protected static void
RecipeProvider.stonecutterResultFromBase
(RecipeOutput p_301195_, RecipeCategory p_250609_, ItemLike p_251254_, ItemLike p_249666_, int p_251462_) static SingleItemRecipeBuilder
SingleItemRecipeBuilder.stonecutting
(Ingredient p_248596_, RecipeCategory p_250503_, ItemLike p_250269_) static SingleItemRecipeBuilder
SingleItemRecipeBuilder.stonecutting
(Ingredient p_251375_, RecipeCategory p_248984_, ItemLike p_250105_, int p_249506_) protected static void
RecipeProvider.threeByThreePacker
(RecipeOutput p_301302_, RecipeCategory p_259186_, ItemLike p_259360_, ItemLike p_259263_) protected static void
RecipeProvider.threeByThreePacker
(RecipeOutput p_301298_, RecipeCategory p_259247_, ItemLike p_259376_, ItemLike p_259717_, String p_260308_) protected static RecipeBuilder
RecipeProvider.trapdoorBuilder
(ItemLike p_176721_, Ingredient p_176722_) protected static void
RecipeProvider.twoByTwoPacker
(RecipeOutput p_301022_, RecipeCategory p_250881_, ItemLike p_252184_, ItemLike p_249710_) protected static void
RecipeProvider.wall
(RecipeOutput p_301176_, RecipeCategory p_251148_, ItemLike p_250499_, ItemLike p_249970_) protected static RecipeBuilder
RecipeProvider.wallBuilder
(RecipeCategory p_249083_, ItemLike p_250754_, Ingredient p_250311_) protected static void
RecipeProvider.woodenBoat
(RecipeOutput p_301315_, ItemLike p_126023_, ItemLike p_126024_) protected static void
RecipeProvider.woodFromLogs
(RecipeOutput p_301095_, ItemLike p_126004_, ItemLike p_126005_) Modifier and TypeMethodDescriptionprotected static void
RecipeProvider.oreBlasting
(RecipeOutput p_301288_, List<ItemLike> p_251504_, RecipeCategory p_248846_, ItemLike p_249735_, float p_248783_, int p_250303_, String p_251984_) protected static <T extends AbstractCookingRecipe>
voidRecipeProvider.oreCooking
(RecipeOutput p_300957_, RecipeSerializer<T> p_251817_, AbstractCookingRecipe.Factory<T> p_312707_, List<ItemLike> p_249619_, RecipeCategory p_251154_, ItemLike p_250066_, float p_251871_, int p_251316_, String p_251450_, String p_249236_) protected static void
RecipeProvider.oreSmelting
(RecipeOutput p_301183_, List<ItemLike> p_250172_, RecipeCategory p_250588_, ItemLike p_251868_, float p_250789_, int p_252144_, String p_251687_) ModifierConstructorDescriptionShapedRecipeBuilder
(RecipeCategory p_249996_, ItemLike p_251475_, int p_248948_) ShapelessRecipeBuilder
(RecipeCategory p_250837_, ItemLike p_251897_, int p_252227_) private
SimpleCookingRecipeBuilder
(RecipeCategory p_251345_, CookingBookCategory p_251607_, ItemLike p_252112_, Ingredient p_250362_, float p_251204_, int p_250189_, AbstractCookingRecipe.Factory<?> p_311960_) SingleItemRecipeBuilder
(RecipeCategory p_251425_, SingleItemRecipe.Factory<?> p_312361_, Ingredient p_251221_, ItemLike p_251302_, int p_250964_) -
Uses of ItemLike in net.minecraft.data.recipes.packs
Modifier 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
Modifier and TypeMethodDescriptionEntity.spawnAtLocation
(ItemLike p_19999_) Entity.spawnAtLocation
(ItemLike p_20001_, int p_20002_) -
Uses of ItemLike in net.minecraft.world.entity.animal
-
Uses of ItemLike in net.minecraft.world.entity.npc
ModifierConstructorDescriptionEmeraldForItems
(ItemLike p_35657_, int p_35658_, int p_35659_, int p_35660_) EmeraldForItems
(ItemLike p_295166_, int p_294790_, int p_294810_, int p_295575_, int p_294582_) ItemsAndEmeraldsToItems
(ItemLike p_35717_, int p_35718_, int p_35719_, Item p_35720_, int p_35721_, int p_35722_, int p_35723_, float p_301975_) private
ItemsAndEmeraldsToItems
(ItemLike p_35725_, int p_35726_, int p_35728_, ItemStack p_302012_, int p_35729_, int p_35730_, int p_302002_, float p_302039_) (package private)
ItemsAndEmeraldsToItems
(ItemLike p_345985_, int p_320882_, int p_320089_, ItemLike p_345218_, int p_320458_, int p_345627_, int p_345902_, float p_319962_, ResourceKey<EnchantmentProvider> p_345388_) -
Uses of ItemLike in net.minecraft.world.food
-
Uses of ItemLike in net.minecraft.world.item
Modifier 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
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
class
class
class
class
class
class
class
class
class
Modifier and TypeMethodDescriptiondefault void
default void
CreativeModeTab.Output.accept
(ItemLike p_251528_, CreativeModeTab.TabVisibility p_249821_) static Consumer
<UseOnContext> HoeItem.changeIntoStateAndDropItem
(BlockState p_150850_, ItemLike p_150851_) ItemStack.hurtAndConvertOnBreak
(int p_352405_, ItemLike p_352337_, LivingEntity p_352175_, EquipmentSlot p_352058_) ItemStack.transmuteCopy
(ItemLike p_347550_) ItemStack.transmuteCopy
(ItemLike p_323864_, int p_323647_) private ItemStack
ItemStack.transmuteCopyIgnoreEmpty
(ItemLike p_323811_, int p_323856_) -
Uses of ItemLike in net.minecraft.world.item.crafting
-
Uses of ItemLike in net.minecraft.world.item.trading
-
Uses of ItemLike in net.minecraft.world.level.block
Modifier 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
Modifier and TypeFieldDescriptionstatic final it.unimi.dsi.fastutil.objects.Object2FloatMap
<ItemLike> ComposterBlock.COMPOSTABLES
Deprecated.Neo: Use thecompostable
data map insteadModifier and TypeMethodDescriptionprotected ItemLike
BeetrootBlock.getBaseSeedId()
protected ItemLike
CarrotBlock.getBaseSeedId()
protected ItemLike
CropBlock.getBaseSeedId()
protected ItemLike
PotatoBlock.getBaseSeedId()
protected ItemLike
TorchflowerCropBlock.getBaseSeedId()
Modifier and TypeMethodDescriptionprivate static void
static void
DispenserBlock.registerBehavior
(ItemLike p_52673_, DispenseItemBehavior p_52674_) static void
DispenserBlock.registerProjectileBehavior
(ItemLike p_338817_) static SuspiciousEffectHolder
-
Uses of ItemLike in net.minecraft.world.level.block.entity
-
Uses of ItemLike in net.minecraft.world.level.block.piston
Modifier and TypeClassDescriptionclass
class
class
-
Uses of ItemLike in net.minecraft.world.level.levelgen.flat
Modifier and TypeMethodDescriptionprivate void
FlatLevelGeneratorPresets.Bootstrap.register
(ResourceKey<FlatLevelGeneratorPreset> p_256174_, ItemLike p_255748_, ResourceKey<Biome> p_256483_, Set<ResourceKey<StructureSet>> p_255807_, boolean p_256642_, boolean p_256006_, FlatLayerInfo... p_255913_) -
Uses of ItemLike in net.minecraft.world.level.storage.loot.entries
Modifier and TypeMethodDescriptionstatic LootPoolSingletonContainer.Builder
<?> LootItem.lootTableItem
(ItemLike p_79580_) -
Uses of ItemLike in net.neoforged.neoforge.capabilities
Modifier and TypeMethodDescription<T,
C> void RegisterCapabilitiesEvent.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
-
Uses of ItemLike in net.neoforged.neoforge.common
-
Uses of ItemLike in net.neoforged.neoforge.common.crafting
Modifier 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, DataComponentMap map, ItemLike... items) Creates a new ingredient matching any item from the list, containing the given componentsstatic Ingredient
DataComponentIngredient.of
(boolean strict, DataComponentPredicate predicate, 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
Modifier 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
(ToolAction toolAction, ItemLike... targetItem) -
Uses of ItemLike in net.neoforged.neoforge.debug.block
Modifier and TypeClassDescriptionprivate static class
private static class
private static class
-
Uses of ItemLike in net.neoforged.neoforge.debug.crafting
Modifier and TypeMethodDescriptionstatic ShapelessRecipeBuilder
IngredientTests.CompressedShapelessRecipeBuilder.shapeless
(RecipeCategory category, ItemLike result) -
Uses of ItemLike in net.neoforged.neoforge.event
Modifier and TypeMethodDescriptionvoid
ModifyDefaultComponentsEvent.modify
(ItemLike item, Consumer<DataComponentPatch.Builder> patch) Patches the default components of the givenitem
. -
Uses of ItemLike in net.neoforged.neoforge.oldtest
-
Uses of ItemLike in net.neoforged.neoforge.oldtest.block
Modifier and TypeClassDescriptionprivate static class
private static class
private static class
static class
static class
static class
static class
static class
static class
private static class
private static class
private static class
(package private) static class
private static class
-
Uses of ItemLike in net.neoforged.neoforge.oldtest.client
Modifier and TypeClassDescriptionprivate static class
private static class
(package private) static class
-
Uses of ItemLike in net.neoforged.neoforge.oldtest.client.model
Modifier and TypeClassDescriptionprivate static class
private static class
private static class
-
Uses of ItemLike in net.neoforged.neoforge.oldtest.entity.player
-
Uses of ItemLike in net.neoforged.neoforge.oldtest.fluid
-
Uses of ItemLike in net.neoforged.neoforge.oldtest.item
Modifier and TypeClassDescriptionstatic class
private static class
A custom fluid container item with a capacity of a vanilla bucket which uses the FluidUtil functionalities to pickup and place fluids.private static class
private static class
private static class
-
Uses of ItemLike in net.neoforged.neoforge.oldtest.misc
-
Uses of ItemLike in net.neoforged.neoforge.oldtest.world
-
Uses of ItemLike in net.neoforged.neoforge.registries
Modifier and TypeClassDescriptionclass
DeferredBlock<T extends Block>
class
DeferredItem<T extends Item>
-
Uses of ItemLike in net.neoforged.testframework.registration
Modifier and TypeClassDescriptionclass
DeferredBlockBuilder<T extends Block>
class
DeferredItemBuilder<I extends Item>
RegisterColorHandlersEvent.Item