« Back to search

Mod

node entity queue

by rheo · score 1.9 · license: LGPL-3.0-or-later

node entity queue

Download latest release

a queue for spreading out the generation of node entities over multiple server steps (smartshops, signs, itemframes, etc).

library

node_entity_queue

an API which creates a common queue for updating "node entities", a term i use for non-physical entities which are semantically bound to a specific node.

api

  • function api.register_node_entity_loader(node_name, action) action = function(pos, node, params, dtime, n) the initializer action will be queued for calling whenever it is "loaded" (mapblock becomes active).