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

Is there a way to control Villagers/Mobs with Computercraft + Mod

Started by Gorfel, 24 March 2014 - 10:42 AM
Gorfel #1
Posted 24 March 2014 - 11:42 AM
Hello

Is there a way to control a Villager/Mob with a Computercraft Program.
For Example with something like a CommandBlock or with the Immibis Adventure Map Interface.

Thanx for your Answer

Gorfel
Bomb Bloke #2
Posted 24 March 2014 - 12:02 PM


Seriously though, no, I don't think there is.
theoriginalbit #3
Posted 24 March 2014 - 12:03 PM
I don't even think its possible in Minecraft to interact with Villagers/Mobs. is it?
flaghacker #4
Posted 24 March 2014 - 12:14 PM
In computercraft, you can set the command block's command by doing something like this:
commandblock = peripheral.wrap("right")
commandblock.setCommand("/tp @a myname")
commandblock.runcommand()

I think that you can use certain commands in the newer minecraft versions to move enteties via @e.
For command blocks and computercraft, have a look here: http://computercraft.info/wiki/Command_Block_(API)
Bomb Bloke #5
Posted 24 March 2014 - 01:16 PM
Well, hostile mobs chase players. Zombies also chase villagers, and creepers flee cats.

Domestic mobs will follow the player if holding a suitable "food" item for them.

Other then that, all that's left is bashing them in the direction you want them to go using attacks, pistons, water and so on.