Package net.minecraft.commands.arguments
Class ScoreHolderArgument.Info
java.lang.Object
net.minecraft.commands.arguments.ScoreHolderArgument.Info
- All Implemented Interfaces:
ArgumentTypeInfo<ScoreHolderArgument,
ScoreHolderArgument.Info.Template>
- Enclosing class:
- ScoreHolderArgument
public static class ScoreHolderArgument.Info
extends Object
implements ArgumentTypeInfo<ScoreHolderArgument,ScoreHolderArgument.Info.Template>
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserializeFromNetwork
(FriendlyByteBuf p_233480_) void
serializeToJson
(ScoreHolderArgument.Info.Template p_233466_, com.google.gson.JsonObject p_233467_) void
serializeToNetwork
(ScoreHolderArgument.Info.Template p_233469_, FriendlyByteBuf p_233470_) unpack
(ScoreHolderArgument p_233472_)
-
Field Details
-
FLAG_MULTIPLE
private static final byte FLAG_MULTIPLE- See Also:
-
-
Constructor Details
-
Info
public Info()
-
-
Method Details
-
serializeToNetwork
public void serializeToNetwork(ScoreHolderArgument.Info.Template p_233469_, FriendlyByteBuf p_233470_) - Specified by:
serializeToNetwork
in interfaceArgumentTypeInfo<ScoreHolderArgument,
ScoreHolderArgument.Info.Template>
-
deserializeFromNetwork
- Specified by:
deserializeFromNetwork
in interfaceArgumentTypeInfo<ScoreHolderArgument,
ScoreHolderArgument.Info.Template>
-
serializeToJson
public void serializeToJson(ScoreHolderArgument.Info.Template p_233466_, com.google.gson.JsonObject p_233467_) - Specified by:
serializeToJson
in interfaceArgumentTypeInfo<ScoreHolderArgument,
ScoreHolderArgument.Info.Template>
-
unpack
- Specified by:
unpack
in interfaceArgumentTypeInfo<ScoreHolderArgument,
ScoreHolderArgument.Info.Template>
-