Package net.minecraft.commands.arguments
Class EntityArgument.Serializer
java.lang.Object
net.minecraft.commands.arguments.EntityArgument.Serializer
- All Implemented Interfaces:
ArgumentSerializer<EntityArgument>
- Enclosing class:
- EntityArgument
public static class EntityArgument.Serializer
extends Object
implements ArgumentSerializer<EntityArgument>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserializeFromNetwork(FriendlyByteBuf p_91500_)
void
serializeToJson(EntityArgument p_91494_, com.google.gson.JsonObject p_91495_)
void
serializeToNetwork(EntityArgument p_91497_, FriendlyByteBuf p_91498_)
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
serializeToNetwork
- Specified by:
serializeToNetwork
in interfaceArgumentSerializer<EntityArgument>
-
deserializeFromNetwork
- Specified by:
deserializeFromNetwork
in interfaceArgumentSerializer<EntityArgument>
-
serializeToJson
- Specified by:
serializeToJson
in interfaceArgumentSerializer<EntityArgument>
-