Uses of Class
net.minecraft.predicate.ComponentPredicate
-
Uses of ComponentPredicate in net.minecraft.predicate
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<ComponentPredicate> ComponentPredicate.CODEC
static final PacketCodec
<RegistryByteBuf, ComponentPredicate> ComponentPredicate.PACKET_CODEC
Modifier and TypeMethodDescriptionComponentPredicate.Builder.build()
static ComponentPredicate
ComponentPredicate.of
(ComponentMap components) -
Uses of ComponentPredicate in net.minecraft.predicate.item
Modifier and TypeFieldDescriptionprivate ComponentPredicate
ItemPredicate.Builder.componentPredicate
private final ComponentPredicate
ItemPredicate.components
The field for thecomponents
record component.Modifier and TypeMethodDescriptionItemPredicate.components()
Returns the value of thecomponents
record component.Modifier and TypeMethodDescriptionItemPredicate.Builder.component
(ComponentPredicate componentPredicate) ModifierConstructorDescriptionItemPredicate
(Optional<RegistryEntryList<Item>> optional, NumberRange.IntRange intRange, ComponentPredicate componentPredicate, Map<ItemSubPredicate.Type<?>, ItemSubPredicate> map) -
Uses of ComponentPredicate in net.minecraft.village
Modifier and TypeFieldDescriptionprivate final ComponentPredicate
TradedItem.components
The field for thecomponents
record component.Modifier and TypeMethodDescriptionTradedItem.components()
Returns the value of thecomponents
record component.Modifier and TypeMethodDescriptionprivate static ItemStack
TradedItem.createDisplayStack
(RegistryEntry<Item> item, int count, ComponentPredicate components) ModifierConstructorDescriptionTradedItem
(RegistryEntry<Item> item, int count, ComponentPredicate components) TradedItem
(RegistryEntry<Item> registryEntry, int int2, ComponentPredicate componentPredicate, ItemStack itemStack)