net.minecraft.nbt

public class ByteTag

extends NumericTag

All mapped superinterfaces:

Tag

my
net.minecraft.nbt.ByteTag
net.minecraft.class_2481
net.minecraft.nbt.NbtByte
net.minecraft.src.C_4913_
net.minecraft.nbt.NBTTagByte

Field summary

Modifier and TypeField
private static final int
w
SELF_SIZE_IN_BITS
field_33189
field_33189
f_177840_
public static final TagType<ByteTag>
a
TYPE
field_21025
TYPE
f_128255_
public static final ByteTag
b
ZERO
field_21026
ZERO
f_128256_
public static final ByteTag
c
ONE
field_21027
ONE
f_128257_
private final byte
x
data
field_11498
value
f_128258_

Constructor summary

ModifierConstructor
(byte value)

Method summary

Modifier and TypeMethod
public static ByteTag
a(byte arg0)
valueOf(byte arg0)
method_23233(byte arg0)
of(byte value)
m_128266_(byte p_128267_)
public static ByteTag
a(boolean arg0)
valueOf(boolean arg0)
method_23234(boolean arg0)
of(boolean value)
m_128273_(boolean p_128274_)
public void
a(DataOutput arg0)
write(DataOutput arg0)
method_10713(DataOutput arg0)
write(DataOutput arg0)
m_6434_(DataOutput arg0)
write(DataOutput arg0)
public byte
a()
getId()
method_10711()
getType()
m_7060_()
getTypeId()
public TagType<ByteTag>
b()
getType()
method_23258()
getNbtType()
m_6458_()
public ByteTag
d()
copy()
method_10530()
copy()
m_6426_()
clone()
public void
a(nw arg0)
accept(TagVisitor arg0)
method_32289(class_5627 arg0)
accept(NbtElementVisitor arg0)
m_142327_(C_141838_ arg0)
public long
e()
getAsLong()
method_10699()
longValue()
m_7046_()
asLong()
public int
f()
getAsInt()
method_10701()
intValue()
m_7047_()
asInt()
public short
g()
getAsShort()
method_10696()
shortValue()
m_7053_()
asShort()
public byte
h()
getAsByte()
method_10698()
byteValue()
m_7063_()
asByte()
public double
i()
getAsDouble()
method_10697()
doubleValue()
m_7061_()
asDouble()
public float
j()
getAsFloat()
method_10700()
floatValue()
m_7057_()
asFloat()
public Number
k()
getAsNumber()
method_10702()
numberValue()
m_8103_()