I play on a server without mods and I want to use villagers to automatically farm crops. We play with mobgriefing off so the farm won't work.

How can I allow mob griefing for the villagers but not for creepers?

  • 5
    mobGrifing false just keeps monsters from breaking blocks. How could this possibly stop a mobfarm from working? Is there a new farm concept that I'm not aware of? – Fungo Oct 1 '14 at 14:49
  • 2
    @Fungo not too sure, but it may be that without mobGriefing, farmer villagers cannot farm. Letting Farmers farm is one way to make villagers breed infinitely in 1.8 (afaik because they will throw bread at each other once their inventory is full). – MrLemon Oct 1 '14 at 15:53
  • @Fungo Villagers cannot farm/replant for automatic wheat farms. Withers cannot destroy blocks for automatic wood/cobble farms. – SirBenet Oct 1 '14 at 19:24
  • Thanks. I thought they meant "farming villagers" not "making villagers farm for you" – Fungo Oct 1 '14 at 19:57
  • I think he means that the villagers are not harvesting crops when mob griefing is turned off. This makes sense if the game views villager farmers as a type of griefing, so the OP is asking if it is possible to turn off mob griefing for creepers, but on for villagers. – jacen.garriss Oct 2 '14 at 19:27

Here is what worked with some tests on a vanilla server and in single player. Place this in a command block and run it on a clock. This creeper does not do player or block damage.

/entitydata @e[type=Creeper] {ExplosionRadius:0}
| improve this answer | |
  • Great first answer! Welcome to the site. Apologies for late answers are not needed here, unlike a forum, this site's questions are meant to be always valid. Check out the tour! – MrLemon Apr 29 '15 at 11:58

Creepers will stay away from ocelots. So station ocelots (on leash) around your area

| improve this answer | |

The only vanilla way I can think of would be using peaceful mode, and there might be some mods that do that, but do you really want to go either of those routes?

My best idea is to stop running into creepers. Light up the area you don't want to be griefed and you will be mostly okay.

In addition, if you are interested, lighting the area will give you a great opportunity to build a mobfarm.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.