forum Forumsplay_arrow Minecraft fiber_manual_record Redstone



1 emerald3 replies347 views
created 01/31/2015 4:40 pm by Brevoort43214
last reply 02/10/2015 7:14 pm
Hello guys, im making an adventure map called Eternal Dawn, and the first boss is going to be called Lamaroth. I have everything set about him (he is a skeleton) but I need a redstone signal sent out when he dies, please help!

I tried /testfor like /testfor @e [11,237,-45,60.type=Skeleton] but it says that its invalid?! Help! PLEASE ;(
Posted by avatar
Level 39 : Artisan Modder

comment Login or register to post a reply.

3 replies

02/10/2015 7:14 pm
Level 1 : New Explorer
Davekillerish is right but you can test for a skeleton with 0 heath within a radius
02/02/2015 8:59 am
Level 21 : Expert Nerd
If he is the first skeleton you fight in the game you could also set a scoreboard to killed entities skeletons and when it hits 1 a signal is sent out with
/testfor @a[score_min_namehere=1]
namehere being the scoreboard value.
and your command is messed up,
" /testfor @e [11,237,-45,60.type=Skeleton]"
01/31/2015 7:54 pm
Level 28 : Expert Engineer
If you want to simply testfor when he dies, you can use the name= parameter inside a player selector:testfor @e[name=Lamaroth]
This will output true as long as an entity named Lamaroth is alive. Just invert the output, so that it will only output true when he is dead. Note that in my command, there is no space between @e and in the brackets, like there was in your command. Putting in a space will likely cause it to throw an error.

Another note about the name= parameter, the name can only be one word, with no spaces. There are other ways to testfor mobs with a space in the name involving the scoreboard, but just using name= should serve your purposes.

Planet Minecraft



© 2010 - 2019