net.minecraft.core.component.predicates

public interface DataComponentPredicate

ku
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<DataComponentPredicate$Type<?>, DataComponentPredicate>>
b
CODEC
field_49805
PREDICATES_MAP_CODEC
StreamCodec<RegistryFriendlyByteBuf, DataComponentPredicate$Single<?>>
c
SINGLE_STREAM_CODEC
field_58054
SINGLE_PREDICATE_PACKET_CODEC
StreamCodec<RegistryFriendlyByteBuf, Map<DataComponentPredicate$Type<?>, DataComponentPredicate>>
d
STREAM_CODEC
field_58055
PREDICATES_MAP_PACKET_CODEC

Method summary

Modifier and TypeMethod
static com.mojang.serialization.MapCodec<DataComponentPredicate$Single<?>>
a(String arg0)
singleCodec(String arg0)
method_67301(String arg0)
createCodec(String predicateFieldName)
boolean
a(kg arg0)
matches(DataComponentGetter arg0)
method_58161(class_9473 arg0)
test(ComponentsAccess components)