Class LongArrayNBT

    • Constructor Detail

      • LongArrayNBT

        public LongArrayNBT​(long[] p_i47524_1_)
      • LongArrayNBT

        public LongArrayNBT​(it.unimi.dsi.fastutil.longs.LongSet p_i48736_1_)
      • LongArrayNBT

        public LongArrayNBT​(java.util.List<java.lang.Long> p_i47525_1_)
    • Method Detail

      • toArray

        private static long[] toArray​(java.util.List<java.lang.Long> p_193586_0_)
      • write

        public void write​(java.io.DataOutput p_74734_1_)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • getId

        public byte getId()
      • toString

        public java.lang.String toString()
        Specified by:
        toString in interface INBT
        Overrides:
        toString in class java.util.AbstractCollection<LongNBT>
      • equals

        public boolean equals​(java.lang.Object p_equals_1_)
        Specified by:
        equals in interface java.util.Collection<LongNBT>
        Specified by:
        equals in interface java.util.List<LongNBT>
        Overrides:
        equals in class java.util.AbstractList<LongNBT>
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface java.util.Collection<LongNBT>
        Specified by:
        hashCode in interface java.util.List<LongNBT>
        Overrides:
        hashCode in class java.util.AbstractList<LongNBT>
      • getPrettyDisplay

        public ITextComponent getPrettyDisplay​(java.lang.String p_199850_1_,
                                               int p_199850_2_)
      • getAsLongArray

        public long[] getAsLongArray()
      • size

        public int size()
        Specified by:
        size in interface java.util.Collection<LongNBT>
        Specified by:
        size in interface java.util.List<LongNBT>
        Specified by:
        size in class java.util.AbstractCollection<LongNBT>
      • get

        public LongNBT get​(int p_get_1_)
        Specified by:
        get in interface java.util.List<LongNBT>
        Specified by:
        get in class java.util.AbstractList<LongNBT>
      • clear

        public void clear()
        Specified by:
        clear in interface java.util.Collection<LongNBT>
        Specified by:
        clear in interface java.util.List<LongNBT>
        Overrides:
        clear in class java.util.AbstractList<LongNBT>