Package net.minecraft.network.syncher
Interface EntityDataSerializer<T>
- All Known Subinterfaces:
EntityDataSerializer.ForValueType<T>
public interface EntityDataSerializer<T>
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionStreamCodec
<? super RegistryFriendlyByteBuf, T> codec()
default EntityDataAccessor
<T> createAccessor
(int p_135022_) static <T> EntityDataSerializer
<T> forValueType
(StreamCodec<? super RegistryFriendlyByteBuf, T> p_332495_)
-
Method Details
-
codec
StreamCodec<? super RegistryFriendlyByteBuf,T> codec() -
createAccessor
-
copy
-
forValueType
static <T> EntityDataSerializer<T> forValueType(StreamCodec<? super RegistryFriendlyByteBuf, T> p_332495_)
-