Interface ArgumentSerializer<T extends com.mojang.brigadier.arguments.ArgumentType<?>>
- All Known Implementing Classes:
DoubleArgumentSerializer
,EmptyArgumentSerializer
,EntityArgument.Serializer
,EnumArgument.Serializer
,FloatArgumentSerializer
,IntegerArgumentSerializer
,LongArgumentSerializer
,ResourceKeyArgument.Serializer
,ResourceOrTagLocationArgument.Serializer
,ScoreHolderArgument.Serializer
,StringArgumentSerializer
public interface ArgumentSerializer<T extends com.mojang.brigadier.arguments.ArgumentType<?>>
-
Method Summary
Modifier and TypeMethodDescriptiondeserializeFromNetwork
(FriendlyByteBuf p_121581_) void
serializeToJson
(T p_121577_, com.google.gson.JsonObject p_121578_) void
serializeToNetwork
(T p_121579_, FriendlyByteBuf p_121580_)
-
Method Details
-
serializeToNetwork
-
deserializeFromNetwork
-
serializeToJson
-