Package net.minecraft.commands.arguments
Class ResourceOrTagKeyArgument.Info<T>
java.lang.Object
net.minecraft.commands.arguments.ResourceOrTagKeyArgument.Info<T>
- All Implemented Interfaces:
ArgumentTypeInfo<ResourceOrTagKeyArgument<T>,
ResourceOrTagKeyArgument.Info<T>.Template>
- Enclosing class:
ResourceOrTagKeyArgument<T>
public static class ResourceOrTagKeyArgument.Info<T>
extends Object
implements ArgumentTypeInfo<ResourceOrTagKeyArgument<T>,ResourceOrTagKeyArgument.Info<T>.Template>
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserializeFromNetwork
(FriendlyByteBuf p_250656_) void
serializeToJson
(ResourceOrTagKeyArgument.Info<T>.Template p_250715_, com.google.gson.JsonObject p_249208_) void
serializeToNetwork
(ResourceOrTagKeyArgument.Info<T>.Template p_252211_, FriendlyByteBuf p_248784_) unpack
(ResourceOrTagKeyArgument<T> p_250422_)
-
Constructor Details
-
Info
public Info()
-
-
Method Details
-
serializeToNetwork
public void serializeToNetwork(ResourceOrTagKeyArgument.Info<T>.Template p_252211_, FriendlyByteBuf p_248784_) - Specified by:
serializeToNetwork
in interfaceArgumentTypeInfo<ResourceOrTagKeyArgument<T>,
ResourceOrTagKeyArgument.Info<T>.Template>
-
deserializeFromNetwork
- Specified by:
deserializeFromNetwork
in interfaceArgumentTypeInfo<ResourceOrTagKeyArgument<T>,
ResourceOrTagKeyArgument.Info<T>.Template>
-
serializeToJson
public void serializeToJson(ResourceOrTagKeyArgument.Info<T>.Template p_250715_, com.google.gson.JsonObject p_249208_) - Specified by:
serializeToJson
in interfaceArgumentTypeInfo<ResourceOrTagKeyArgument<T>,
ResourceOrTagKeyArgument.Info<T>.Template>
-
unpack
- Specified by:
unpack
in interfaceArgumentTypeInfo<ResourceOrTagKeyArgument<T>,
ResourceOrTagKeyArgument.Info<T>.Template>
-