Package net.minecraft.commands.arguments
Class ResourceOrTagLocationArgument.Serializer
java.lang.Object
net.minecraft.commands.arguments.ResourceOrTagLocationArgument.Serializer
- All Implemented Interfaces:
ArgumentSerializer<ResourceOrTagLocationArgument<?>>
- Enclosing class:
- ResourceOrTagLocationArgument<T>
public static class ResourceOrTagLocationArgument.Serializer
extends Object
implements ArgumentSerializer<ResourceOrTagLocationArgument<?>>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserializeFromNetwork
(FriendlyByteBuf p_211012_) void
serializeToJson
(ResourceOrTagLocationArgument<?> p_211006_, com.google.gson.JsonObject p_211007_) void
serializeToNetwork
(ResourceOrTagLocationArgument<?> p_211009_, FriendlyByteBuf p_211010_)
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
serializeToNetwork
public void serializeToNetwork(ResourceOrTagLocationArgument<?> p_211009_, FriendlyByteBuf p_211010_) - Specified by:
serializeToNetwork
in interfaceArgumentSerializer<ResourceOrTagLocationArgument<?>>
-
deserializeFromNetwork
- Specified by:
deserializeFromNetwork
in interfaceArgumentSerializer<ResourceOrTagLocationArgument<?>>
-
serializeToJson
public void serializeToJson(ResourceOrTagLocationArgument<?> p_211006_, com.google.gson.JsonObject p_211007_) - Specified by:
serializeToJson
in interfaceArgumentSerializer<ResourceOrTagLocationArgument<?>>
-