- Updated AspectsLib version to the lastest
- Backported [Has Command Tag (Entity Condition)](https://github.com/apace100/apoli/pull/180) under the `sync:has_command_tag` namespace
- Backported [Spawn Entity (Block Action Type)](https://origins.readthedocs.io/en/latest/types/block_action_types/spawn_entity/) under the `sync:spawn_entity` namespace
- Implemented a Print entity action. You can use it by following the documentation:
# Print
[Entity Action Type](https://origins.readthedocs.io/en/latest/types/entity_action_types/)
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](https://origins.readthedocs.io/en/latest/types/data_types/string/) | | The message to be printed.
`show_in_chat` | [Boolean](https://origins.readthedocs.io/en/latest/types/data_types/boolean/) | `false` | If true, the message will also be sent to the player's chat.
`logger_id` | [String](https://origins.readthedocs.io/en/latest/types/data_types/string/) | `"Sync/PrintAction"` | The identifier used for the console logger. This allows customization of the log prefix.
### Examples
```json
"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.
```json
"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.
Optional dependencies
AspectsLib
Any compatible version
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }