🌘
Bloodmoon Advanced
  • Bloodmoon Advanced
  • ❓FAQ
  • 📚Guides
    • Enable bloodmoon for your world
    • How to use commands in console
    • Use custom sounds
  • General
    • Commands & Permissions
  • ⏰SCHEDULES
    • Introduction
    • Commands
    • Properties
  • 🚧SIGNS
    • Introduction
    • Overview
  • 💀Mobs
    • Introduction
    • Properties
    • Commands
    • Spawn mechanics
    • Boss
    • Mythic mobs
  • 📦Items
    • Introduction
    • Commands
  • 🌡️Lifecycles
    • Introduction
    • Commands
  • 🎬Actions
    • Introduction
    • Commands
  • 💀Death Actions
    • Introduction
  • ⏲️ Events
    • Introduction
    • Stop Event
    • Death Event
    • Heal Event
    • Lightning Event
    • Potion effect Event
    • Teleport Event
    • Swap Event
    • Reinforcement Event
    • Dash Event
    • Speak Event
    • Respawn Event
    • Explode Event
    • Sound Event
    • Vanish Event
    • Shield Event
  • Placeholder API
    • Overview of placeholders
  • 📄Configs
    • config.yml
    • mobs.yml
    • actions.yml
    • lifecycles.yml
    • items.yml
    • messages.yml
    • schedules.yml
  • 🖇️API
    • Introduction
    • API docs
Powered by GitBook
On this page
  • What are actions
  • How to configure an action
  • Placeholders for commands

Was this helpful?

  1. Actions

Introduction

Introduction to actions

PreviousCommandsNextCommands

Last updated 5 years ago

Was this helpful?

What are actions

Actions are actions that can be added to your life cycle. Actions exist out of 2 lists:

  • events

  • commands

How to configure an action

Below you can find a simple example of an action:

example-action:
  events:
    - teleport 10 100
  commands:
    - say the mob just teleported! 100

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%.

Placeholders for commands

Placeholder

Description

%player%

placeholder for player name

%world%

placeholder for the name of the world

For more information about events, click

🎬
here