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_10914.exactThe field for theexactrecord component.private ComponentPredicateclass_10914.class_10915.field_58047Methods in net.minecraft that return ComponentPredicateModifier and TypeMethodDescriptionclass_10914.exact()Returns the value of theexactrecord component.Methods in net.minecraft with parameters of type ComponentPredicateModifier and TypeMethodDescriptionclass_10914.class_10915.method_68684(ComponentPredicate componentPredicate) Constructors in net.minecraft with parameters of type ComponentPredicateModifierConstructorDescriptionclass_10914(ComponentPredicate componentPredicate, Map<ItemSubPredicate.Type<?>, ItemSubPredicate> map) -
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) static <T> ComponentPredicateComponentPredicate.of(ComponentType<T> type, T value) static ComponentPredicateComponentPredicate.ofFiltered(ComponentMap components, ComponentType<?>[] types) -
Uses of ComponentPredicate in net.minecraft.village
Fields in net.minecraft.village declared as ComponentPredicateModifier and TypeFieldDescriptionprivate final ComponentPredicateTradedItem.componentsThe field for thecomponentsrecord component.Methods in net.minecraft.village that return ComponentPredicateModifier and TypeMethodDescriptionTradedItem.components()Returns the value of thecomponentsrecord component.Methods in net.minecraft.village with parameters of type ComponentPredicateModifier and TypeMethodDescriptionprivate static ItemStackTradedItem.createDisplayStack(RegistryEntry<Item> item, int count, ComponentPredicate components) Constructors in net.minecraft.village with parameters of type ComponentPredicateModifierConstructorDescriptionTradedItem(RegistryEntry<Item> item, int count, ComponentPredicate components) TradedItem(RegistryEntry<Item> registryEntry, int int2, ComponentPredicate componentPredicate, ItemStack itemStack)