1

I like playing in peaceful mode, as I feel that making something complex in peaceful is more fulfilling than in creative. However, making many things requires items dropped only by mobs. In creative mode, mobs spawn, but simply ignore you. You can still get mob drops by killing these effectively harmless mobs. Such a feature is not present in peaceful, as mobs do not spawn at all.

My question is, is it possible, through some mod, config file editing, in-game command, etc. to make mobs spawn in peaceful, but ignore the player as if the player is in creative? Any other method that preserves the mechanics of peaceful but adds this feature will also be appreciated.

The mods that I found that offer the solution are not up to date with the current version of Minecraft.

Thank you

1
  • Almost all mods are not up to date with the current version of Minecraft, that's how it works. Open Blocks has a Peacefull Table that basically solves your problem, but that is up to you.
    – Ender
    Commented Aug 17, 2016 at 18:52

1 Answer 1

1

Try this command in a repeating command block; it makes all mobs unable to detect you.
/entitydata @e[type=!Player] {Attributes:[{Name:"generic.followRange",Base:0}]}
Hope this helps; if it doesn't, tell me!

3
  • Won't this only affect currently spawned mobs, and not all mobs that spawn in the future? Also I am unable to execute your command.
    – kpjoshi
    Commented Aug 18, 2016 at 2:26
  • Ah, thank you. What's the error it's giving you?
    – Daniel G
    Commented Aug 18, 2016 at 12:02
  • I found the following did the trick: /entitydata @e [type=!Player] {Attributes:[{Name:generic.followRange,Base:0}]} courtsey of the similar command at gaming.stackexchange.com/questions/203618/… still, this is a very hacky way of doing this and will only affect currently spawned mobs as far as I know.
    – kpjoshi
    Commented Aug 18, 2016 at 14:20

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