Uses of Class
net.minecraft.core.component.DataComponentExactPredicate
Packages that use DataComponentExactPredicate
Package
Description
-
Uses of DataComponentExactPredicate in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon declared as DataComponentExactPredicateModifier and TypeFieldDescriptionprivate DataComponentExactPredicateDataComponentMatchers.Builder.exactprivate final DataComponentExactPredicateDataComponentMatchers.exactThe field for theexactrecord component.Methods in net.minecraft.advancements.critereon that return DataComponentExactPredicateModifier and TypeMethodDescriptionDataComponentMatchers.exact()Returns the value of theexactrecord component.Methods in net.minecraft.advancements.critereon with parameters of type DataComponentExactPredicateModifier and TypeMethodDescriptionDataComponentMatchers.Builder.exact(DataComponentExactPredicate pExact) Constructors in net.minecraft.advancements.critereon with parameters of type DataComponentExactPredicateModifierConstructorDescriptionDataComponentMatchers(DataComponentExactPredicate exact, Map<DataComponentPredicate.Type<?>, DataComponentPredicate> partial) Creates an instance of aDataComponentMatchersrecord class. -
Uses of DataComponentExactPredicate in net.minecraft.core.component
Fields in net.minecraft.core.component declared as DataComponentExactPredicateModifier and TypeFieldDescriptionstatic final DataComponentExactPredicateDataComponentExactPredicate.EMPTYFields in net.minecraft.core.component with type parameters of type DataComponentExactPredicateModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DataComponentExactPredicate> DataComponentExactPredicate.CODECstatic final StreamCodec<RegistryFriendlyByteBuf, DataComponentExactPredicate> DataComponentExactPredicate.STREAM_CODECMethods in net.minecraft.core.component that return DataComponentExactPredicateModifier and TypeMethodDescriptionstatic DataComponentExactPredicateDataComponentExactPredicate.allOf(DataComponentMap pMap) DataComponentExactPredicate.Builder.build()static <T> DataComponentExactPredicateDataComponentExactPredicate.expect(DataComponentType<T> pComponent, T pValue) static DataComponentExactPredicateDataComponentExactPredicate.someOf(DataComponentMap pMap, DataComponentType<?>... pTypes) -
Uses of DataComponentExactPredicate in net.minecraft.world.item.trading
Fields in net.minecraft.world.item.trading declared as DataComponentExactPredicateModifier and TypeFieldDescriptionprivate final DataComponentExactPredicateItemCost.componentsThe field for thecomponentsrecord component.Methods in net.minecraft.world.item.trading that return DataComponentExactPredicateModifier and TypeMethodDescriptionItemCost.components()Returns the value of thecomponentsrecord component.Methods in net.minecraft.world.item.trading with parameters of type DataComponentExactPredicateModifier and TypeMethodDescriptionprivate static ItemStackItemCost.createStack(Holder<Item> pItem, int pCount, DataComponentExactPredicate pComponents) Constructors in net.minecraft.world.item.trading with parameters of type DataComponentExactPredicateModifierConstructorDescriptionItemCost(Holder<Item> p_330702_, int p_331182_, DataComponentExactPredicate p_399998_) ItemCost(Holder<Item> item, int count, DataComponentExactPredicate components, ItemStack itemStack) Creates an instance of aItemCostrecord class. -
Uses of DataComponentExactPredicate in net.neoforged.neoforge.common.crafting
Fields in net.neoforged.neoforge.common.crafting declared as DataComponentExactPredicateModifier and TypeFieldDescriptionprivate final DataComponentExactPredicateDataComponentIngredient.componentsMethods in net.neoforged.neoforge.common.crafting that return DataComponentExactPredicateMethods in net.neoforged.neoforge.common.crafting with parameters of type DataComponentExactPredicateModifier and TypeMethodDescriptionstatic IngredientDataComponentIngredient.of(boolean strict, DataComponentExactPredicate predicate, Holder<Item>... items) Creates a new ingredient matching any item from the list, containing the given componentsstatic IngredientDataComponentIngredient.of(boolean strict, DataComponentExactPredicate predicate, HolderSet<Item> items) Creates a new ingredient matching any item from the list, containing the given componentsstatic IngredientDataComponentIngredient.of(boolean strict, DataComponentExactPredicate 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 DataComponentExactPredicateModifierConstructorDescriptionDataComponentIngredient(HolderSet<Item> items, DataComponentExactPredicate components, boolean strict) -
Uses of DataComponentExactPredicate in net.neoforged.neoforge.fluids.crafting
Fields in net.neoforged.neoforge.fluids.crafting declared as DataComponentExactPredicateModifier and TypeFieldDescriptionprivate final DataComponentExactPredicateDataComponentFluidIngredient.componentsMethods in net.neoforged.neoforge.fluids.crafting that return DataComponentExactPredicateMethods in net.neoforged.neoforge.fluids.crafting with parameters of type DataComponentExactPredicateModifier and TypeMethodDescriptionstatic FluidIngredientDataComponentFluidIngredient.of(boolean strict, DataComponentExactPredicate predicate, Holder<Fluid>... fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic FluidIngredientDataComponentFluidIngredient.of(boolean strict, DataComponentExactPredicate predicate, HolderSet<Fluid> fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic FluidIngredientDataComponentFluidIngredient.of(boolean strict, DataComponentExactPredicate 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 DataComponentExactPredicateModifierConstructorDescriptionDataComponentFluidIngredient(HolderSet<Fluid> fluids, DataComponentExactPredicate components, boolean strict)