UNPKG

@mark-wiemer/luanti-api

Version:

Luanti API TypeScript definitions for TypeScriptToLua

23 lines (18 loc) 400 B
import "./mod"; core.register_node("test", { description: "test block", tiles: [{ name: "test.png" }], drawtype: "nodebox", node_box: { type: "fixed", fixed: [-0.5, -0.5, -0.5, 0.5, 0.5, 0.5], }, collision_box: { type: "fixed", fixed: [-0.5, -0.5, -0.5, 0.5, 0.5, 0.5], }, selection_box: { type: "fixed", fixed: [-0.5, -0.5, -0.5, 0.5, 0.5, 0.5], }, });