net.minecraft.predicate.component

public abstract class ComponentPredicate$TypeImpl<T extends ComponentPredicate>

implements ComponentPredicate$Type<T>

net.minecraft.core.component.predicates.DataComponentPredicate$TypeBase
net.minecraft.class_9360$class_12170
net.minecraft.predicate.component.ComponentPredicate$TypeImpl

Field summary

Modifier and TypeField
private final com.mojang.serialization.Codec<T>
codec
field_63640
predicateCodec
private final com.mojang.serialization.MapCodec<ComponentPredicate$Typed<T>>
wrappedCodec
field_63641
typedCodec
private final PacketCodec<RegistryByteBuf, ComponentPredicate$Typed<T>>
singleStreamCodec
field_63642
packetCodec

Constructor summary

ModifierConstructor
public (com.mojang.serialization.Codec<T> predicateCodec)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.Codec<T>
codec()
method_67302()
getPredicateCodec()
public com.mojang.serialization.MapCodec<ComponentPredicate$Typed<T>>
wrappedCodec()
method_67305()
getTypedCodec()
public PacketCodec<RegistryByteBuf, ComponentPredicate$Typed<T>>
singleStreamCodec()
method_68716()
getTypedPacketCodec()
private ComponentPredicate$Typed
lambda$new$0(DataComponentPredicate arg0)
method_75523(class_9360 arg0)
method_75523(ComponentPredicate predicate)