Events
registerUnloadCallback(function)
registerUnloadCallback(function)-- Example code showing how to use the function
registerUnloadCallback(function()
print("Script unloaded")
end)registerClientTick(function)
registerClientTick(function)-- Example code showing how to use the function
local tick = 0
registerClientTick(function()
tick = tick + 1
end)registerWorldRenderer(function(context))
registerWorldRenderer(function(context))register2DRenderer(function(context))
register2DRenderer(function(context))registerLocationChangeEvent(function(location))
registerLocationChangeEvent(function(location))registerMessageEvent(function(text, overlay, json))
registerMessageEvent(function(text, overlay, json))registerSendMessageEvent(function(text))
registerSendMessageEvent(function(text))registerSendCommandEvent(function(text))
registerSendCommandEvent(function(text))registerKeyEvent(function(key, action))
registerKeyEvent(function(key, action))registerBlockUpdate(function(update))
registerBlockUpdate(function(update))registerServerSideRotationEvent(function(yaw, pitch))
registerServerSideRotationEvent(function(yaw, pitch))registerServerTeleportEvent(function(yaw, pitch))
registerServerTeleportEvent(function(yaw, pitch))registerInventoryItemChange(function(slot, item))
registerInventoryItemChange(function(slot, item))registerSpawnParticle(function(data))
registerSpawnParticle(function(data))Last updated