nbt_byte {rbedrock} | R Documentation |
Create an NBT value
Description
The Named Binary Tag (NBT) format is used by Minecraft for various data types. An NBT value holds a 'payload' of data and a 'tag' indicating the type of data held.
nbt_*()
family of functions create nbt data types.
unnbt()
recursively strips NBT metadata from an NBT value.
payload()
reads an nbt value's payload.
get_nbt_tag()
returns the NBT tag corresponding to and NBT value.
Usage
nbt_byte(x)
nbt_short(x)
nbt_int(x)
nbt_long(x)
nbt_float(x)
nbt_double(x)
nbt_byte_array(x)
nbt_string(x)
nbt_raw_string(x)
nbt_int_array(x)
nbt_long_array(x)
nbt_compound(...)
nbt_list(...)
is_nbt(x)
payload(x)
unnbt(x)
get_nbt_tag(x)
Arguments
x |
An nbt value |
... |
Arguments to collect into an NBT compound or NBT list value.
Supports dynamic dots via |
[Package rbedrock version 0.3.2 Index]