Repository navigation
Resources Module
STBrian edited this page Nov 9, 2026
·
1 revision
The Resources submodule provides access to the game's localization and asset settings.
| Game.Resources.reloadLocale | Forces Minecraft to reload its localization strings |
| Game.Resources.getLocale | Returns the identifier of the currently selected game language |
Forces Minecraft: 3DS Edition to reload language files from disk.
Game.Resources.reloadLocale()Returns the code/name of the currently selected language locale (e.g. "en_US", "es_ES"), or nil if not loaded.
Game.Resources.getLocale() -> string?local locale = Game.Resources.getLocale()
if locale then
Core.Debug.log("Current game language: " .. locale)
end