net.minecraft.nbt

public record NbtByte

implements AbstractNbtNumber

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

Field summary

Modifier and TypeField
private final byte
value
comp_3817
value
private static final int
SELF_SIZE_IN_BYTES
field_41717
SIZE
public static final NbtType<NbtByte>
TYPE
field_21025
TYPE
public static final NbtByte
ZERO
field_21026
ZERO
public static final NbtByte
ONE
field_21027
ONE

Constructor summary

ModifierConstructor
public (byte value)

Method summary

Modifier and TypeMethod
public static NbtByte
valueOf(byte data)
method_23233(byte arg0)
of(byte value)
public static NbtByte
valueOf(boolean data)
method_23234(boolean arg0)
of(boolean value)
public void
write(DataOutput output)
method_10713(DataOutput arg0)
write(DataOutput arg0)
public int
sizeInBytes()
method_47988()
getSizeInBytes()
public byte
getId()
method_10711()
getType()
public NbtType<NbtByte>
getType()
method_23258()
getNbtType()
public NbtByte
copy()
method_10707()
copy()
public void
accept(TagVisitor visitor)
method_32289(class_5627 arg0)
accept(NbtElementVisitor arg0)
public long
longValue()
method_10699()
longValue()
public int
intValue()
method_10701()
intValue()
public short
shortValue()
method_10696()
shortValue()
public byte
byteValue()
method_10698()
byteValue()
public double
doubleValue()
method_10697()
doubleValue()
public float
floatValue()
method_10700()
floatValue()
public Number
box()
method_10702()
numberValue()
public NbtScanner$Result
accept(StreamTagVisitor visitor)
method_39850(class_6836 arg0)
doAccept(NbtScanner arg0)
public byte
value()
comp_3817()
value()
public NbtElement
copy()
method_10707()
copy()