OpenMiner/Notes

17 lines
195 B
Plaintext

Notes
# Lua API integration
## HUD
```lua
local hud = LuaHUD.new()
hud:hotbar {
pos = {x = 42, y = 84},
texture = "default_hotbar.png",
slots = 8,
}
openminer:player():set_hud(hud)