forked from ModDamage/ModDamage
-
Notifications
You must be signed in to change notification settings - Fork 0
Routine: Play Effect
1cec0ld edited this page Nov 10, 2012
·
9 revisions
Makes the specified visual or audio effect occur on the entity. Additional parameters determine different sub-effects or distances.
- '{entity}.playeffect.{effectType}[.{data}][.radius.{radius}]'#Viable Effect types are:
-
BOW_FIRESound of a bow firing. -
CLICK1A click sound. -
CLICK2An alternate click sound. -
DOOR_TOGGLESound of a door opening/closing. -
EXTINGUISHSound of fire being extinguished. -
RECORD_PLAYA song from a record. Needs the record item ID as additional info -
GHAST_SHRIEKSound of ghast shrieking. -
GHAST_SHOOTSound of ghast firing. -
BLAZE_SHOOTSound of blaze firing. -
SMOKEA visual smoke effect. Needs direction as additional info. Directions:- South East:
0 - South:
1 - South West:
2 - East:
3 - Up:
4 - West:
5 - North East:
6 - North:
7 - North West:
8
- South East:
-
BLOCK_BREAKSound of a block breaking. Needs block ID as additional info. -
POTION_BREAKData determines the splash potion broken:0-63 -
ENDER_SIGNALAn ender eye signal; a visual effect. -
ZOMBIE_CHEW_WOODEN_DOORSound of zombies chewing on wooden doors. -
ZOMBIE_CHEW_IRON_DOORSound of zombies chewing on iron doors. -
ZOMBIE_DESTROY_DOORSound of zombies destroying a door. -
STEP_SOUNDSound of a block being stepped on. Needs block ID as additional info. -
MOBSPAWNER_FLAMESThe flames seen on a mobspawner; a visual effect.
Damage: #A Visual Reminder When You Hit A Boss Mob.
- 'if target.istagged.Boss':
- 'target.playeffect.MOBSPAWNER_FLAMES'Heal:
- 'if entity.istagged.Boss':
- 'entity.playeffect.SMOKE.UP.radius.5' #Effect is visible for 5 blocks away