Class ResourceSelectorArgument.Info<T>
java.lang.Object
net.minecraft.commands.arguments.ResourceSelectorArgument.Info<T>
- All Implemented Interfaces:
ArgumentTypeInfo<ResourceSelectorArgument<T>, ResourceSelectorArgument.Info<T>.Template>
- Enclosing class:
ResourceSelectorArgument<T>
public static class ResourceSelectorArgument.Info<T>
extends Object
implements ArgumentTypeInfo<ResourceSelectorArgument<T>, ResourceSelectorArgument.Info<T>.Template>
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidserializeToJson(ResourceSelectorArgument.Info<T>.Template template, JsonObject out) voidserializeToNetwork(ResourceSelectorArgument.Info<T>.Template template, FriendlyByteBuf out) unpack(ResourceSelectorArgument<T> argument)
-
Constructor Details
-
Info
public Info()
-
-
Method Details
-
serializeToNetwork
public void serializeToNetwork(ResourceSelectorArgument.Info<T>.Template template, FriendlyByteBuf out) - Specified by:
serializeToNetworkin interfaceArgumentTypeInfo<ResourceSelectorArgument<T>, ResourceSelectorArgument.Info<T>.Template>
-
deserializeFromNetwork
- Specified by:
deserializeFromNetworkin interfaceArgumentTypeInfo<ResourceSelectorArgument<T>, ResourceSelectorArgument.Info<T>.Template>
-
serializeToJson
- Specified by:
serializeToJsonin interfaceArgumentTypeInfo<ResourceSelectorArgument<T>, ResourceSelectorArgument.Info<T>.Template>
-
unpack
- Specified by:
unpackin interfaceArgumentTypeInfo<ResourceSelectorArgument<T>, ResourceSelectorArgument.Info<T>.Template>
-