net.minecraft.network.syncher

public interface EntityDataSerializer<T>

aef
net.minecraft.network.syncher.EntityDataSerializer
net.minecraft.class_2941
net.minecraft.entity.data.TrackedDataHandler
net.minecraft.src.C_5226_
net.minecraft.network.syncher.DataWatcherSerializer

Method summary

Modifier and TypeMethod
void
a(so arg0, T arg1)
write(FriendlyByteBuf arg0, T arg1)
method_12715(class_2540 arg0, T arg1)
write(PacketByteBuf buf, T value)
m_6856_(C_4983_ p_135026_, T arg1)
T
a(so arg0)
read(FriendlyByteBuf arg0)
method_12716(class_2540 arg0)
read(PacketByteBuf buf)
m_6709_(C_4983_ arg0)
default EntityDataAccessor<T>
a(int arg0)
createAccessor(int arg0)
method_12717(int arg0)
create(int id)
m_135021_(int arg0)
T
a(T arg0)
copy(T arg0)
method_12714(T arg0)
copy(T value)
m_7020_(T arg0)
static <T> EntityDataSerializer<T>
a(so$b<T> arg0, so$a<T> arg1)
simple(FriendlyByteBuf$Writer<T> arg0, FriendlyByteBuf$Reader<T> arg1)
method_43242(class_2540$class_7462<T> arg0, class_2540$class_7461<T> arg1)
of(PacketByteBuf$PacketWriter<T> writer, PacketByteBuf$PacketReader<T> reader)
m_238095_(C_4983_$C_213495_<T> p_238096_, C_4983_$C_213494_<T> p_238097_)
static <T> EntityDataSerializer<Optional<T>>
b(so$b<T> arg0, so$a<T> arg1)
optional(FriendlyByteBuf$Writer<T> arg0, FriendlyByteBuf$Reader<T> arg1)
method_43243(class_2540$class_7462<T> arg0, class_2540$class_7461<T> arg1)
ofOptional(PacketByteBuf$PacketWriter<T> writer, PacketByteBuf$PacketReader<T> reader)
m_238098_(C_4983_$C_213495_<T> p_238099_, C_4983_$C_213494_<T> p_238100_)
static <T extends Enum<T>> EntityDataSerializer<T>
a(Class<T> arg0)
simpleEnum(Class<T> arg0)
method_43240(Class<T> arg0)
ofEnum(Class<T> enum_)
m_238090_(Class<T> p_238091_)
static <T> EntityDataSerializer<T>
a(hj<T> arg0)
simpleId(IdMap<T> arg0)
method_43237(class_2359<T> arg0)
of(IndexedIterable<T> registry)
m_238081_(C_4698_<T> p_238082_)