Class FloatTag

All Implemented Interfaces:
Tag

public class FloatTag
extends AbstractNumberTag
Mappings:
Namespace Name
official mt
intermediary net/minecraft/class_2494
named net/minecraft/nbt/FloatTag
  • Field Details

    • ZERO

      public static final FloatTag ZERO
      Mappings:
      Namespace Name Mixin selector
      official a Lmt;a:Lmt;
      intermediary field_21034 Lnet/minecraft/class_2494;field_21034:Lnet/minecraft/class_2494;
      named ZERO Lnet/minecraft/nbt/FloatTag;ZERO:Lnet/minecraft/nbt/FloatTag;
    • READER

      public static final TagReader<FloatTag> READER
      Mappings:
      Namespace Name Mixin selector
      official b Lmt;b:Lnk;
      intermediary field_21035 Lnet/minecraft/class_2494;field_21035:Lnet/minecraft/class_4614;
      named READER Lnet/minecraft/nbt/FloatTag;READER:Lnet/minecraft/nbt/TagReader;
    • value

      private final float value
      Mappings:
      Namespace Name Mixin selector
      official c Lmt;c:F
      intermediary field_11523 Lnet/minecraft/class_2494;field_11523:F
      named value Lnet/minecraft/nbt/FloatTag;value:F
  • Constructor Details

    • FloatTag

      private FloatTag​(float value)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lmt;<init>(F)V
      intermediary <init> Lnet/minecraft/class_2494;<init>(F)V
      named <init> Lnet/minecraft/nbt/FloatTag;<init>(F)V
  • Method Details

    • of

      public static FloatTag of​(float value)
      Mappings:
      Namespace Name Mixin selector
      official a Lmt;a(F)Lmt;
      intermediary method_23244 Lnet/minecraft/class_2494;method_23244(F)Lnet/minecraft/class_2494;
      named of Lnet/minecraft/nbt/FloatTag;of(F)Lnet/minecraft/nbt/FloatTag;
    • write

      public void write​(DataOutput output) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lni;a(Ljava/io/DataOutput;)V
      intermediary method_10713 Lnet/minecraft/class_2520;method_10713(Ljava/io/DataOutput;)V
      named write Lnet/minecraft/nbt/Tag;write(Ljava/io/DataOutput;)V
    • getType

      public byte getType()
      Mappings:
      Namespace Name Mixin selector
      official a Lni;a()B
      intermediary method_10711 Lnet/minecraft/class_2520;method_10711()B
      named getType Lnet/minecraft/nbt/Tag;getType()B
    • getReader

      public TagReader<FloatTag> getReader()
      Mappings:
      Namespace Name Mixin selector
      official b Lni;b()Lnk;
      intermediary method_23258 Lnet/minecraft/class_2520;method_23258()Lnet/minecraft/class_4614;
      named getReader Lnet/minecraft/nbt/Tag;getReader()Lnet/minecraft/nbt/TagReader;
    • copy

      public FloatTag copy()
      Mappings:
      Namespace Name Mixin selector
      official d Lmt;d()Lmt;
      intermediary method_10587 Lnet/minecraft/class_2494;method_10587()Lnet/minecraft/class_2494;
      named copy Lnet/minecraft/nbt/FloatTag;copy()Lnet/minecraft/nbt/FloatTag;
    • equals

      public boolean equals​(Object o)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      official equals Lmt;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_2494;equals(Ljava/lang/Object;)Z
      named equals Lnet/minecraft/nbt/FloatTag;equals(Ljava/lang/Object;)Z
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
      Mappings:
      Namespace Name Mixin selector
      official hashCode Lmt;hashCode()I
      intermediary hashCode Lnet/minecraft/class_2494;hashCode()I
      named hashCode Lnet/minecraft/nbt/FloatTag;hashCode()I
    • accept

      public void accept​(NbtTagVisitor visitor)
      Mappings:
      Namespace Name Mixin selector
      official a Lni;a(Lnm;)V
      intermediary method_32289 Lnet/minecraft/class_2520;method_32289(Lnet/minecraft/class_5627;)V
      named accept Lnet/minecraft/nbt/Tag;accept(Lnet/minecraft/nbt/visitor/NbtTagVisitor;)V
    • getLong

      public long getLong()
      Specified by:
      getLong in class AbstractNumberTag
      Mappings:
      Namespace Name Mixin selector
      official e Lnd;e()J
      intermediary method_10699 Lnet/minecraft/class_2514;method_10699()J
      named getLong Lnet/minecraft/nbt/AbstractNumberTag;getLong()J
    • getInt

      public int getInt()
      Specified by:
      getInt in class AbstractNumberTag
      Mappings:
      Namespace Name Mixin selector
      official f Lnd;f()I
      intermediary method_10701 Lnet/minecraft/class_2514;method_10701()I
      named getInt Lnet/minecraft/nbt/AbstractNumberTag;getInt()I
    • getShort

      public short getShort()
      Specified by:
      getShort in class AbstractNumberTag
      Mappings:
      Namespace Name Mixin selector
      official g Lnd;g()S
      intermediary method_10696 Lnet/minecraft/class_2514;method_10696()S
      named getShort Lnet/minecraft/nbt/AbstractNumberTag;getShort()S
    • getByte

      public byte getByte()
      Specified by:
      getByte in class AbstractNumberTag
      Mappings:
      Namespace Name Mixin selector
      official h Lnd;h()B
      intermediary method_10698 Lnet/minecraft/class_2514;method_10698()B
      named getByte Lnet/minecraft/nbt/AbstractNumberTag;getByte()B
    • getDouble

      public double getDouble()
      Specified by:
      getDouble in class AbstractNumberTag
      Mappings:
      Namespace Name Mixin selector
      official i Lnd;i()D
      intermediary method_10697 Lnet/minecraft/class_2514;method_10697()D
      named getDouble Lnet/minecraft/nbt/AbstractNumberTag;getDouble()D
    • getFloat

      public float getFloat()
      Specified by:
      getFloat in class AbstractNumberTag
      Mappings:
      Namespace Name Mixin selector
      official j Lnd;j()F
      intermediary method_10700 Lnet/minecraft/class_2514;method_10700()F
      named getFloat Lnet/minecraft/nbt/AbstractNumberTag;getFloat()F
    • getNumber

      public Number getNumber()
      Specified by:
      getNumber in class AbstractNumberTag
      Mappings:
      Namespace Name Mixin selector
      official k Lnd;k()Ljava/lang/Number;
      intermediary method_10702 Lnet/minecraft/class_2514;method_10702()Ljava/lang/Number;
      named getNumber Lnet/minecraft/nbt/AbstractNumberTag;getNumber()Ljava/lang/Number;