Uses of Class
net.minecraft.core.component.DataComponentPredicate
Packages that use DataComponentPredicate
Package
Description
-
Uses of DataComponentPredicate in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon declared as DataComponentPredicateModifier and TypeFieldDescriptionprivate DataComponentPredicate
ItemPredicate.Builder.components
private final DataComponentPredicate
ItemPredicate.components
The field for thecomponents
record component.Methods in net.minecraft.advancements.critereon that return DataComponentPredicateModifier and TypeMethodDescriptionItemPredicate.components()
Returns the value of thecomponents
record component.Methods in net.minecraft.advancements.critereon with parameters of type DataComponentPredicateModifier and TypeMethodDescriptionItemPredicate.Builder.hasComponents
(DataComponentPredicate p_331791_) Constructors in net.minecraft.advancements.critereon with parameters of type DataComponentPredicateModifierConstructorDescriptionItemPredicate
(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
Fields in net.minecraft.core.component declared as DataComponentPredicateModifier and TypeFieldDescriptionstatic final DataComponentPredicate
DataComponentPredicate.EMPTY
Fields in net.minecraft.core.component with type parameters of type DataComponentPredicateModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<DataComponentPredicate> DataComponentPredicate.CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, DataComponentPredicate> DataComponentPredicate.STREAM_CODEC
Methods in net.minecraft.core.component that return DataComponentPredicateModifier and TypeMethodDescriptionstatic DataComponentPredicate
DataComponentPredicate.allOf
(DataComponentMap p_331623_) DataComponentPredicate.Builder.build()
-
Uses of DataComponentPredicate in net.minecraft.world.item.trading
Fields in net.minecraft.world.item.trading declared as DataComponentPredicateModifier and TypeFieldDescriptionprivate final DataComponentPredicate
ItemCost.components
The field for thecomponents
record component.Methods in net.minecraft.world.item.trading that return DataComponentPredicateModifier and TypeMethodDescriptionItemCost.components()
Returns the value of thecomponents
record component.Methods in net.minecraft.world.item.trading with parameters of type DataComponentPredicateModifier and TypeMethodDescriptionprivate static ItemStack
ItemCost.createStack
(Holder<Item> p_331040_, int p_330313_, DataComponentPredicate p_331395_) Constructors in net.minecraft.world.item.trading with parameters of type DataComponentPredicateModifierConstructorDescriptionItemCost
(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
Fields in net.neoforged.neoforge.common.crafting declared as DataComponentPredicateModifier and TypeFieldDescriptionprivate final DataComponentPredicate
DataComponentIngredient.components
Methods in net.neoforged.neoforge.common.crafting that return DataComponentPredicateMethods in net.neoforged.neoforge.common.crafting with parameters of type DataComponentPredicateModifier 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 componentsConstructors in net.neoforged.neoforge.common.crafting with parameters of type DataComponentPredicateModifierConstructorDescriptionDataComponentIngredient
(HolderSet<Item> items, DataComponentPredicate components, boolean strict) -
Uses of DataComponentPredicate in net.neoforged.neoforge.fluids.crafting
Fields in net.neoforged.neoforge.fluids.crafting declared as DataComponentPredicateModifier and TypeFieldDescriptionprivate final DataComponentPredicate
DataComponentFluidIngredient.components
Methods in net.neoforged.neoforge.fluids.crafting that return DataComponentPredicateMethods in net.neoforged.neoforge.fluids.crafting with parameters of type DataComponentPredicateModifier 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 componentsConstructors in net.neoforged.neoforge.fluids.crafting with parameters of type DataComponentPredicateModifierConstructorDescriptionDataComponentFluidIngredient
(HolderSet<Fluid> fluids, DataComponentPredicate components, boolean strict)