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 DataComponentPredicateItemPredicate.Builder.componentsprivate final DataComponentPredicateItemPredicate.componentsThe field for thecomponentsrecord component.Methods in net.minecraft.advancements.critereon that return DataComponentPredicateModifier and TypeMethodDescriptionItemPredicate.components()Returns the value of thecomponentsrecord 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 aItemPredicaterecord class. -
Uses of DataComponentPredicate in net.minecraft.core.component
Fields in net.minecraft.core.component declared as DataComponentPredicateModifier and TypeFieldDescriptionstatic final DataComponentPredicateDataComponentPredicate.EMPTYFields in net.minecraft.core.component with type parameters of type DataComponentPredicateModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DataComponentPredicate> DataComponentPredicate.CODECstatic final StreamCodec<RegistryFriendlyByteBuf, DataComponentPredicate> DataComponentPredicate.STREAM_CODECMethods in net.minecraft.core.component that return DataComponentPredicateModifier and TypeMethodDescriptionstatic DataComponentPredicateDataComponentPredicate.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 DataComponentPredicateItemCost.componentsThe field for thecomponentsrecord component.Methods in net.minecraft.world.item.trading that return DataComponentPredicateModifier and TypeMethodDescriptionItemCost.components()Returns the value of thecomponentsrecord component.Methods in net.minecraft.world.item.trading with parameters of type DataComponentPredicateModifier and TypeMethodDescriptionprivate static ItemStackItemCost.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 aItemCostrecord class. -
Uses of DataComponentPredicate in net.neoforged.neoforge.common.crafting
Fields in net.neoforged.neoforge.common.crafting declared as DataComponentPredicateModifier and TypeFieldDescriptionprivate final DataComponentPredicateDataComponentIngredient.componentsMethods in net.neoforged.neoforge.common.crafting that return DataComponentPredicateMethods in net.neoforged.neoforge.common.crafting with parameters of type DataComponentPredicateModifier and TypeMethodDescriptionstatic IngredientDataComponentIngredient.of(boolean strict, DataComponentPredicate predicate, Holder<Item>... items) Creates a new ingredient matching any item from the list, containing the given componentsstatic IngredientDataComponentIngredient.of(boolean strict, DataComponentPredicate predicate, HolderSet<Item> items) Creates a new ingredient matching any item from the list, containing the given componentsstatic IngredientDataComponentIngredient.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 DataComponentPredicateDataComponentFluidIngredient.componentsMethods in net.neoforged.neoforge.fluids.crafting that return DataComponentPredicateMethods in net.neoforged.neoforge.fluids.crafting with parameters of type DataComponentPredicateModifier and TypeMethodDescriptionstatic FluidIngredientDataComponentFluidIngredient.of(boolean strict, DataComponentPredicate predicate, Holder<Fluid>... fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic FluidIngredientDataComponentFluidIngredient.of(boolean strict, DataComponentPredicate predicate, HolderSet<Fluid> fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic FluidIngredientDataComponentFluidIngredient.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)