Package org.moddingx.libx.network
Class EnumDataSerializer<T extends Enum<T>>
java.lang.Object
org.moddingx.libx.network.EnumDataSerializer<T>
- All Implemented Interfaces:
net.minecraft.network.syncher.EntityDataSerializer<T>
public class EnumDataSerializer<T extends Enum<T>>
extends Object
implements net.minecraft.network.syncher.EntityDataSerializer<T>
Data serializers
for enums. It needs to be registered in order to be used.-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.network.syncher.EntityDataSerializer
net.minecraft.network.syncher.EntityDataSerializer.ForValueType<T extends Object>
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.syncher.EntityDataSerializer
createAccessor
-
Constructor Details
-
EnumDataSerializer
-
-
Method Details
-
write
-
read
-
copy
-