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.Builder
BlockLootSubProvider.createMushroomBlockDrop
(Block block, ItemLike item) protected LootTable.Builder
BlockLootSubProvider.createPotFlowerItemTable
(ItemLike item) protected static LootTable.Builder
BlockLootSubProvider.createShearsOnlyDrop
(ItemLike item) protected static LootTable.Builder
EntityLootSubProvider.createSheepTable
(ItemLike woolItem) protected LootTable.Builder
BlockLootSubProvider.createSilkTouchOnlyTable
(ItemLike item) BlockLootSubProvider.createSingleItemTable
(ItemLike item) protected LootTable.Builder
BlockLootSubProvider.createSingleItemTable
(ItemLike item, NumberProvider count) protected LootTable.Builder
BlockLootSubProvider.createSingleItemTableWithSilkTouch
(Block block, ItemLike item) protected LootTable.Builder
BlockLootSubProvider.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_BUILDERS
private static final Map
<BlockFamily.Variant, BiFunction<ItemLike, ItemLike, RecipeBuilder>> RecipeProvider.SHAPE_BUILDERS
Methods in net.minecraft.data.recipes with parameters of type ItemLikeModifier and TypeMethodDescriptionprotected static void
RecipeProvider.banner
(RecipeOutput recipeOutput, ItemLike banner, ItemLike material) protected static void
RecipeProvider.bedFromPlanksAndWool
(RecipeOutput recipeOutput, ItemLike bed, ItemLike wool) static SimpleCookingRecipeBuilder
SimpleCookingRecipeBuilder.blasting
(Ingredient ingredient, RecipeCategory category, ItemLike result, float experience, int cookingTime) protected static RecipeBuilder
RecipeProvider.buttonBuilder
(ItemLike button, Ingredient material) static SimpleCookingRecipeBuilder
SimpleCookingRecipeBuilder.campfireCooking
(Ingredient ingredient, RecipeCategory category, ItemLike result, float experience, int cookingTime) protected static void
RecipeProvider.candle
(RecipeOutput recipeOutput, ItemLike candle, ItemLike dye) protected static void
RecipeProvider.carpet
(RecipeOutput recipeOutput, ItemLike carpet, ItemLike material) protected static void
RecipeProvider.chestBoat
(RecipeOutput recipeOutput, ItemLike boat, ItemLike material) protected static void
RecipeProvider.chiseled
(RecipeOutput recipeOutput, RecipeCategory category, ItemLike chiseledResult, ItemLike material) protected static ShapedRecipeBuilder
RecipeProvider.chiseledBuilder
(RecipeCategory category, ItemLike chiseledResult, Ingredient material) protected static void
RecipeProvider.coloredTerracottaFromTerracottaAndDye
(RecipeOutput recipeOutput, ItemLike terracotta, ItemLike dye) protected static void
RecipeProvider.concretePowder
(RecipeOutput recipeOutput, ItemLike concretePowder, ItemLike dye) protected static void
RecipeProvider.copySmithingTemplate
(RecipeOutput recipeOutput, ItemLike template, TagKey<Item> baseMaterial) protected static void
RecipeProvider.copySmithingTemplate
(RecipeOutput recipeOutput, ItemLike template, Ingredient baseItem) protected static void
RecipeProvider.copySmithingTemplate
(RecipeOutput recipeOutput, ItemLike template, ItemLike baseItem) protected static void
RecipeProvider.cut
(RecipeOutput recipeOutput, RecipeCategory category, ItemLike cutResult, ItemLike material) protected static ShapedRecipeBuilder
RecipeProvider.cutBuilder
(RecipeCategory category, ItemLike cutResult, Ingredient material) Adds a key to the recipe pattern.private static CookingBookCategory
SimpleCookingRecipeBuilder.determineBlastingRecipeCategory
(ItemLike result) private static CookingBookCategory
SimpleCookingRecipeBuilder.determineRecipeCategory
(RecipeSerializer<? extends AbstractCookingRecipe> serializer, ItemLike result) private static CookingBookCategory
SimpleCookingRecipeBuilder.determineSmeltingRecipeCategory
(ItemLike result) protected static RecipeBuilder
RecipeProvider.doorBuilder
(ItemLike door, Ingredient material) protected static RecipeBuilder
RecipeProvider.fenceBuilder
(ItemLike fence, Ingredient material) protected static RecipeBuilder
RecipeProvider.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 String
RecipeProvider.getBlastingRecipeName
(ItemLike itemLike) protected static String
RecipeProvider.getConversionRecipeName
(ItemLike result, ItemLike ingredient) static ResourceLocation
RecipeBuilder.getDefaultRecipeId
(ItemLike itemLike) protected static String
RecipeProvider.getHasName
(ItemLike itemLike) protected static String
RecipeProvider.getItemName
(ItemLike itemLike) protected static String
RecipeProvider.getSimpleRecipeName
(ItemLike itemLike) protected static String
RecipeProvider.getSmeltingRecipeName
(ItemLike itemLike) protected static void
RecipeProvider.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 void
RecipeProvider.mosaicBuilder
(RecipeOutput recipeOutput, RecipeCategory category, ItemLike result, ItemLike material) protected static void
RecipeProvider.nineBlockStorageRecipes
(RecipeOutput recipeOutput, RecipeCategory unpackedCategory, ItemLike unpacked, RecipeCategory packedCategory, ItemLike packed) protected static void
RecipeProvider.nineBlockStorageRecipes
(RecipeOutput recipeOutput, RecipeCategory unpackedCategory, ItemLike unpacked, RecipeCategory packedCategory, ItemLike packed, String packedName, String packedGroup, String unpackedName, String unpackedGroup) protected static void
RecipeProvider.nineBlockStorageRecipesRecipesWithCustomUnpacking
(RecipeOutput recipeOutput, RecipeCategory unpackedCategory, ItemLike unpacked, RecipeCategory packedCategory, ItemLike packed, String unpackedName, String unpackedGroup) protected static void
RecipeProvider.nineBlockStorageRecipesWithCustomPacking
(RecipeOutput recipeOutput, RecipeCategory unpackedCategory, ItemLike unpacked, RecipeCategory packedCategory, ItemLike packed, String packedName, String packedGroup) protected static void
RecipeProvider.oneToOneConversionRecipe
(RecipeOutput recipeOutput, ItemLike result, ItemLike ingredient, String group) protected static void
RecipeProvider.oneToOneConversionRecipe
(RecipeOutput recipeOutput, ItemLike result, ItemLike ingredient, String group, int resultCount) protected static void
RecipeProvider.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 void
RecipeProvider.oreSmelting
(RecipeOutput recipeOutput, List<ItemLike> ingredients, RecipeCategory category, ItemLike result, float experience, int cookingTime, String group) protected static void
RecipeProvider.planksFromLog
(RecipeOutput recipeOutput, ItemLike planks, TagKey<Item> logs, int resultCount) protected static void
RecipeProvider.planksFromLogs
(RecipeOutput recipeOutput, ItemLike planks, TagKey<Item> logs, int result) protected static void
RecipeProvider.polished
(RecipeOutput recipeOutput, RecipeCategory category, ItemLike result, ItemLike material) protected static RecipeBuilder
RecipeProvider.polishedBuilder
(RecipeCategory category, ItemLike result, Ingredient material) protected static void
RecipeProvider.pressurePlate
(RecipeOutput recipeOutput, ItemLike pressurePlate, ItemLike material) protected static RecipeBuilder
RecipeProvider.pressurePlateBuilder
(RecipeCategory category, ItemLike pressurePlate, Ingredient material) Adds an ingredient of the given item.Adds the given ingredient multiple times.static ShapedRecipeBuilder
ShapedRecipeBuilder.shaped
(RecipeCategory category, ItemLike result) Creates a new builder for a shaped recipe.static ShapedRecipeBuilder
ShapedRecipeBuilder.shaped
(RecipeCategory category, ItemLike result, int count) Creates a new builder for a shaped recipe.static ShapelessRecipeBuilder
ShapelessRecipeBuilder.shapeless
(RecipeCategory category, ItemLike result) Creates a new builder for a shapeless recipe.static ShapelessRecipeBuilder
ShapelessRecipeBuilder.shapeless
(RecipeCategory category, ItemLike result, int count) Creates a new builder for a shapeless recipe.protected static RecipeBuilder
RecipeProvider.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 void
RecipeProvider.slab
(RecipeOutput recipeOutput, RecipeCategory category, ItemLike slab, ItemLike material) protected static RecipeBuilder
RecipeProvider.slabBuilder
(RecipeCategory category, ItemLike slab, Ingredient material) static SimpleCookingRecipeBuilder
SimpleCookingRecipeBuilder.smelting
(Ingredient ingredient, RecipeCategory category, ItemLike result, float experience, int cookingTime) protected static void
RecipeProvider.smeltingResultFromBase
(RecipeOutput recipeOutput, ItemLike result, ItemLike ingredient) static SimpleCookingRecipeBuilder
SimpleCookingRecipeBuilder.smoking
(Ingredient ingredient, RecipeCategory category, ItemLike result, float experience, int cookingTime) protected static void
RecipeProvider.stainedGlassFromGlassAndDye
(RecipeOutput recipeOutput, ItemLike stainedGlass, ItemLike dye) protected static void
RecipeProvider.stainedGlassPaneFromGlassPaneAndDye
(RecipeOutput recipeOutput, ItemLike stainedGlassPane, ItemLike dye) protected static void
RecipeProvider.stainedGlassPaneFromStainedGlass
(RecipeOutput recipeOutput, ItemLike stainedGlassPane, ItemLike stainedGlass) protected static RecipeBuilder
RecipeProvider.stairBuilder
(ItemLike stairs, Ingredient material) protected static void
RecipeProvider.stonecutterResultFromBase
(RecipeOutput recipeOutput, RecipeCategory category, ItemLike result, ItemLike material) protected static void
RecipeProvider.stonecutterResultFromBase
(RecipeOutput recipeOutput, RecipeCategory category, ItemLike result, ItemLike material, int resultCount) static SingleItemRecipeBuilder
SingleItemRecipeBuilder.stonecutting
(Ingredient ingredient, RecipeCategory category, ItemLike result) static SingleItemRecipeBuilder
SingleItemRecipeBuilder.stonecutting
(Ingredient ingredient, RecipeCategory category, ItemLike result, int count) protected static void
RecipeProvider.threeByThreePacker
(RecipeOutput recipeOutput, RecipeCategory category, ItemLike packed, ItemLike unpacked) protected static void
RecipeProvider.threeByThreePacker
(RecipeOutput recipeOutput, RecipeCategory category, ItemLike packed, ItemLike unpacked, String criterionName) protected static RecipeBuilder
RecipeProvider.trapdoorBuilder
(ItemLike trapdoor, Ingredient material) protected static void
RecipeProvider.twoByTwoPacker
(RecipeOutput recipeOutput, RecipeCategory category, ItemLike packed, ItemLike unpacked) protected static void
RecipeProvider.wall
(RecipeOutput recipeOutput, RecipeCategory category, ItemLike wall, ItemLike material) protected static RecipeBuilder
RecipeProvider.wallBuilder
(RecipeCategory category, ItemLike wall, Ingredient material) protected static void
RecipeProvider.woodenBoat
(RecipeOutput recipeOutput, ItemLike boat, ItemLike material) protected static void
RecipeProvider.woodFromLogs
(RecipeOutput recipeOutput, ItemLike wood, ItemLike log) Method parameters in net.minecraft.data.recipes with type arguments of type ItemLikeModifier and TypeMethodDescriptionprotected static void
RecipeProvider.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 void
RecipeProvider.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) private
SimpleCookingRecipeBuilder
(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_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
(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) private
ItemsAndEmeraldsToItems
(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 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
Methods in net.minecraft.world.item with parameters of type ItemLikeModifier and TypeMethodDescriptiondefault void
default void
CreativeModeTab.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 ItemStack
ItemStack.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 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
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.Neo: Use thecompostable
data map insteadMethods 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 item, DispenseItemBehavior behavior) static void
DispenserBlock.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 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> 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> 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
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>
RegisterColorHandlersEvent.Item