net.minecraft.nbt

public record ByteTag

implements NumericTag

ty
net.minecraft.nbt.ByteTag
net.minecraft.class_2481
net.minecraft.nbt.NbtByte
net.minecraft.src.C_4913_

Field summary

Modifier and TypeField
private final byte
v
value
comp_3817
value
f_379709_
private static final int
w
SELF_SIZE_IN_BYTES
field_41717
SIZE
f_263439_
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_

Constructor summary

ModifierConstructor
public (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)
public int
a()
sizeInBytes()
method_47988()
getSizeInBytes()
m_263179_()
public byte
b()
getId()
method_10711()
getType()
m_7060_()
public TagType<ByteTag>
c()
getType()
method_23258()
getNbtType()
m_6458_()
public ByteTag
e()
copy()
method_10530()
copy()
m_6426_()
public void
a(ve arg0)
accept(TagVisitor arg0)
method_32289(class_5627 arg0)
accept(NbtElementVisitor arg0)
m_142327_(C_141838_ arg0)
public long
g()
longValue()
method_10699()
longValue()
m_383929_()
public int
h()
intValue()
method_10701()
intValue()
m_383950_()
public short
i()
shortValue()
method_10696()
shortValue()
m_384523_()
public byte
j()
byteValue()
method_10698()
byteValue()
m_384163_()
public double
k()
doubleValue()
method_10697()
doubleValue()
m_384364_()
public float
l()
floatValue()
method_10700()
floatValue()
m_384588_()
public Number
m()
box()
method_10702()
numberValue()
m_384052_()
public StreamTagVisitor$ValueResult
a(ux arg0)
accept(StreamTagVisitor arg0)
method_39850(class_6836 arg0)
doAccept(NbtScanner arg0)
m_196533_(C_196121_ arg0)
public byte
n()
value()
comp_3817()
value()
f_379709_()