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 ComponentPredicateclass_9306.componentsThe field for thecomponentsrecord component.Methods in net.minecraft that return ComponentPredicateModifier and TypeMethodDescriptionclass_9306.components()Returns the value of thecomponentsrecord component.Methods in net.minecraft with parameters of type ComponentPredicateModifier and TypeMethodDescriptionprivate static ItemStackclass_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.CODECstatic final PacketCodec<RegistryByteBuf, ComponentPredicate> ComponentPredicate.PACKET_CODECMethods in net.minecraft.predicate that return ComponentPredicateModifier and TypeMethodDescriptionComponentPredicate.Builder.build()static ComponentPredicateComponentPredicate.of(ComponentMap components) -
Uses of ComponentPredicate in net.minecraft.predicate.item
Fields in net.minecraft.predicate.item declared as ComponentPredicateModifier and TypeFieldDescriptionprivate final ComponentPredicateItemPredicate.componentsThe field for thecomponentsrecord component.private ComponentPredicateItemPredicate.Builder.field_49235Methods in net.minecraft.predicate.item that return ComponentPredicateModifier and TypeMethodDescriptionItemPredicate.components()Returns the value of thecomponentsrecord 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)