Class LongArgumentSerializer

  • All Implemented Interfaces:
    IArgumentSerializer<com.mojang.brigadier.arguments.LongArgumentType>

    public class LongArgumentSerializer
    extends java.lang.Object
    implements IArgumentSerializer<com.mojang.brigadier.arguments.LongArgumentType>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.mojang.brigadier.arguments.LongArgumentType deserializeFromNetwork​(PacketBuffer p_197071_1_)  
      void serializeToJson​(com.mojang.brigadier.arguments.LongArgumentType p_212244_1_, com.google.gson.JsonObject p_212244_2_)  
      void serializeToNetwork​(com.mojang.brigadier.arguments.LongArgumentType p_197072_1_, PacketBuffer p_197072_2_)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LongArgumentSerializer

        public LongArgumentSerializer()
    • Method Detail

      • serializeToNetwork

        public void serializeToNetwork​(com.mojang.brigadier.arguments.LongArgumentType p_197072_1_,
                                       PacketBuffer p_197072_2_)
        Specified by:
        serializeToNetwork in interface IArgumentSerializer<com.mojang.brigadier.arguments.LongArgumentType>
      • serializeToJson

        public void serializeToJson​(com.mojang.brigadier.arguments.LongArgumentType p_212244_1_,
                                    com.google.gson.JsonObject p_212244_2_)
        Specified by:
        serializeToJson in interface IArgumentSerializer<com.mojang.brigadier.arguments.LongArgumentType>