Class CompressedStreamTools


  • public class CompressedStreamTools
    extends java.lang.Object
    • Constructor Detail

      • CompressedStreamTools

        public CompressedStreamTools()
    • Method Detail

      • readCompressed

        public static CompoundNBT readCompressed​(java.io.File p_244263_0_)
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • readCompressed

        public static CompoundNBT readCompressed​(java.io.InputStream p_74796_0_)
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • writeCompressed

        public static void writeCompressed​(CompoundNBT p_244264_0_,
                                           java.io.File p_244264_1_)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • writeCompressed

        public static void writeCompressed​(CompoundNBT p_74799_0_,
                                           java.io.OutputStream p_74799_1_)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • write

        public static void write​(CompoundNBT p_74795_0_,
                                 java.io.File p_74795_1_)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • read

        @Nullable
        public static CompoundNBT read​(java.io.File p_74797_0_)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • read

        public static CompoundNBT read​(java.io.DataInput p_74794_0_)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • read

        public static CompoundNBT read​(java.io.DataInput p_152456_0_,
                                       NBTSizeTracker p_152456_1_)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • write

        public static void write​(CompoundNBT p_74800_0_,
                                 java.io.DataOutput p_74800_1_)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • writeUnnamedTag

        private static void writeUnnamedTag​(INBT p_150663_0_,
                                            java.io.DataOutput p_150663_1_)
                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • readUnnamedTag

        private static INBT readUnnamedTag​(java.io.DataInput p_152455_0_,
                                           int p_152455_1_,
                                           NBTSizeTracker p_152455_2_)
                                    throws java.io.IOException
        Throws:
        java.io.IOException