Advertisement
Guest User

Untitled

a guest
Dec 15th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.16 KB | None | 0 0
  1. effect play %integer% %string% particle[s] [at ]%location% [with ] offset [x ]%number%, [y ]%number%, [z ]%number%:
  2. trigger:
  3. loop expr-1 times:
  4. set {_w} to expr-3's world
  5. set {_} to expr-3
  6. set {_x} to expr-4
  7. set {_y} to expr-5
  8. set {_z} to expr-6
  9. set x-coord of {_} to (X-coord of {_} + (random number between {_x}-({_x}*2) and {_x}))
  10. set y-coord of {_} to (y-coord of {_} + (random number between {_y}-({_y}*2) and {_y}))
  11. set z-coord of {_} to (z-coord of {_} + (random number between {_z}-({_z}*2) and {_z}))
  12. #broadcast "%random integer between {_i}-({_i}*2) and {_i}%"
  13. expr-2 is "HUGE_EXPLOSION":
  14. {_w}.playEffect({_},Effect.HUGE_EXPLOSION!, 0, 999)
  15. expr-2 is "LARGE_EXPLODE":
  16. {_w}.playEffect({_},Effect.LARGE_EXPLODE!, 0, 999)
  17. expr-2 is "BUBBLE":
  18. {_w}.playEffect({_},Effect.BUBBLE!, 0, 999)
  19. expr-2 is "SUSPEND":
  20. {_w}.playEffect({_},Effect.SUSPEND!, 0, 999)
  21. expr-2 is "DEPTH_SUSPEND":
  22. {_w}.playEffect({_},Effect.DEPTH_SUSPEND!, 0, 999)
  23. expr-2 is "MAGIC_CRIT":
  24. {_w}.playEffect({_},Effect.MAGIC_CRIT!, 0, 999)
  25. expr-2 is "MOB_SPELL":
  26. {_w}.playEffect({_},Effect.MOB_SPELL!, 0, 999)
  27. expr-2 is "MOB_SPELL_AMBIENT":
  28. {_w}.playEffect({_},Effect.MOB_SPELL_AMBIENT!, 0, 999)
  29. expr-2 is "INSTANT_SPELL":
  30. {_w}.playEffect({_},Effect.INSTANT_SPELL!, 0, 999)
  31. expr-2 is "WITCH_MAGIC":
  32. {_w}.playEffect({_},Effect.WITCH_MAGIC!, 0, 999)
  33. expr-2 is "EXPLODE":
  34. {_w}.playEffect({_},Effect.EXPLODE!, 0, 999)
  35. expr-2 is "SPLASH":
  36. {_w}.playEffect({_},Effect.SPLASH!, 0, 999)
  37. expr-2 is "LARGE_SMOKE":
  38. {_w}.playEffect({_},Effect.LARGE_SMOKE!, 0, 999)
  39. expr-2 is "RED_DUST":
  40. {_w}.playEffect({_},Effect.RED_DUST!, 0, 999)
  41. expr-2 is "SNOWBALL_POOF":
  42. {_w}.playEffect({_},Effect.SNOWBALL_POOF!, 0, 999)
  43. expr-2 is "ANGRY_VILLAGER":
  44. {_w}.playEffect({_},Effect.ANGRY_VILLAGER!, 0, 999)
  45. expr-2 is "HAPPY_VILLAGER":
  46. {_w}.playEffect({_},Effect.HAPPY_VILLAGER!, 0, 999)
  47. expr-2 is "EXPLOSION_NORMAL":
  48. {_w}.playEffect({_},Effect.EXPLOSION_NORMAL!, 0, 999)
  49. expr-2 is "EXPLOSION_LARGE":
  50. {_w}.playEffect({_},Effect.EXPLOSION_LARGE!, 0, 999)
  51. expr-2 is "EXPLOSION_HUGE":
  52. {_w}.playEffect({_},Effect.EXPLOSION_HUGE!, 0, 999)
  53. expr-2 is "FIREWORKS_SPARK":
  54. {_w}.playEffect({_},Effect.FIREWORKS_SPARK!, 0, 999)
  55. expr-2 is "WATER_BUBBLE":
  56. {_w}.playEffect({_},Effect.WATER_BUBBLE!, 0, 999)
  57. expr-2 is "WATER_SPLASH":
  58. {_w}.playEffect({_},Effect.WATER_SPLASH!, 0, 999)
  59. expr-2 is "WATER_WAKE":
  60. {_w}.playEffect({_},Effect.WATER_WAKE!, 0, 999)
  61. expr-2 is "CRIT":
  62. {_w}.playEffect({_},Effect.CRIT!, 0, 999)
  63. expr-2 is "SMOKE":
  64. {_w}.playEffect({_},Effect.SMOKE!, 0, 999)
  65. expr-2 is "SMOKE_LARGE":
  66. {_w}.playEffect({_},Effect.SMOKE_LARGE!, 0, 999)
  67. expr-2 is "SPELL":
  68. {_w}.playEffect({_},Effect.SPELL!, 0, 999)
  69. expr-2 is "DRIP_WATER":
  70. {_w}.playEffect({_},Effect.DRIP_WATER!, 0, 999)
  71. expr-2 is "DRIP_LAVA":
  72. {_w}.playEffect({_},Effect.DRIP_LAVA!, 0, 999)
  73. expr-2 is "TOWN_AURA":
  74. {_w}.playEffect({_},Effect.TOWN_AURA!, 0, 999)
  75. expr-2 is "NOTE":
  76. {_w}.playEffect({_},Effect.NOTE!, 0, 999)
  77. expr-2 is "PORTAL":
  78. {_w}.playEffect({_},Effect.PORTAL!, 0, 999)
  79. expr-2 is "ENCHANTMENT_TABLE":
  80. {_w}.playEffect({_},Effect.ENCHANTMENT_TABLE!, 0, 999)
  81. expr-2 is "FLAME":
  82. {_w}.playEffect({_},Effect.FLAME!, 0, 999)
  83. expr-2 is "LAVA":
  84. {_w}.playEffect({_},Effect.LAVA!, 0, 999)
  85. expr-2 is "FOOTSTEP":
  86. {_w}.playEffect({_},Effect.FOOTSTEP!, 0, 999)
  87. expr-2 is "CLOUD":
  88. {_w}.playEffect({_},Effect.CLOUD!, 0, 999)
  89. expr-2 is "REDSTONE":
  90. {_w}.playEffect({_},Effect.REDSTONE!, 0, 999)
  91. expr-2 is "SNOWBALL":
  92. {_w}.playEffect({_},Effect.SNOWBALL!, 0, 999)
  93. expr-2 is "SNOW_SHOVEL":
  94. {_w}.playEffect({_},Effect.SNOW_SHOVEL!, 0, 999)
  95. expr-2 is "SLIME":
  96. {_w}.playEffect({_},Effect.SLIME!, 0, 999)
  97. expr-2 is "HEART":
  98. {_w}.playEffect({_},Effect.HEART!, 0, 999)
  99. expr-2 is "BARRIER":
  100. {_w}.playEffect({_},Effect.BARRIER!, 0, 999)
  101. command particletest:
  102. trigger:
  103. play 50 "HEART" particles at location of player with offset 4, 5, 6
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement