🌘
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 events?
  • What events are available?
  • How do I use events?

Was this helpful?

  1. ⏲️ Events

Introduction

Quick and simple introduction to the bloodmoon events.

PreviousIntroductionNextStop Event

Last updated 5 years ago

Was this helpful?

What are events?

An event is a pre-defined action which will be executed with a certain chance. Events can be added to one or more actions.

What events are available?

Currently we have 10 events which can be used during the bloodmoon.

How do I use events?

Depending on the event, you might need different parameters in your config. Although it looks a bit complex to configure, you get used to it faster then you would expect.

actions:
  example-teleport:
    events:
      - teleport 10 100
      - speak &4Try to catch me now! 100
    commands: []

Argument 1: The radius in which the mob will teleport Argument 2: The percentage it will execute

So for the above example: whenever example-teleport is fired, our entity will teleport somewhere in a radius of 10 blocks. Since the percentage is set to 100, this action will always happen.

The percentage is a mandatory argument. No matter how many arguments you have, your line should always end with a number representing the chance in percentage the event will execute.

Below you can see an example of an action using the

Explanation: we have an action named "example-teleport". Our action has 2 events. The event we will be using is the event. If we take a look at the Teleport Event page, we can see that it uses 2 arguments.

As we have another event "", with a percentage set to 100, both lines will always execute which will result in your mob saying : "Try to catch me now!" and a simultaneous teleport of your mob.

Teleport Event
teleport
speak