Creator
A library for creating various game classes using Lua.
createBox(minX, minY, minZ, maxX, maxY, maxZ)
createBox(minX, minY, minZ, maxX, maxY, maxZ)-- Example code showing how to use the function
local box = creator.createBox(0, 0, 0, 1, 1 ,1)
registerWorldRenderer(function(context)
local filled = {
box = box,
red = 255, green = 0, blue = 0, alpha = 140,
through_walls = false
}
context.renderFilled(filled)
end)createItemStackFromId(id)
createItemStackFromId(id)Last updated