Package net.minecraft.commands.arguments
Class ResourceOrTagArgument.Info<T>
java.lang.Object
net.minecraft.commands.arguments.ResourceOrTagArgument.Info<T>
- All Implemented Interfaces:
ArgumentTypeInfo<ResourceOrTagArgument<T>,
ResourceOrTagArgument.Info<T>.Template>
- Enclosing class:
ResourceOrTagArgument<T>
public static class ResourceOrTagArgument.Info<T>
extends Object
implements ArgumentTypeInfo<ResourceOrTagArgument<T>,ResourceOrTagArgument.Info<T>.Template>
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserializeFromNetwork
(FriendlyByteBuf p_250205_) void
serializeToJson
(ResourceOrTagArgument.Info<T>.Template p_251957_, com.google.gson.JsonObject p_249067_) void
serializeToNetwork
(ResourceOrTagArgument.Info<T>.Template p_250419_, FriendlyByteBuf p_249726_) unpack
(ResourceOrTagArgument<T> p_252206_)
-
Constructor Details
-
Info
public Info()
-
-
Method Details
-
serializeToNetwork
public void serializeToNetwork(ResourceOrTagArgument.Info<T>.Template p_250419_, FriendlyByteBuf p_249726_) - Specified by:
serializeToNetwork
in interfaceArgumentTypeInfo<ResourceOrTagArgument<T>,
ResourceOrTagArgument.Info<T>.Template>
-
deserializeFromNetwork
- Specified by:
deserializeFromNetwork
in interfaceArgumentTypeInfo<ResourceOrTagArgument<T>,
ResourceOrTagArgument.Info<T>.Template>
-
serializeToJson
public void serializeToJson(ResourceOrTagArgument.Info<T>.Template p_251957_, com.google.gson.JsonObject p_249067_) - Specified by:
serializeToJson
in interfaceArgumentTypeInfo<ResourceOrTagArgument<T>,
ResourceOrTagArgument.Info<T>.Template>
-
unpack
- Specified by:
unpack
in interfaceArgumentTypeInfo<ResourceOrTagArgument<T>,
ResourceOrTagArgument.Info<T>.Template>
-