Package net.minecraft.nbt
Class ByteTag
java.lang.Object
net.minecraft.nbt.AbstractNumberTag
net.minecraft.nbt.ByteTag
- All Implemented Interfaces:
Tag
public class ByteTag extends AbstractNumberTag
- Mappings:
Namespace Name official mo
intermediary net/minecraft/class_2481
named net/minecraft/nbt/ByteTag
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
ByteTag.Cache
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description private
ByteTag(byte value)
-
Method Summary
Modifier and Type Method Description void
accept(NbtTagVisitor visitor)
ByteTag
copy()
boolean
equals(Object o)
byte
getByte()
double
getDouble()
float
getFloat()
int
getInt()
long
getLong()
Number
getNumber()
TagReader<ByteTag>
getReader()
short
getShort()
byte
getType()
int
hashCode()
static ByteTag
of(boolean value)
static ByteTag
of(byte value)
void
write(DataOutput output)
Methods inherited from class net.minecraft.nbt.AbstractNumberTag
toString
-
Field Details
-
READER
- Mappings:
Namespace Name Mixin selector official a
Lmo;a:Lnk;
intermediary field_21025
Lnet/minecraft/class_2481;field_21025:Lnet/minecraft/class_4614;
named READER
Lnet/minecraft/nbt/ByteTag;READER:Lnet/minecraft/nbt/TagReader;
-
ZERO
- Mappings:
Namespace Name Mixin selector official b
Lmo;b:Lmo;
intermediary field_21026
Lnet/minecraft/class_2481;field_21026:Lnet/minecraft/class_2481;
named ZERO
Lnet/minecraft/nbt/ByteTag;ZERO:Lnet/minecraft/nbt/ByteTag;
-
ONE
- Mappings:
Namespace Name Mixin selector official c
Lmo;c:Lmo;
intermediary field_21027
Lnet/minecraft/class_2481;field_21027:Lnet/minecraft/class_2481;
named ONE
Lnet/minecraft/nbt/ByteTag;ONE:Lnet/minecraft/nbt/ByteTag;
-
value
private final byte value- Mappings:
Namespace Name Mixin selector official d
Lmo;d:B
intermediary field_11498
Lnet/minecraft/class_2481;field_11498:B
named value
Lnet/minecraft/nbt/ByteTag;value:B
-
-
Constructor Details
-
ByteTag
private ByteTag(byte value)- Mappings:
Namespace Name Mixin selector official <init>
Lmo;<init>(B)V
intermediary <init>
Lnet/minecraft/class_2481;<init>(B)V
named <init>
Lnet/minecraft/nbt/ByteTag;<init>(B)V
-
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector official a
Lmo;a(B)Lmo;
intermediary method_23233
Lnet/minecraft/class_2481;method_23233(B)Lnet/minecraft/class_2481;
named of
Lnet/minecraft/nbt/ByteTag;of(B)Lnet/minecraft/nbt/ByteTag;
-
of
- Mappings:
Namespace Name Mixin selector official a
Lmo;a(Z)Lmo;
intermediary method_23234
Lnet/minecraft/class_2481;method_23234(Z)Lnet/minecraft/class_2481;
named of
Lnet/minecraft/nbt/ByteTag;of(Z)Lnet/minecraft/nbt/ByteTag;
-
write
- 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
- 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
- Mappings:
Namespace Name Mixin selector official d
Lmo;d()Lmo;
intermediary method_10530
Lnet/minecraft/class_2481;method_10530()Lnet/minecraft/class_2481;
named copy
Lnet/minecraft/nbt/ByteTag;copy()Lnet/minecraft/nbt/ByteTag;
-
equals
-
hashCode
public int hashCode() -
accept
- 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 classAbstractNumberTag
- 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 classAbstractNumberTag
- 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 classAbstractNumberTag
- 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 classAbstractNumberTag
- 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 classAbstractNumberTag
- 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 classAbstractNumberTag
- 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
- Specified by:
getNumber
in classAbstractNumberTag
- 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;
-