Skip to main content

Module game

Module game 

Source
Expand description

The bus’s domains: each one’s actions as functions (world::get_block(dim, pos), entity::position(uuid), player::give_item(name, item, count)) beside its events. The game: the host’s actions.

Structs§

Dir
The game’s directory.
ModInfo
An installed mod.
ModLoaded
Whether mod id is loaded — a Yog mod or a Java one (the runtime answers).
Mods
Every installed mod: Yog’s and the loader’s (the runtime answers).
PlatformMods
The loader’s own (Java) mods.
Translate
The game’s text for translation key in the current language.
WorldDir
The current world’s directory.

Functions§

dir
The game’s directory.
platform_mods
The loader’s own (Java) mods.
translate
The game’s text for translation key in the current language.
world_dir
The current world’s directory.