net.minecraft.predicate.component

public interface ComponentPredicate$Type<T extends ComponentPredicate>

net.minecraft.core.component.predicates.DataComponentPredicate$Type
net.minecraft.class_9360$class_8745
net.minecraft.predicate.component.ComponentPredicate$Type

Field summary

Modifier and TypeField
com.mojang.serialization.Codec<ComponentPredicate$Type<?>>
CODEC
field_63638
CODEC
PacketCodec<RegistryByteBuf, ComponentPredicate$Type<?>>
STREAM_CODEC
field_63639
PACKET_CODEC

Method summary

Modifier and TypeMethod
private static <T extends ComponentPredicate$Type<?>> com.mojang.datafixers.util.Either<T, ComponentType<?>>
unpackType(T type)
method_75521(T arg0)
fromType(T type)
private static ComponentPredicate$Type<?>
copyOrCreateType(com.mojang.datafixers.util.Either<DataComponentPredicate$Type<?>, DataComponentType<?>> concreteTypeOrComponent)
method_75520(com.mojang.datafixers.util.Either<class_9360$class_8745<?>, class_9331<?>> arg0)
toType(com.mojang.datafixers.util.Either<ComponentPredicate$Type<?>, ComponentType<?>> either)
com.mojang.serialization.Codec<T>
codec()
method_67302()
getPredicateCodec()
com.mojang.serialization.MapCodec<ComponentPredicate$Typed<T>>
wrappedCodec()
method_67305()
getTypedCodec()
PacketCodec<RegistryByteBuf, ComponentPredicate$Typed<T>>
singleStreamCodec()
method_68716()
getTypedPacketCodec()
private static ComponentPredicate$Type
lambda$copyOrCreateType$0(DataComponentPredicate$Type arg0)
method_75522(class_9360$class_8745 arg0)
method_75522(ComponentPredicate$Type type)