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