minetest.lua 662 B

1234567891011121314151617181920212223242526272829
  1. ---@meta
  2. ---Minetest 5.7 [2a1bc8](https://github.com/minetest/minetest/blob/2a1bc8/doc/lua_api.txt) API
  3. ---
  4. ---* [Official site](http://www.minetest.net)
  5. ---* [Developer Wiki](http://dev.minetest.net)
  6. ---* [Unofficial Modding Book](https://rubenwardy.com/minetest_modding_book)
  7. ---@class mt.Core
  8. minetest = {
  9. CONTENT_AIR = 126,
  10. CONTENT_IGNORE = 127,
  11. CONTENT_UNKNOWN = 125,
  12. EMERGE_CANCELLED = 0,
  13. EMERGE_ERRORED = 1,
  14. EMERGE_FROM_DISK = 3,
  15. EMERGE_FROM_MEMORY = 2,
  16. EMERGE_GENERATED = 4,
  17. LIGHT_MAX = 14,
  18. MAP_BLOCKSIZE = 16,
  19. PLAYER_MAX_BREATH_DEFAULT = 10,
  20. PLAYER_MAX_HP_DEFAULT = 20,
  21. }
  22. ---@type mt.Core
  23. minetest = minetest
  24. ---@type mt.Core
  25. core = core