1

This question already has an answer here:

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

marked as duplicate by Virusbomb, Schism, dly, JohnoBoy, Gigazelle Aug 15 '18 at 15:42

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 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 Aug 17 '16 at 18:52
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!

  • 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. – 1026501 Aug 18 '16 at 2:26
  • Ah, thank you. What's the error it's giving you? – Daniel G Aug 18 '16 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. – 1026501 Aug 18 '16 at 14:20

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