This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
timberwolf's profile picture

Attack method

Started by timberwolf, 13 December 2012 - 07:16 AM
timberwolf #1
Posted 13 December 2012 - 08:16 AM
I have been searching the internet for hours trying to find out if there is a way to attack a specific mob, nothing else. Basically I built a big 20 x 10 block box with glass roofs and spawned viligers there. Then at "night" zombies spawn in the box and massacre every villiager in the box. I did some testing with the turtle and found that it attacks anything but me. How do I make it kill monsters only???
Leo Verto #2
Posted 13 December 2012 - 08:23 AM
You currently can't do that without using a peripheral, try OpenCCSensors and use proximity sensors.
PixelToast #3
Posted 13 December 2012 - 08:58 AM
you can spawn a iron golem, wich will protect the villagers
timberwolf #4
Posted 13 December 2012 - 09:32 AM
You currently can't do that without using a peripheral, try OpenCCSensors and use proximity sensors.
Is this like a third party CC mod?
you can spawn a iron golem, wich will protect the villagers
I may use this instead, however I still want to be able to attack specific mobs with turtles.
Mikeemoo #5
Posted 13 December 2012 - 09:51 AM
It's a 3rd party mod, yes.

I'm actually in the middle of uploading a video showing his ability to track down and attack mobs. Of course, you have to do all the coding yourself, but the ability is there if you know how.

I'll post a link to the video once it's up.. :)/>
Mikeemoo #6
Posted 13 December 2012 - 10:22 AM
http://www.computercraft.info/forums2/index.php?/topic/5996-144-cc-147-openccsensors/page__view__findpost__p__59190