Package net.minecraft.commands.arguments
Class ResourceOrTagLocationArgument.Info<T>
java.lang.Object
net.minecraft.commands.arguments.ResourceOrTagLocationArgument.Info<T>
- All Implemented Interfaces:
ArgumentTypeInfo<ResourceOrTagLocationArgument<T>,
ResourceOrTagLocationArgument.Info<T>.Template>
- Enclosing class:
- ResourceOrTagLocationArgument<T>
public static class ResourceOrTagLocationArgument.Info<T>
extends Object
implements ArgumentTypeInfo<ResourceOrTagLocationArgument<T>,ResourceOrTagLocationArgument.Info<T>.Template>
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserializeFromNetwork
(FriendlyByteBuf p_233425_) void
serializeToJson
(ResourceOrTagLocationArgument.Info<T>.Template p_233411_, com.google.gson.JsonObject p_233412_) void
serializeToNetwork
(ResourceOrTagLocationArgument.Info<T>.Template p_233414_, FriendlyByteBuf p_233415_) unpack
(ResourceOrTagLocationArgument<T> p_233417_)
-
Constructor Details
-
Info
public Info()
-
-
Method Details
-
serializeToNetwork
public void serializeToNetwork(ResourceOrTagLocationArgument.Info<T>.Template p_233414_, FriendlyByteBuf p_233415_) - Specified by:
serializeToNetwork
in interfaceArgumentTypeInfo<ResourceOrTagLocationArgument<T>,
ResourceOrTagLocationArgument.Info<T>.Template>
-
deserializeFromNetwork
public ResourceOrTagLocationArgument.Info<T>.Template deserializeFromNetwork(FriendlyByteBuf p_233425_) - Specified by:
deserializeFromNetwork
in interfaceArgumentTypeInfo<ResourceOrTagLocationArgument<T>,
ResourceOrTagLocationArgument.Info<T>.Template>
-
serializeToJson
public void serializeToJson(ResourceOrTagLocationArgument.Info<T>.Template p_233411_, com.google.gson.JsonObject p_233412_) - Specified by:
serializeToJson
in interfaceArgumentTypeInfo<ResourceOrTagLocationArgument<T>,
ResourceOrTagLocationArgument.Info<T>.Template>
-
unpack
public ResourceOrTagLocationArgument.Info<T>.Template unpack(ResourceOrTagLocationArgument<T> p_233417_) - Specified by:
unpack
in interfaceArgumentTypeInfo<ResourceOrTagLocationArgument<T>,
ResourceOrTagLocationArgument.Info<T>.Template>
-