net.minecraft.component

class Component$1

implements PacketCodec<RegistryByteBuf, Component<?>>

net.minecraft.core.component.TypedDataComponent$1
net.minecraft.class_9336$1
net.minecraft.component.Component$1

Constructor summary

ModifierConstructor
()

Method summary

Modifier and TypeMethod
public Component<?>
decode(RegistryFriendlyByteBuf input)
method_57948(class_9129 arg0)
method_1_81(RegistryByteBuf arg0)
private static <T> Component<T>
decodeTyped(RegistryFriendlyByteBuf input, DataComponentType<T> type)
method_57949(class_9129 arg0, class_9331<T> arg1)
read(RegistryByteBuf buf, ComponentType<T> type)
public void
encode(RegistryFriendlyByteBuf output, TypedDataComponent<?> value)
method_57950(class_9129 arg0, class_9336<?> arg1)
method_1_82(RegistryByteBuf arg0, Component<?> arg1)
private static <T> void
encodeCap(RegistryFriendlyByteBuf output, TypedDataComponent<T> component)
method_57951(class_9129 arg0, class_9336<T> arg1)
write(RegistryByteBuf buf, Component<T> component)
public void
encode(Object output, Object value)
method_1_82(Object arg0, Object arg1)
method_1_82(Object arg0, Object arg1)
public Object
decode(Object input)
method_1_81(Object arg0)
method_1_81(Object arg0)