PendingTicks {rbedrock}R Documentation

Load and store PendingTicks NBT data

Description

PendingTicks data (tag 51) holds a list of NBT values for pending ticks.

get_pending_ticks_data() and get_pending_ticks_value() load PendingTicks data from db. get_pending_ticks_data() will silently drop and keys not representing PendingTicks data. get_pending_ticks_value() supports loading only a single value. get_pending_ticks_values() is a synonym for get_pending_ticks_data().

put_pending_ticks_values(), put_pending_ticks_value(), and put_pending_ticks_data() store PendingTicks data into db.

Usage

get_pending_ticks_data(db, x, z, dimension)

get_pending_ticks_values(db, x, z, dimension)

get_pending_ticks_value(db, x, z, dimension)

put_pending_ticks_values(db, x, z, dimension, values)

put_pending_ticks_value(db, x, z, dimension, value)

put_pending_ticks_data(db, data)

Arguments

db

A bedrockdb object.

x, z, dimension

Chunk coordinates to extract data from. x can also be a character vector of db keys.

values

A list of nbt objects

value

An nbt object.

data

A named-list specifying key-value pairs.

Value

get_pending_ticks_data() returns a named-list of nbt data. get_pending_ticks_values() returns a single nbt value.


[Package rbedrock version 0.3.2 Index]