
Overgrown's Sync
A system for yielding new capabilities. Sync is an addon for the Apoli mod that's used primarily for the Origins mod!
2.2K
2
Список изменений
- Updated AspectsLib version to the lastest
- Backported Has Command Tag (Entity Condition) under the
sync:has_command_tagnamespace - Backported Spawn Entity (Block Action Type) under the
sync:spawn_entitynamespace - Implemented a Print entity action. You can use it by following the documentation:
Prints a message to the console and optionally sends it to the player's chat.
Type ID: sync:print
Fields
| Field | Type | Default | Description |
|---|---|---|---|
message | String | The message to be printed. | |
show_in_chat | Boolean | false | If true, the message will also be sent to the player's chat. |
logger_id | String | "Sync/PrintAction" | The identifier used for the console logger. This allows customization of the log prefix. |
Examples
"entity_action": {
"type": "sync:print",
"message": "Player activated power!",
"show_in_chat": true,
"logger_id": "MyMod/CustomAction"
}
This example will print "Player activated power!" to the console with the prefix "MyMod/CustomAction" and also display it in the player's chat.
"entity_action": {
"type": "sync:print",
"message": "Debug information",
"show_in_chat": false
}
This example will print "Debug information" to the console using the default "Sync/PrintAction" identifier, but won't show it in chat.
Метаданные
Канал релиза
Release
Номер версии
1.2.4
Загрузчики
Fabric
Версии игры
1.20.1
Загрузок
93
Дата публикации
6 мес. назад
