Package net.minecraft.commands.arguments
Class ResourceKeyArgument.Info<T>
java.lang.Object
net.minecraft.commands.arguments.ResourceKeyArgument.Info<T>
- All Implemented Interfaces:
ArgumentTypeInfo<ResourceKeyArgument<T>,
ResourceKeyArgument.Info<T>.Template>
- Enclosing class:
- ResourceKeyArgument<T>
public static class ResourceKeyArgument.Info<T>
extends Object
implements ArgumentTypeInfo<ResourceKeyArgument<T>,ResourceKeyArgument.Info<T>.Template>
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserializeFromNetwork
(FriendlyByteBuf p_233289_) void
serializeToJson
(ResourceKeyArgument.Info.Template p_233275_, com.google.gson.JsonObject p_233276_) void
serializeToNetwork
(ResourceKeyArgument.Info.Template p_233278_, FriendlyByteBuf p_233279_) unpack
(ResourceKeyArgument<T> p_233281_)
-
Constructor Details
-
Info
public Info()
-
-
Method Details
-
serializeToNetwork
public void serializeToNetwork(ResourceKeyArgument.Info.Template p_233278_, FriendlyByteBuf p_233279_) - Specified by:
serializeToNetwork
in interfaceArgumentTypeInfo<ResourceKeyArgument<T>,
ResourceKeyArgument.Info<T>.Template>
-
deserializeFromNetwork
- Specified by:
deserializeFromNetwork
in interfaceArgumentTypeInfo<ResourceKeyArgument<T>,
ResourceKeyArgument.Info<T>.Template>
-
serializeToJson
public void serializeToJson(ResourceKeyArgument.Info.Template p_233275_, com.google.gson.JsonObject p_233276_) - Specified by:
serializeToJson
in interfaceArgumentTypeInfo<ResourceKeyArgument<T>,
ResourceKeyArgument.Info<T>.Template>
-
unpack
- Specified by:
unpack
in interfaceArgumentTypeInfo<ResourceKeyArgument<T>,
ResourceKeyArgument.Info<T>.Template>
-