This commit is contained in:
CommandLeo authored and GitHub committed 2022-01-08 23:21:02 +01:00
1 parent ff5f62b0e1
commit 130c8a8322
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -687,7 +687,7 @@ system calls. In all circumstances, these are only provided as read-only.
* `app_name` - current app name or `null` if its a default app
* `app_list` - list of all loaded apps excluding default commandline app
* `app_scope` - scope of the global variables and function. Available options is `player` and `global`
* `app_player` - returns a player list that have app run under them. For `global` apps, the list is always empty
* `app_players` - returns a player list that have app run under them. For `global` apps, the list is always empty
##### Relevant world related properties
* `world_name` - name of the world
@@ -715,7 +715,7 @@ system calls. In all circumstances, these are only provided as read-only.
* `game_version` - base version of the game
* `game_target` - target release version
* `game_major_target` - major release target. For 1.12.2, that would be 12
* `game_minor_reease` - minor release target. For 1.12.2, that woudl be 2
* `game_minor_release` - minor release target. For 1.12.2, that would be 2
* `game_protocol` - protocol version number
* `game_pack_version` - datapack version number
* `game_data_version` - data version of the game. Returns an integer, so it can be compared.
+1 -1
View File
@@ -128,7 +128,7 @@ in a list and contain of map-like resources descriptors, looking like
or a relative location in the same folder as the app in question (the relative location directly).
`'target'` points to the path in app data, or shared app data folder. If not specified it will place the app into the main data folder with the name it has.
if `'shared'` is specified and `true`. When re-downloading the app, all resources will be re-downloaded as well.
Currently, app resources are only downloaded when using `/carpet download` command.
Currently, app resources are only downloaded when using `/script download` command.
* `libraries` - list of libraries or apps to be downloaded when installing the app from the app store. It needs to be a list of map-like resource
descriptors, like the above `resources` field.
```