1
Anyone know how to do this?
Anyone knows how I can make a ocelot spawn when I die (like in front of me) with command blocks? (and can the ocelot attack or something) Thanks! I'm not good with them
Create an account or sign in to comment.
5
1
Use this command:
/kill @e[type=Ocelot]
1
/scoreboard objectives add DeathO deathcount
/execute @a[score_DeathO_min=1] ~ ~ ~ /summon Ocelot (On a clock or repeat command block 1.9)
/scoreboard players set Ocelotdeath @a[score_DeathO_min=1] 0
/execute @a[score_DeathO_min=1] ~ ~ ~ /summon Ocelot (On a clock or repeat command block 1.9)
/scoreboard players set Ocelotdeath @a[score_DeathO_min=1] 0
1
you can make a scoreboard objecive count your death and reset it each time.
each time you die it spawns a oceleot.
if you want the ocelot attack then just put a silverfish under him , thats how it works.
if i name my Objective as Ocelotdeath
i would set a system like this.
Make sure you have a scoreboard reseter.
put this in your clock:
each time you die it spawns a oceleot.
if you want the ocelot attack then just put a silverfish under him , thats how it works.
if i name my Objective as Ocelotdeath
i would set a system like this.
/execute @a[score_Ocelotdeath_min=1] ~ ~ ~ /summon Ocelot
Make sure you have a scoreboard reseter.
put this in your clock:
/scoreboard players set Ocelotdeath @a[score_Ocelotdeath_min=1] 0
1
Yes, I could make a custom one command creation that did exactly what you want. It's EXTREMELY easy. PM me if u want a custom creation, post back here if you just want help doing it yourself. Also, do u want it for 1.8 or 1.9?
1
Ocelots actually cant attack. its not in their code.
BUT it;s possible with command blocks.
Im not keen with cmd block code but
Im assuming that if you do the code to when a player dies within the radius of the block.
you can set the entity spawn to spawn the entity when you die.
If someone with Cmd block code knows what their doing post the code here
BUT it;s possible with command blocks.
Im not keen with cmd block code but
Im assuming that if you do the code to when a player dies within the radius of the block.
you can set the entity spawn to spawn the entity when you die.
If someone with Cmd block code knows what their doing post the code here