Package net.minecraft.network.datasync
Interface IDataSerializer<T>
-
public interface IDataSerializer<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description T
copy(T p_192717_1_)
default DataParameter<T>
createAccessor(int p_187161_1_)
T
read(PacketBuffer p_187159_1_)
void
write(PacketBuffer p_187160_1_, T p_187160_2_)
-
-
-
Method Detail
-
write
void write(PacketBuffer p_187160_1_, T p_187160_2_)
-
read
T read(PacketBuffer p_187159_1_)
-
createAccessor
default DataParameter<T> createAccessor(int p_187161_1_)
-
-