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.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) static ComponentPredicate
ComponentPredicate.ofFiltered
(ComponentMap components, ComponentType<?>[] types) -
Uses of ComponentPredicate in net.minecraft.predicate.item
Fields in net.minecraft.predicate.item declared as ComponentPredicateModifier and TypeFieldDescriptionprivate ComponentPredicate
ItemPredicate.Builder.componentPredicate
private final ComponentPredicate
ItemPredicate.components
The field for thecomponents
record component.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.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 ComponentPredicate
TradedItem.components
The field for thecomponents
record component.Methods in net.minecraft.village that return ComponentPredicateModifier and TypeMethodDescriptionTradedItem.components()
Returns the value of thecomponents
record component.Methods in net.minecraft.village with parameters of type ComponentPredicateModifier and TypeMethodDescriptionprivate static ItemStack
TradedItem.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)