net.minecraft.predicate.component

public interface ComponentPredicate

net.minecraft.core.component.predicates.DataComponentPredicate
net.minecraft.class_9360
net.minecraft.predicate.component.ComponentPredicate

Field summary

Modifier and TypeField
com.mojang.serialization.Codec<Map<ComponentPredicate$Type<?>, ComponentPredicate>>
CODEC
field_49805
PREDICATES_MAP_CODEC
PacketCodec<RegistryByteBuf, ComponentPredicate$Typed<?>>
SINGLE_STREAM_CODEC
field_58054
SINGLE_PREDICATE_PACKET_CODEC
PacketCodec<RegistryByteBuf, Map<ComponentPredicate$Type<?>, ComponentPredicate>>
STREAM_CODEC
field_58055
PREDICATES_MAP_PACKET_CODEC

Method summary

Modifier and TypeMethod
static com.mojang.serialization.MapCodec<ComponentPredicate$Typed<?>>
singleCodec(String name)
method_67301(String arg0)
createCodec(String predicateFieldName)
boolean
matches(DataComponentGetter components)
method_58161(class_9473 arg0)
test(ComponentsAccess components)
private static List
lambda$static$1(Map arg0)
method_68713(Map arg0)
method_68713(Map map)
private static Map
lambda$static$0(List arg0)
method_68712(List arg0)
method_68712(List list)