Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Legend:
- INIT = Adding a scoreboard.
- R = Repeating Command
- COND = Condition Command
- ###
- INIT: /scoreboard objectives add count dummy
- R: /scoreboard players set counter count 0
- /execute @e[type=Zombie,tag=!found] ~ ~ ~ /scoreboard players add counter count 1
- /scoreboard players test counter count 5
- R:COND: /entitydata @r[type=Zombie,tag=!found] {CustomName:"spawn_ghast",CustomNameVisible:1,Tags:[found]}
- /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]}
- /entitydata @e[tag=!found] {Tags:["found"]}
- R: /execute @e[name=spawn_ghast] ~ ~ ~ /summon Ghast
- /tp @e[name=spawn_ghast] ~ -512 ~
- R:/execute @e[name=spawn_giant] ~ ~ ~ /summon Giant
- /tp @e[name=spawn_giant] ~ -512 ~
- R: /execute @a ~ ~ ~ /scoreboard players tag @e[type=Zombie,r=16] add found
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement