Events and Actions
Make your entities more interactive by performing actions when specific events occur. This is similar to the custom items events and actions.
Events
interact
interact
Actions executed when a player interacts with a custom entity.
attack
attack
Actions executed when a custom entity attacks another entity.
attacked
attacked
Actions executed when a custom entity is attacked by another entity.
damaged
damaged
Actions executed when a custom entity takes damage.
death
death
Actions executed when a custom entity dies.
Actions
summon_entity
summon_entity
Summon a custom entity.
entity
the entity IDmax_per_chunk
the max amount of entities of this type to be allowed to spawn in the current chunk
execute_command
execute_command
Execute a command.
command
the command to executeas_console
if the command must be executed as console (true by default)silent
if the command must send a message or not on executionflow_success_if_message_contains
The plugin can't automatically identify plugins commands success/fail status, so you have to specify a text that can help the plugin to identify the command status.
Common action properties
delay
delay
Delay before executing this action.
flow
flow
Advanced options to change the flow of actions for this event section. Refer to the VSCode extension to get more info.
permission
permission
Permission required to run this action.
Last updated
Was this helpful?