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
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserializeFromNetwork(FriendlyByteBuf p_233425_) voidserializeToJson(ResourceOrTagLocationArgument.Info<T>.Template p_233411_, com.google.gson.JsonObject p_233412_) voidserializeToNetwork(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:
serializeToNetworkin interfaceArgumentTypeInfo<ResourceOrTagLocationArgument<T>,ResourceOrTagLocationArgument.Info<T>.Template>
-
deserializeFromNetwork
public ResourceOrTagLocationArgument.Info<T>.Template deserializeFromNetwork(FriendlyByteBuf p_233425_) - Specified by:
deserializeFromNetworkin 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:
serializeToJsonin interfaceArgumentTypeInfo<ResourceOrTagLocationArgument<T>,ResourceOrTagLocationArgument.Info<T>.Template>
-
unpack
public ResourceOrTagLocationArgument.Info<T>.Template unpack(ResourceOrTagLocationArgument<T> p_233417_) - Specified by:
unpackin interfaceArgumentTypeInfo<ResourceOrTagLocationArgument<T>,ResourceOrTagLocationArgument.Info<T>.Template>
-