net.minecraft.nbt

public class ByteTag

extends NumericTag

All mapped superinterfaces:

Tag

mb
net.minecraft.nbt.ByteTag
net.minecraft.class_2481
net.minecraft.nbt.ByteTag
net.minecraft.nbt.ByteNBT
net.minecraft.server.v1_16_R3.NBTTagByte

Field summary

Modifier and TypeField
public static final TagType<ByteTag>
a
TYPE
field_21025
READER
field_229668_a_
public static final ByteTag
b
ZERO
field_21026
ZERO
field_229669_b_
public static final ByteTag
c
ONE
field_21027
ONE
field_229670_c_
private final byte
h
data
field_11498
value
field_74756_a
data

Constructor summary

ModifierConstructor
private (byte value)

Method summary

Modifier and TypeMethod
public static ByteTag
a(byte arg0)
valueOf(byte arg0)
method_23233(byte arg0)
of(byte value)
func_229671_a_(byte arg0)
public static ByteTag
a(boolean arg0)
valueOf(boolean arg0)
method_23234(boolean arg0)
of(boolean value)
func_229672_a_(boolean arg0)
public void
a(DataOutput arg0)
write(DataOutput arg0)
method_10713(DataOutput arg0)
write(DataOutput arg0)
func_74734_a(DataOutput arg0)
write(DataOutput arg0)
public byte
a()
getId()
method_10711()
getType()
func_74732_a()
getTypeId()
public TagType<ByteTag>
b()
getType()
method_23258()
getReader()
func_225647_b_()
public ByteTag
d()
copy()
method_10530()
copy()
func_74737_b()
clone()
public Component
a(String arg0, int arg1)
getPrettyDisplay(String arg0, int arg1)
method_10710(String arg0, int arg1)
toText(String arg0, int arg1)
func_199850_a(String arg0, int arg1)
public long
e()
getAsLong()
method_10699()
getLong()
func_150291_c()
asLong()
public int
f()
getAsInt()
method_10701()
getInt()
func_150287_d()
asInt()
public short
g()
getAsShort()
method_10696()
getShort()
func_150289_e()
asShort()
public byte
h()
getAsByte()
method_10698()
getByte()
func_150290_f()
asByte()
public double
i()
getAsDouble()
method_10697()
getDouble()
func_150286_g()
asDouble()
public float
j()
getAsFloat()
method_10700()
getFloat()
func_150288_h()
asFloat()
public Number
k()
getAsNumber()
method_10702()
getNumber()
func_209908_j()