net.minecraft.nbt

public record ByteTag

implements NumericTag

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

Field summary

Modifier and TypeField
private final byte
v
value
comp_3817
value
private static final int
w
SELF_SIZE_IN_BYTES
field_41717
SIZE
public static final TagType<ByteTag>
a
TYPE
field_21025
TYPE
public static final ByteTag
b
ZERO
field_21026
ZERO
public static final ByteTag
c
ONE
field_21027
ONE

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)
public static ByteTag
a(boolean arg0)
valueOf(boolean arg0)
method_23234(boolean arg0)
of(boolean value)
public void
a(DataOutput arg0)
write(DataOutput arg0)
method_10713(DataOutput arg0)
write(DataOutput arg0)
public int
a()
sizeInBytes()
method_47988()
getSizeInBytes()
public byte
b()
getId()
method_10711()
getType()
public TagType<ByteTag>
c()
getType()
method_23258()
getNbtType()
public ByteTag
e()
copy()
method_10530()
copy()
public void
a(ve arg0)
accept(TagVisitor arg0)
method_32289(class_5627 arg0)
accept(NbtElementVisitor arg0)
public long
g()
longValue()
method_10699()
longValue()
public int
h()
intValue()
method_10701()
intValue()
public short
i()
shortValue()
method_10696()
shortValue()
public byte
j()
byteValue()
method_10698()
byteValue()
public double
k()
doubleValue()
method_10697()
doubleValue()
public float
l()
floatValue()
method_10700()
floatValue()
public Number
m()
box()
method_10702()
numberValue()
public StreamTagVisitor$ValueResult
a(ux arg0)
accept(StreamTagVisitor arg0)
method_39850(class_6836 arg0)
doAccept(NbtScanner arg0)
public byte
n()
value()
comp_3817()
value()