Overgrown's Sync 1.2.4 для Minecraft 1.20.1 (Fabric)
Это не последняя версия. Последняя для 1.20.1 · Fabric — 1.11.8Открыть 1.11.8 →
Файлы · 2
Основной · 188 КБ
SHA-1
8399dd407ba6d0fadb3e45a476a403388dd5f343SHA-51209a755a49f2f175e5fc13674a154e4986796a4358dd13af25bef5100b1a22569713a8c43269710a3a20e0c15d7871ea03172d4c1e3cbc9a6e8d2ec7dd4b91ebeЧто изменилось
- 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.