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?
Arqade is a question and answer site for passionate videogamers on all platforms. It only takes a minute to sign up.
Sign up to join this communityI 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?
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}
Creepers will stay away from ocelots. So station ocelots (on leash) around your area
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.