Class EnumArgument.Serializer
java.lang.Object
net.minecraftforge.server.command.EnumArgument.Serializer
- All Implemented Interfaces:
IArgumentSerializer<EnumArgument<?>>
- Enclosing class:
- EnumArgument<T extends Enum<T>>
public static class EnumArgument.Serializer
extends Object
implements IArgumentSerializer<EnumArgument<?>>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionEnumArgument<?>
deserializeFromNetwork
(PacketBuffer buffer) void
serializeToJson
(EnumArgument<?> argument, com.google.gson.JsonObject json) void
serializeToNetwork
(EnumArgument<?> argument, PacketBuffer buffer)
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
serializeToNetwork
- Specified by:
serializeToNetwork
in interfaceIArgumentSerializer<EnumArgument<?>>
-
deserializeFromNetwork
- Specified by:
deserializeFromNetwork
in interfaceIArgumentSerializer<EnumArgument<?>>
-
serializeToJson
- Specified by:
serializeToJson
in interfaceIArgumentSerializer<EnumArgument<?>>
-