Package net.minecraft.commands.arguments
Class ResourceArgument.Info<T>
java.lang.Object
net.minecraft.commands.arguments.ResourceArgument.Info<T>
- All Implemented Interfaces:
ArgumentTypeInfo<ResourceArgument<T>,
ResourceArgument.Info<T>.Template>
- Enclosing class:
- ResourceArgument<T>
public static class ResourceArgument.Info<T>
extends Object
implements ArgumentTypeInfo<ResourceArgument<T>,ResourceArgument.Info<T>.Template>
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserializeFromNetwork
(FriendlyByteBuf p_248958_) void
serializeToJson
(ResourceArgument.Info<T>.Template p_251267_, com.google.gson.JsonObject p_250142_) void
serializeToNetwork
(ResourceArgument.Info<T>.Template p_250470_, FriendlyByteBuf p_248658_) unpack
(ResourceArgument<T> p_250667_)
-
Constructor Details
-
Info
public Info()
-
-
Method Details
-
serializeToNetwork
public void serializeToNetwork(ResourceArgument.Info<T>.Template p_250470_, FriendlyByteBuf p_248658_) - Specified by:
serializeToNetwork
in interfaceArgumentTypeInfo<ResourceArgument<T>,
ResourceArgument.Info<T>.Template>
-
deserializeFromNetwork
- Specified by:
deserializeFromNetwork
in interfaceArgumentTypeInfo<ResourceArgument<T>,
ResourceArgument.Info<T>.Template>
-
serializeToJson
public void serializeToJson(ResourceArgument.Info<T>.Template p_251267_, com.google.gson.JsonObject p_250142_) - Specified by:
serializeToJson
in interfaceArgumentTypeInfo<ResourceArgument<T>,
ResourceArgument.Info<T>.Template>
-
unpack
- Specified by:
unpack
in interfaceArgumentTypeInfo<ResourceArgument<T>,
ResourceArgument.Info<T>.Template>
-