new_nbt: Create an NBT value

View source: R/nbt.R

new_nbtR Documentation

Create an NBT value

Description

Create an NBT value

Usage

new_nbt(x, tag)

new_nbt_byte(x)

new_nbt_short(x)

new_nbt_int(x)

new_nbt_long(x)

new_nbt_float(x)

new_nbt_double(x)

new_nbt_byte_array(x)

new_nbt_string(x)

new_nbt_raw_string(x)

new_nbt_int_array(x)

new_nbt_long_array(x)

new_nbt_compound(x)

new_nbt_list(x)

Arguments

x

An nbt payload.

tag

An integer specifying the tag of the data.


rbedrock documentation built on Oct. 7, 2023, 1:07 a.m.