Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.92 KB | None | 0 0
  1. {_asdasd} is not set:
  2. loop 100 times:
  3. {cr.mob.%loop-number%.spawner.1} is set:
  4. {cr.mob.%loop-number%.spawner.max} is set:
  5. loop 25 times:
  6. {cr.mob.%loop-number-1%.spawner.%loop-number-2%.chunk} is set:
  7. set {_num} to 0
  8. loop all entities in "acikdunyam" and "BIOMESWAMP":
  9. loop-entity is a living entity:
  10. loop-entity is not a player:
  11. metadata "mob.id" of loop-entity is "%loop-number-1%":
  12. metadata "spawner.id" of loop-entity is "%loop-number-2%":
  13. add 1 to {_num}
  14. {_num} is smaller than {cr.mob.%loop-number-1%.spawner.max}:
  15. delete {_a}
  16. loop all players in radius 25 of location of {cr.mob.%loop-number-1%.spawner.%loop-number-2%}:
  17. set {_a} to true
  18. {_a} is true:
  19. loop loaded chunks of world "acikdunyam" and "BIOMESWAMP":
  20. delete {_loc}
  21. delete {_loc2}
  22. set {_loc2} to location of block at 0, 0, 0 in chunk {cr.mob.%loop-number-1%.spawner.%loop-number-2%.chunk}
  23. set {_loc} to location of block at 0, 0, 0 in chunk loop-chunk
  24. {_loc} is {_loc2}:
  25. chance of 25%:
  26. set {_times} to 10
  27. chance of 25%:
  28. set {_times} to 8
  29. chance of 25%:
  30. set {_times} to 6
  31. else:
  32. set {_times} to 4
  33. loop {_times} times:
  34. set {_arg2} to loop-number-1
  35. set {_y} to y coordinate of {cr.mob.%loop-number-1%.spawner.%loop-number-2%}
  36. set {_locfrom.mob} to location of block at random number from 0.0 and 9.9, {_y}, random number from 0.0 and 9.9 in chunk {cr.mob.%loop-number-1%.spawner.%loop-number-2%.chunk}
  37. {cr.mob.%{_arg2}%.type} is "koyun":
  38. spawn 1 sheep at {_locfrom.mob}
  39. {cr.mob.%{_arg2}%.type} is "zombie":
  40. spawn 1 zombie at {_locfrom.mob}
  41. {cr.mob.%{_arg2}%.type} is "iskelet":
  42. spawn 1 skeleton at {_locfrom.mob}
  43. {cr.mob.%{_arg2}%.type} is "örümcek":
  44. spawn 1 spider at {_locfrom.mob}
  45. {cr.mob.%{_arg2}%.type} is "örümcek2":
  46. spawn 1 cave spider at {_locfrom.mob}
  47. {cr.mob.%{_arg2}%.type} is "witheriskelet":
  48. spawn 1 wither skeleton at {_locfrom.mob}
  49. set last spawned entity when far away state to false
  50. set display name of last spawned entity to "%coloured {cr.mob.%{_arg2}%.name}%"
  51. set max health of last spawned entity to {cr.mob.%{_arg2}%.health}
  52. heal last spawned entity
  53. {cr.mob.%{_arg2}%.boss} is true:
  54. set metadata "mob.boss" of last spawned entity to "true"
  55. set metadata "spawner.id" of last spawned entity to "%loop-number-2%"
  56. set metadata "mob.id" of last spawned entity to "%{_arg2}%"
  57. {cr.mob.%{_arg2}%.helmet} is set:
  58. set last spawned entity's helmet to 1 of {cr.mob.%{_arg2}%.helmet}
  59. {cr.mob.%{_arg2}%.chestplate} is set:
  60. set last spawned entity's chestplate to 1 of {cr.mob.%{_arg2}%.chestplate}
  61. {cr.mob.%{_arg2}%.leggings} is set:
  62. set last spawned entity's leggings to 1 of {cr.mob.%{_arg2}%.leggings}
  63. {cr.mob.%{_arg2}%.boots} is set:
  64. set last spawned entity's boots to 1 of {cr.mob.%{_arg2}%.boots}
  65. {cr.mob.%{_arg2}%.tool} is set:
  66. set last spawned entity's weapon to 1 of {cr.mob.%{_arg2}%.tool}
  67. {cr.mob.%{_arg2}%.shield} is set:
  68. set offhand tool of last spawned entity to 1 of {cr.mob.%{_arg2}%.shield}
  69. else:
  70. set {_nbt.%last spawned entity%} to uncoloured "%nbt of last spawned entity%"
  71. replace "LeftHanded:1b" with "SOLELVAR" in {_nbt.%last spawned entity%}
  72. {_nbt.%last spawned entity%} contains "SOLELVAR":
  73. kill last spawned entity
  74. wait 1 ticks
  75. stop loop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement