Woodyo

Untitled

Feb 22nd, 2022
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. Mirror_Mob-Controller:
  2. Type: ARMOR_STAND
  3. Options:
  4. Marker: true
  5. #ApplyInvisibility: true
  6. Silent: true
  7. Skills:
  8. - message{m="Parent<&co> <caster.var.x_diff>, <caster.var.z_diff>"} @world ~onTimer:20
  9.  
  10. - setVariable{var=caster.x_diff;value=<caster.l.x.double>-<target.l.x.double>;type=FLOAT;sync=true} @NearestPlayer{r=20} ~onTimer:1
  11. - setVariable{var=caster.z_diff;value=<caster.l.z.double>-<target.l.z.double>;type=FLOAT;sync=true} @NearestPlayer{r=20} ~onTimer:1
  12.  
  13. - summon{t=Mirror_Mob-NS} @location{c=<caster.l.x.double>,<caster.l.y.double>,<caster.l.z.double>-11} ~onSpawn
  14. #- summon{t=Mirror_Mob-NS} @location{c=<caster.l.x.double>,<caster.l.y.double>,<caster.l.z.double>+11} ~onSpawn
  15. Disguise: ARMOR_STAND #setInvisible
  16.  
  17. Mirror_Mob-NS:
  18. Type: ARMOR_STAND
  19. Options:
  20. Marker: true
  21. #ApplyInvisibility: true
  22. Silent: true
  23. Skills:
  24. - message{m="Child<&co> <caster.var.x_diff>,<caster.var.z_diff>"} @world ~onTimer:20
  25.  
  26. - setVariable{var=caster.x_diff;value=<target.var.x_diff>;type=FLOAT} @Parent ~onTimer:1
  27. - setVariable{var=caster.z_diff;value=0-<target.var.z_diff>;type=FLOAT} @Parent ~onTimer:1
  28.  
  29. - summon{t=Mirror_Mob-Fake} @SelfLocation ~onSpawn
  30. - teleportto{location=<caster.var.x_diff>,<caster.var.y_diff>,<caster.var.z_diff>;relative=true;sync=true} @Children
  31. Disguise: ARMOR_STAND #setInvisible
Add Comment
Please, Sign In to add comment