Interface ArgumentSerializer<T extends com.mojang.brigadier.arguments.ArgumentType<?>>

All Known Implementing Classes:
DoubleArgumentSerializer, EmptyArgumentSerializer, EntityArgument.Serializer, EnumArgument.Serializer, FloatArgumentSerializer, IntegerArgumentSerializer, LongArgumentSerializer, ScoreHolderArgument.Serializer, StringArgumentSerializer

public interface ArgumentSerializer<T extends com.mojang.brigadier.arguments.ArgumentType<?>>
  • Method Details

    • serializeToNetwork

      void serializeToNetwork(T p_121579_, FriendlyByteBuf p_121580_)
    • deserializeFromNetwork

      T deserializeFromNetwork(FriendlyByteBuf p_121581_)
    • serializeToJson

      void serializeToJson(T p_121577_, com.google.gson.JsonObject p_121578_)