Uses of Class
net.minecraft.core.component.DataComponentPredicate
Package
Description
-
Uses of DataComponentPredicate in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionprivate DataComponentPredicate
ItemPredicate.Builder.components
private final DataComponentPredicate
ItemPredicate.components
The field for thecomponents
record component.Modifier and TypeMethodDescriptionItemPredicate.components()
Returns the value of thecomponents
record component.Modifier and TypeMethodDescriptionItemPredicate.Builder.hasComponents
(DataComponentPredicate p_331791_) ModifierConstructorDescriptionItemPredicate
(Optional<HolderSet<Item>> items, MinMaxBounds.Ints count, DataComponentPredicate components, Map<ItemSubPredicate.Type<?>, ItemSubPredicate> subPredicates) Creates an instance of aItemPredicate
record class. -
Uses of DataComponentPredicate in net.minecraft.core.component
Modifier and TypeFieldDescriptionstatic final DataComponentPredicate
DataComponentPredicate.EMPTY
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<DataComponentPredicate> DataComponentPredicate.CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, DataComponentPredicate> DataComponentPredicate.STREAM_CODEC
Modifier and TypeMethodDescriptionstatic DataComponentPredicate
DataComponentPredicate.allOf
(DataComponentMap p_331623_) DataComponentPredicate.Builder.build()
-
Uses of DataComponentPredicate in net.minecraft.world.item.trading
Modifier and TypeFieldDescriptionprivate final DataComponentPredicate
ItemCost.components
The field for thecomponents
record component.Modifier and TypeMethodDescriptionItemCost.components()
Returns the value of thecomponents
record component.Modifier and TypeMethodDescriptionprivate static ItemStack
ItemCost.createStack
(Holder<Item> p_331040_, int p_330313_, DataComponentPredicate p_331395_) ModifierConstructorDescriptionItemCost
(Holder<Item> p_330702_, int p_331182_, DataComponentPredicate p_331873_) ItemCost
(Holder<Item> item, int count, DataComponentPredicate components, ItemStack itemStack) Creates an instance of aItemCost
record class. -
Uses of DataComponentPredicate in net.neoforged.neoforge.common.crafting
Modifier and TypeFieldDescriptionprivate final DataComponentPredicate
DataComponentIngredient.components
Modifier and TypeMethodDescriptionstatic Ingredient
DataComponentIngredient.of
(boolean strict, DataComponentPredicate predicate, Holder<Item>... items) Creates a new ingredient matching any item from the list, containing the given componentsstatic Ingredient
DataComponentIngredient.of
(boolean strict, DataComponentPredicate predicate, HolderSet<Item> 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 componentsModifierConstructorDescriptionDataComponentIngredient
(HolderSet<Item> items, DataComponentPredicate components, boolean strict) -
Uses of DataComponentPredicate in net.neoforged.neoforge.fluids.crafting
Modifier and TypeFieldDescriptionprivate final DataComponentPredicate
DataComponentFluidIngredient.components
Modifier and TypeMethodDescriptionstatic FluidIngredient
DataComponentFluidIngredient.of
(boolean strict, DataComponentPredicate predicate, Holder<Fluid>... fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic FluidIngredient
DataComponentFluidIngredient.of
(boolean strict, DataComponentPredicate predicate, HolderSet<Fluid> fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic FluidIngredient
DataComponentFluidIngredient.of
(boolean strict, DataComponentPredicate predicate, Fluid... fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsModifierConstructorDescriptionDataComponentFluidIngredient
(HolderSet<Fluid> fluids, DataComponentPredicate components, boolean strict)