Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- effect play %integer% %string% particle[s] [at ]%location% [with ] offset [x ]%number%, [y ]%number%, [z ]%number%:
- trigger:
- loop expr-1 times:
- set {_w} to expr-3's world
- set {_} to expr-3
- set {_x} to expr-4
- set {_y} to expr-5
- set {_z} to expr-6
- set x-coord of {_} to (X-coord of {_} + (random number between {_x}-({_x}*2) and {_x}))
- set y-coord of {_} to (y-coord of {_} + (random number between {_y}-({_y}*2) and {_y}))
- set z-coord of {_} to (z-coord of {_} + (random number between {_z}-({_z}*2) and {_z}))
- #broadcast "%random integer between {_i}-({_i}*2) and {_i}%"
- expr-2 is "HUGE_EXPLOSION":
- {_w}.playEffect({_},Effect.HUGE_EXPLOSION!, 0, 999)
- expr-2 is "LARGE_EXPLODE":
- {_w}.playEffect({_},Effect.LARGE_EXPLODE!, 0, 999)
- expr-2 is "BUBBLE":
- {_w}.playEffect({_},Effect.BUBBLE!, 0, 999)
- expr-2 is "SUSPEND":
- {_w}.playEffect({_},Effect.SUSPEND!, 0, 999)
- expr-2 is "DEPTH_SUSPEND":
- {_w}.playEffect({_},Effect.DEPTH_SUSPEND!, 0, 999)
- expr-2 is "MAGIC_CRIT":
- {_w}.playEffect({_},Effect.MAGIC_CRIT!, 0, 999)
- expr-2 is "MOB_SPELL":
- {_w}.playEffect({_},Effect.MOB_SPELL!, 0, 999)
- expr-2 is "MOB_SPELL_AMBIENT":
- {_w}.playEffect({_},Effect.MOB_SPELL_AMBIENT!, 0, 999)
- expr-2 is "INSTANT_SPELL":
- {_w}.playEffect({_},Effect.INSTANT_SPELL!, 0, 999)
- expr-2 is "WITCH_MAGIC":
- {_w}.playEffect({_},Effect.WITCH_MAGIC!, 0, 999)
- expr-2 is "EXPLODE":
- {_w}.playEffect({_},Effect.EXPLODE!, 0, 999)
- expr-2 is "SPLASH":
- {_w}.playEffect({_},Effect.SPLASH!, 0, 999)
- expr-2 is "LARGE_SMOKE":
- {_w}.playEffect({_},Effect.LARGE_SMOKE!, 0, 999)
- expr-2 is "RED_DUST":
- {_w}.playEffect({_},Effect.RED_DUST!, 0, 999)
- expr-2 is "SNOWBALL_POOF":
- {_w}.playEffect({_},Effect.SNOWBALL_POOF!, 0, 999)
- expr-2 is "ANGRY_VILLAGER":
- {_w}.playEffect({_},Effect.ANGRY_VILLAGER!, 0, 999)
- expr-2 is "HAPPY_VILLAGER":
- {_w}.playEffect({_},Effect.HAPPY_VILLAGER!, 0, 999)
- expr-2 is "EXPLOSION_NORMAL":
- {_w}.playEffect({_},Effect.EXPLOSION_NORMAL!, 0, 999)
- expr-2 is "EXPLOSION_LARGE":
- {_w}.playEffect({_},Effect.EXPLOSION_LARGE!, 0, 999)
- expr-2 is "EXPLOSION_HUGE":
- {_w}.playEffect({_},Effect.EXPLOSION_HUGE!, 0, 999)
- expr-2 is "FIREWORKS_SPARK":
- {_w}.playEffect({_},Effect.FIREWORKS_SPARK!, 0, 999)
- expr-2 is "WATER_BUBBLE":
- {_w}.playEffect({_},Effect.WATER_BUBBLE!, 0, 999)
- expr-2 is "WATER_SPLASH":
- {_w}.playEffect({_},Effect.WATER_SPLASH!, 0, 999)
- expr-2 is "WATER_WAKE":
- {_w}.playEffect({_},Effect.WATER_WAKE!, 0, 999)
- expr-2 is "CRIT":
- {_w}.playEffect({_},Effect.CRIT!, 0, 999)
- expr-2 is "SMOKE":
- {_w}.playEffect({_},Effect.SMOKE!, 0, 999)
- expr-2 is "SMOKE_LARGE":
- {_w}.playEffect({_},Effect.SMOKE_LARGE!, 0, 999)
- expr-2 is "SPELL":
- {_w}.playEffect({_},Effect.SPELL!, 0, 999)
- expr-2 is "DRIP_WATER":
- {_w}.playEffect({_},Effect.DRIP_WATER!, 0, 999)
- expr-2 is "DRIP_LAVA":
- {_w}.playEffect({_},Effect.DRIP_LAVA!, 0, 999)
- expr-2 is "TOWN_AURA":
- {_w}.playEffect({_},Effect.TOWN_AURA!, 0, 999)
- expr-2 is "NOTE":
- {_w}.playEffect({_},Effect.NOTE!, 0, 999)
- expr-2 is "PORTAL":
- {_w}.playEffect({_},Effect.PORTAL!, 0, 999)
- expr-2 is "ENCHANTMENT_TABLE":
- {_w}.playEffect({_},Effect.ENCHANTMENT_TABLE!, 0, 999)
- expr-2 is "FLAME":
- {_w}.playEffect({_},Effect.FLAME!, 0, 999)
- expr-2 is "LAVA":
- {_w}.playEffect({_},Effect.LAVA!, 0, 999)
- expr-2 is "FOOTSTEP":
- {_w}.playEffect({_},Effect.FOOTSTEP!, 0, 999)
- expr-2 is "CLOUD":
- {_w}.playEffect({_},Effect.CLOUD!, 0, 999)
- expr-2 is "REDSTONE":
- {_w}.playEffect({_},Effect.REDSTONE!, 0, 999)
- expr-2 is "SNOWBALL":
- {_w}.playEffect({_},Effect.SNOWBALL!, 0, 999)
- expr-2 is "SNOW_SHOVEL":
- {_w}.playEffect({_},Effect.SNOW_SHOVEL!, 0, 999)
- expr-2 is "SLIME":
- {_w}.playEffect({_},Effect.SLIME!, 0, 999)
- expr-2 is "HEART":
- {_w}.playEffect({_},Effect.HEART!, 0, 999)
- expr-2 is "BARRIER":
- {_w}.playEffect({_},Effect.BARRIER!, 0, 999)
- command particletest:
- trigger:
- play 50 "HEART" particles at location of player with offset 4, 5, 6
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement