Introduction
Introduction to actions
Last updated
Introduction to actions
Last updated
Actions are actions that can be added to your life cycle. Actions exist out of 2 lists:
events
commands
Below you can find a simple example of an action:
In the above example we have an action with both an event and command. Our action says that our entity will teleport somewhere in a radius of 10 blocks at 100% chance.
Simultaneously, the console will print a message "The mob just teleported!". This message also will always occur as the percentage is also set to 100%.
For more information about events, click here
Placeholder
Description
%player%
placeholder for player name
%world%
placeholder for the name of the world