Uses of Class
net.minecraft.predicate.ComponentPredicate
Packages that use ComponentPredicate
-
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 ComponentPredicateItemPredicate.Builder.componentPredicateprivate final ComponentPredicateItemPredicate.componentsThe field for thecomponentsrecord component.Methods 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.component(ComponentPredicate componentPredicate) Constructors in net.minecraft.predicate.item with parameters of type ComponentPredicateModifierConstructorDescriptionItemPredicate(Optional<RegistryEntryList<Item>> optional, NumberRange.IntRange intRange, ComponentPredicate componentPredicate, Map<ItemSubPredicate.Type<?>, ItemSubPredicate> map) -
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)