Merge docs for 'Merge pull request #646 from Ghoulboy78/adding-game-data-version
Add game_data_version to system_info'
This commit is contained in:
1 parent
2233dec197
commit
a4584bd6a0
1 file changed
+3
-2
@@ -4954,7 +4954,7 @@ it could either mean your input is wrong, or statistic effectively has a value o
|
||||
### `system_info()`, `system_info(property)`
|
||||
Fetches the value of a system property or returns all inforation as a map when called without any arguments. It can be used to
|
||||
fetch various information, mostly not changing, or only available via low level
|
||||
system calls. In all cirumstances, these are only provided as read-only.
|
||||
system calls. In all circumstances, these are only provided as read-only.
|
||||
|
||||
Available options in the scarpet app space:
|
||||
* `app_name` - current app name or `null` if its a default app
|
||||
@@ -4972,7 +4972,7 @@ Available options in the scarpet app space:
|
||||
|
||||
|
||||
Relevant gameplay related properties
|
||||
* `game_difficulty` - current difficulty of the game: `'peacefu'`, `'easy'`, `'normal'`, or `'hard'`
|
||||
* `game_difficulty` - current difficulty of the game: `'peaceful'`, `'easy'`, `'normal'`, or `'hard'`
|
||||
* `game_hardcore` - boolean whether the game is in hardcore mode
|
||||
* `game_storage_format` - format of the world save files, either `'McRegion'` or `'Anvil'`
|
||||
* `game_default_gamemode` - default gamemode for new players
|
||||
@@ -4980,6 +4980,7 @@ Available options in the scarpet app space:
|
||||
* `game_view_distance` - the view distance
|
||||
* `game_mod_name` - the name of the base mod. Expect `'fabric'`
|
||||
* `game_version` - base version of the game
|
||||
* `game_data_version` - data version of the game. Returns an integer, so it can be compared.
|
||||
|
||||
Server related properties
|
||||
* `server_motd` - the motd of the server visible when joining
|
||||
|
||||
Reference in new issue
Block a user