Advertisement
Jragon014

Custom Mobs Tutorial

Jun 22nd, 2016
9,119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. #Legend:
  2. INIT = Adding a scoreboard.
  3. R = Repeating Command
  4. COND = Condition Command
  5.  
  6. ###
  7.  
  8. INIT: /scoreboard objectives add count dummy
  9.  
  10.  
  11.  
  12. R: /scoreboard players set counter count 0
  13.  
  14. /execute @e[type=Zombie,tag=!found] ~ ~ ~ /scoreboard players add counter count 1
  15.  
  16. /scoreboard players test counter count 5
  17.  
  18. R:COND: /entitydata @r[type=Zombie,tag=!found] {CustomName:"spawn_ghast",CustomNameVisible:1,Tags:[found]}
  19.  
  20. /execute @r[type=Zombie,tag=!found] ~ ~ ~ detect ~ ~-1 ~ sand -1 /entitydata @e[type=Zombie,c=1,r=0] {CustomName:"spawn_giant",CustomNameVisible:1,Tags:[found]}
  21.  
  22. /entitydata @e[tag=!found] {Tags:["found"]}
  23.  
  24.  
  25.  
  26.  
  27. R: /execute @e[name=spawn_ghast] ~ ~ ~ /summon Ghast
  28. /tp @e[name=spawn_ghast] ~ -512 ~
  29.  
  30.  
  31. R:/execute @e[name=spawn_giant] ~ ~ ~ /summon Giant
  32. /tp @e[name=spawn_giant] ~ -512 ~
  33.  
  34.  
  35.  
  36.  
  37. R: /execute @a ~ ~ ~ /scoreboard players tag @e[type=Zombie,r=16] add found
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement