Uses of Class
net.minecraft.predicate.ComponentPredicate
Packages that use ComponentPredicate
Package
Description
The base package for all Minecraft classes.
-
Uses of ComponentPredicate in net.minecraft
Fields in net.minecraft declared as ComponentPredicateModifier and TypeFieldDescriptionprivate final ComponentPredicate
class_9306.components
The field for thecomponents
record component.Methods in net.minecraft that return ComponentPredicateModifier and TypeMethodDescriptionclass_9306.components()
Returns the value of thecomponents
record component.Methods in net.minecraft with parameters of type ComponentPredicateModifier and TypeMethodDescriptionprivate static ItemStack
class_9306.method_57553
(RegistryEntry<Item> registryEntry, int int2, ComponentPredicate componentPredicate) Constructors in net.minecraft with parameters of type ComponentPredicateModifierConstructorDescriptionclass_9306
(RegistryEntry<Item> registryEntry, int int2, ComponentPredicate componentPredicate) class_9306
(RegistryEntry<Item> registryEntry, int int2, ComponentPredicate componentPredicate, ItemStack itemStack) -
Uses of ComponentPredicate in net.minecraft.predicate
Fields in net.minecraft.predicate declared as ComponentPredicateFields in net.minecraft.predicate with type parameters of type ComponentPredicateModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<ComponentPredicate> ComponentPredicate.CODEC
static final PacketCodec
<RegistryByteBuf, ComponentPredicate> ComponentPredicate.PACKET_CODEC
Methods in net.minecraft.predicate that return ComponentPredicateModifier and TypeMethodDescriptionComponentPredicate.Builder.build()
static ComponentPredicate
ComponentPredicate.of
(ComponentMap components) -
Uses of ComponentPredicate in net.minecraft.predicate.item
Fields in net.minecraft.predicate.item declared as ComponentPredicateModifier and TypeFieldDescriptionprivate final ComponentPredicate
ItemPredicate.components
The field for thecomponents
record component.private ComponentPredicate
ItemPredicate.Builder.field_49235
Methods in net.minecraft.predicate.item that return ComponentPredicateModifier and TypeMethodDescriptionItemPredicate.components()
Returns the value of thecomponents
record component.Methods in net.minecraft.predicate.item with parameters of type ComponentPredicateModifier and TypeMethodDescriptionItemPredicate.Builder.method_57299
(ComponentPredicate componentPredicate) Constructors in net.minecraft.predicate.item with parameters of type ComponentPredicateModifierConstructorDescriptionItemPredicate
(Optional<RegistryEntryList<Item>> optional, NumberRange.IntRange intRange, NumberRange.IntRange intRange2, List<EnchantmentPredicate> list, List<EnchantmentPredicate> list2, Optional<RegistryEntryList<Potion>> optional2, Optional<NbtPredicate> optional3, ComponentPredicate componentPredicate)