Package net.minecraft.commands.arguments
Class ScoreHolderArgument.Serializer
java.lang.Object
net.minecraft.commands.arguments.ScoreHolderArgument.Serializer
- All Implemented Interfaces:
ArgumentSerializer<ScoreHolderArgument>
- Enclosing class:
- ScoreHolderArgument
public static class ScoreHolderArgument.Serializer
extends Object
implements ArgumentSerializer<ScoreHolderArgument>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserializeFromNetwork(FriendlyByteBuf p_108274_)
void
serializeToJson(ScoreHolderArgument p_108268_, com.google.gson.JsonObject p_108269_)
void
serializeToNetwork(ScoreHolderArgument p_108271_, FriendlyByteBuf p_108272_)
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
serializeToNetwork
- Specified by:
serializeToNetwork
in interfaceArgumentSerializer<ScoreHolderArgument>
-
deserializeFromNetwork
- Specified by:
deserializeFromNetwork
in interfaceArgumentSerializer<ScoreHolderArgument>
-
serializeToJson
- Specified by:
serializeToJson
in interfaceArgumentSerializer<ScoreHolderArgument>
-