net.minecraft.network.syncher

public record SynchedEntityData$DataValue<T>

alg$c
net.minecraft.network.syncher.SynchedEntityData$DataValue
net.minecraft.class_2945$class_7834
net.minecraft.entity.data.DataTracker$SerializedEntry
net.minecraft.network.syncher.DataWatcher$c

Field summary

Modifier and TypeField
final int
a
id
comp_1115
id
private final EntityDataSerializer<T>
b
serializer
comp_1116
handler
final T
c
value
comp_1117
value

Constructor summary

ModifierConstructor
public (int arg0, EntityDataSerializer<T> arg1, T arg2)

Method summary

Modifier and TypeMethod
public static <T> SynchedEntityData$DataValue<T>
a(alc<T> arg0, T arg1)
create(EntityDataAccessor<T> arg0, T arg1)
method_46360(class_2940<T> arg0, T arg1)
of(TrackedData<T> data, T value)
public void
a(xg arg0)
write(RegistryFriendlyByteBuf arg0)
method_46361(class_9129 arg0)
write(RegistryByteBuf buf)
public static SynchedEntityData$DataValue<?>
a(xg arg0, int arg1)
read(RegistryFriendlyByteBuf arg0, int arg1)
method_46362(class_9129 arg0, int arg1)
fromBuf(RegistryByteBuf buf, int id)
private static <T> SynchedEntityData$DataValue<T>
a(xg arg0, int arg1, ald<T> arg2)
read(RegistryFriendlyByteBuf arg0, int arg1, EntityDataSerializer<T> arg2)
method_46363(class_9129 arg0, int arg1, class_2941<T> arg2)
fromBuf(RegistryByteBuf buf, int id, TrackedDataHandler<T> handler)
public int
a()
id()
comp_1115()
id()
public EntityDataSerializer<T>
b()
serializer()
comp_1116()
handler()
public T
c()
value()
comp_1117()
value()