Class FloatNBT

  • All Implemented Interfaces:
    INBT

    public class FloatNBT
    extends NumberNBT
    • Constructor Detail

      • FloatNBT

        private FloatNBT​(float p_i45131_1_)
    • Method Detail

      • valueOf

        public static FloatNBT valueOf​(float p_229689_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.lang.Object
      • equals

        public boolean equals​(java.lang.Object p_equals_1_)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • getPrettyDisplay

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

        public java.lang.Number getAsNumber()
        Specified by:
        getAsNumber in class NumberNBT