Here's the problem I'm currently stumped with. I'm running minecraft 1.12.2 with optifine 1.12.2 as the only mod. I have an older saved survival world (originally from 1.8) that I'm fairly invested in but, I've run into a conundrum where I'm unable to get hostile mobs to spawn in the "wild" anywhere. Things I've tried so far:
- cycling game difficulty (was originally on normal)
- reloading all chunks via f3 + t
- sound reload f3 + s
- Tried increasing render distance from 8 chunks up to 32 chunks ( a few chunks at a time)
- Tried all of the above in while not running optifine (just running the save in vanilla 1.12.2) and in a variety of biomes
- deleted a DAT file in the save folder itself and renamed the Name_old.Dat as Name.Dat (as described on one video tutorial; P.S. I made a backup before doing this in case I messed anything up too severely).
More info:
- My max number of entities is usually 20-40 when viewed in the debug screen.
- Passive mobs spawn without problem
- Hostile mobs from zombie spawners in caves and spider spawners in abandoned mineshafts spawn normally
- Hostile bosses are still appearing: I recently explored an ocean monument and elder guardians (large pale ones) spawn and act normal but, there are no regular guardians (the small ones).
I'm able to create a new world running optifine 1.12.2 and it spawns enemies at night with no problem whatsoever. This leads me to think that it is perhaps something specific to my saved world, I'm not sure however what I can do to fix it? One other odd thing is that sometimes when I load up the world the sounds are simply not working. This I can always fix however simply by doing the F3+t command. I'm unsure if this has any bearing on the current problem.
So I've had success! You're comment got me interested at looking at the hard .dat file info so I downloaded this beautiful little piece of software here: NBTExplorer and started digging in the .dat save files. What I found was interesting, under the gamerules folder, in the dat file, there appeared to be a duplication of the command line doMobSpawning the first stated true but the second stated false. Now if the program is reading the commands in the order I think it is, it was first making mob spawning true but, then overwriting it as false everytime.
Do you think this is an example of a duplication of sorts or are there normally TWO separate lines for doMobSpawning? Either way I've set both lines to true and that seems to have fixed the problem as I'm now already finding skeleton archers in a poorly lit mushroom forest.
Hello all,
Here's the problem I'm currently stumped with. I'm running minecraft 1.12.2 with optifine 1.12.2 as the only mod. I have an older saved survival world (originally from 1.8) that I'm fairly invested in but, I've run into a conundrum where I'm unable to get hostile mobs to spawn in the "wild" anywhere. Things I've tried so far:
- cycling game difficulty (was originally on normal)
- reloading all chunks via f3 + t
- sound reload f3 + s
- Tried increasing render distance from 8 chunks up to 32 chunks ( a few chunks at a time)
- Tried all of the above in while not running optifine (just running the save in vanilla 1.12.2) and in a variety of biomes
- deleted a DAT file in the save folder itself and renamed the Name_old.Dat as Name.Dat (as described on one video tutorial; P.S. I made a backup before doing this in case I messed anything up too severely).
More info:
- My max number of entities is usually 20-40 when viewed in the debug screen.
- Passive mobs spawn without problem
- Hostile mobs from zombie spawners in caves and spider spawners in abandoned mineshafts spawn normally
- Hostile bosses are still appearing: I recently explored an ocean monument and elder guardians (large pale ones) spawn and act normal but, there are no regular guardians (the small ones).
I'm able to create a new world running optifine 1.12.2 and it spawns enemies at night with no problem whatsoever. This leads me to think that it is perhaps something specific to my saved world, I'm not sure however what I can do to fix it? One other odd thing is that sometimes when I load up the world the sounds are simply not working. This I can always fix however simply by doing the F3+t command. I'm unsure if this has any bearing on the current problem.
Any and all help would be greatly appreciated.
Cordially,
A fellow miner
Sounds like you turned off mobspawning via the gamerule.
I had forgot to mention that in game I had also tried the following command in game
/gamerule doMobSpawning true
is there a hard file I could look at to see these settings? Perhaps something else is out of wack.
So I've had success! You're comment got me interested at looking at the hard .dat file info so I downloaded this beautiful little piece of software here: NBTExplorer and started digging in the .dat save files. What I found was interesting, under the gamerules folder, in the dat file, there appeared to be a duplication of the command line doMobSpawning the first stated true but the second stated false. Now if the program is reading the commands in the order I think it is, it was first making mob spawning true but, then overwriting it as false everytime.
Do you think this is an example of a duplication of sorts or are there normally TWO separate lines for doMobSpawning? Either way I've set both lines to true and that seems to have fixed the problem as I'm now already finding skeleton archers in a poorly lit mushroom forest.
Thanks for the direction!
Cordially,
A fellow miner
You probably accidently created a new gamerule, the true gamerule is the one spelled exactly like on the wiki.