Skip to content
KoryuObihiro edited this page Aug 19, 2011 · 5 revisions

Syntax: switch.event.$worldalias

Description: Switches based on the event world. Cases are world names in Bukkit, or aliases comprised of these.

Example:

Damage: #Make eggs explode on contact with something living.
    - 'switch.rangedelement':
        Egg:
            - 'targeteffect.explode': '2'

See also: Explode, Addition

Clone this wiki locally