-
Notifications
You must be signed in to change notification settings - Fork 148
Magic Blocks
The "mblock" command may be used to add magic blocks, to your world.
(Note: prior to Magic 9.4, you must use the "mauto" command instead. It was renamed to avoid confusion with the "block monster" automata)
Magic blocks are active anytime their chunk is loaded, and deactivate when the chunk unloads. When deactivating, they will cancel their effects and despawn any mobs they had spawned.
Use /mblock add <type>
to add a new automata to the world, in the location in which you are standing.
Magic comes with a few preset automata, such as spawner
, and you can add more to automata.yml.
Magic blocks can spawn mobs via the "spawn.mobs" property, which can be a single mob, a list of mobs, or a probability table.
Example: /mblock add spawner spawn.mobs warlock
Magic Blocks can have an "effects" property, which is an effects list (or reference to a global effects list defined in effects.yml)
This can be used to add cool particle effects to your world, such as with the fountain
example that is builtin to the default configs.
The /mblock list
command can be used to list all active automata. use /mblock select
to select one of these.
The /mblock remove
command can remove your selected automaton, and /mblock describe
and /mblock configure
can view and change the properties of your selection.
Automaton can have a parameters block that overrides their configured template, similar to how wands work.
This means you can /mblock add spawner spawn.mobs creeper
to add a creeper spawner, or /mblock add fountain effects earth
to add a different kind of effect.
- Home
- FAQ
- Support
- Progression
- Spell Points
- Crafting
- Basic Setup
- Customization
- Resource Pack
- Examples
- Messages and Languages
- Vanity Items
- NPCs
- Magic Blocks
- Magic Mobs
- Putting Images on Maps
- Using MySQL or SQLite
- Placeholders
- Skript
- Regions