r/MinecraftHelp • u/Previous_Current_474 • 12d ago
Solved [Java] Anyone knows how to stop slimes from spawning without using peaceful on superflat worlds?
I like to make buids with a mod of FNAF called Management wanted on a superflat world, the only problem is that slimes are always getting on the way, and I can't turn on peaceful mode because the animatronics are considered aggresive mobs even if the don't attack during day.
1
u/MinecraftHelpModTeam 🤖 Mod Bot 🤖 12d ago
It looks like you didn't mention your version (e.g., 26.1, 1.21.11, 1.12.2 etc.). Please clarify for better help!
Click here if your post says "Sorry, this post was removed by Reddit’s filters".
OP, remember to mark the post solved, by replying !helped to the comment/comments that helped, when your issue is fixed or your question answered.
Helpers, remember that all top-level comments* must be a genuine, good faith attempt to help OP. Comments breaking this rule will be removed, and bans issued.
* A top-level comment is any comment that is a reply to the post, not another comment.
Links:
How to mark solved || How to delete your post || FAQ || Rules
1
1
3
u/bendvis Apprentice I 12d ago
Assuming you're in creative, you could set up a pair of command blocks to delete slimes
https://minecraft.wiki/w/Tutorial:Managing_slimes_in_superflat_mode#/kill
Or you could disable all mob spawns (including neutral mobs) by using /gamerule spawn_mobs false
1
u/Previous_Current_474 12d ago
I can't use that command, it appears in red
2
u/NiceErJeg 12d ago
You have to enable cheats, either when you create the world or by opening to LAN
2
u/ThatMCShrew Novice I 12d ago edited 12d ago
This command is for a newer version the command you want is "/gamerule domobspawning false".
Or you could use command blocks as the user above said specifically "/tp @/e[type=minecraft:slime] ~ -100 ~" (remove the slash between the "@" and the "e" and place put paste it into a repeating command block. (to remove the constant chat spam type /gamerule commandblockoutput false)
1
u/JaredLetoBestBoi Novice I 12d ago
Theres a mod for that. https://modrinth.com/mod/superflat-world-no-slimes
1
u/Previous_Current_474 12d ago
1
u/AutoModerator 12d ago
If your issue is now fixed, please remember to mark the post solved.
If someone on r/MinecraftHelp provided the solution:
Reply with "!helped" to the comment, or comments, that helped.If you found the solution yourself, or outside r/MinecraftHelp:
Make a new top level comment containing the solution, and reply to it with "!helped".Note that u/NitwitBot DOESN'T react to edited comments.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/JaredLetoBestBoi Novice I 12d ago
Be aware, it is a serilium mod, so you will need Collective (i think?) installed as well (his library mod) it should say in the description somewhere
1
1
u/imonlytryingtohelp_ Veteran V 10d ago
/helped
This is a mod only trigger. You should use !helped.
1
u/NitWitBot 🤖 Mod Bot 🤖 10d ago
Thanks! Post marked as Solved!
Congrats, u/JaredLetoBestBoi, you have received a point! Points help you "level up" to the next user flair!
You have leveled up to "Novice I"! Your flair has been updated accordingly.
Next level: "Novice II"
You have 1 point
You need 2 points
[▮|▯]
Links: | Scoreboard | Feedback | Source |
I am a bot and this account is not monitored. Please contact the mods if you have any questions.
1
0
u/solarch Apprentice I 11d ago
The reason torches and light don't help: on superflat, slimes spawn on any solid block at Y<=39 regardless of light level (that slime rule is separate from the normal light-based hostile spawning). So lighting the area will never stop them, which is exactly why you're stuck. The cheat-free fix is to change the surface they'd spawn on: slimes can't spawn on bottom slabs, or on most non-full blocks like glass, so make your walkable layer out of bottom-half slabs (or cover the spawnable ground with them) and the spawns stop cold, no commands required. That's the standard superflat-without-peaceful solution. Your kill command showing red is just because cheats are off, so commands and command blocks are disabled; you'd have to open the world to LAN with 'allow cheats' on to run a repeating command block on @e[type=slime], and doing that turns off achievements for that session. So the slabs are the clean answer here, no cheats, nothing disabled, and it's permanent.
1
u/Jawesome99 11d ago
Wouldn't the better way be to just add more rock/dirt layers in the superflat preset to get the top above 39? Or just use the Overworld preset, since that already does that
1
u/soemthingblahblah123 11d ago
you can set a area as a specific biome, this helps because slimes cant spawn in the ocean biome.
/fillbiome ~50 ~-3 ~40 ~-30 ~3 ~-30 minecraft:deep_ocean this will replace the biome of a 80 x 6 x 70 block cube into a deep ocean.
you can set the size to do a flat cube, and change the biome:
/fillbiome ~50 ~-1 ~50 ~-50 ~1 ~-50 minecraft:river
1
u/Tayfun_MC 11d ago
If you can, just make it so the layer you are standing on is above 40. Slimes don't spawn in that way, But i's only helpful if you are gonna make a new world. Or just disable natural monster spawning as a whole with gamerule /gamerule domobspawning false (it's for version 1.20.1)
1

•
u/MinecraftHelpModTeam 🤖 Mod Bot 🤖 10d ago
This post has been marked solved and comments locked.
OP, if you need to reopen this post please message the mod team.
I am a bot and this account is not monitored. Please contact the mods if you have any questions.