The Meaning of Life, the Universe, and Everything.
Join Date:
5/27/2018
Posts:
57
Minecraft:
KapitanKurczok
Member Details
Hello, I've noticed a strange mob spawning behavior in my private 1.7.10 modpack. I used to have a mob farm on my single player world (just to test how to do it with mods) and it worked fine, but when I built it on my test server, there was like 10 times less mobs spawning. Spawning space and altitude (as high as possible) were the same, just cheaper method of mob pushing, but it doesn't matter. I thought: mob cap is full. So I entered /cofh killall. Almost 100 entities killed. Mob farm's efficiency slightly boosted for a while, but after a minute it got back to previous state (less mobs). I entered /cofh killall (again) and it killed almost 100 mobs like before. So they don't despawn immediately when I'm 128 blocks away and even new ones spawn too far. I noticed that even cave mobs (from mods) get killed when I enter the command... and there is no other player online. I know thay can despawn, even when I'm looking at them from far away, but they just spawn 128 blocks away, which shouldn't be possible. I'm pretty sure it's server's fault, but I have no idea what's going on. If anyone can help, I'll be grateful. I worked on this modpack for over a year, I just wanted to create something fun for my friends and play with them, don't wanna wait another couple of months trying to find a solution to (hopefully) last problem. Any help will be appreciated.
I guess the log isn't needed? It's just a mob spawning problem, not a crash. At least I didn't see anything about mob spawning there. Also my logs are too big for pastebin.
What is your render distance (or server view distance)? If it is less than 10 mobs won't despawn before they reach "lazy chunks" (entities are only ticked if a 5x5 area around them is loaded; 128 blocks = 8 chunks so you need another 2 chunks loaded out. This has been a thing for a long time but only became an issue in singleplayer after 1.7.4, which changed server-side chunk loading to match the client-side render distance in singleplayer (from 1.3 to 1.6.4 the server-side view distance was always 10 so this never happened even on Tiny render distance, though Far was limited to 10 chunks because of this).
Unless there is a mod that changes the entity (de)spawn radius (both will need to be changed so they can't spawn in lazy chunks) you'll have to increase the render distance. I don't know of any such mods though (other than my own, non-Forge mod for 1.6.4, which reduces it to 96 blocks/6 chunks to increase mob density without increasing the cap), only that Spigot servers allow you to change this.
That said, I do have a non-Forge mod which increases the minimum server-side view distance to 10, allowing you to use a lower render distance to improve client-side performance (however, server-side performance will always be at least that of 10, thus it is more ideal to reduce the (de)spawn radius); I don't know if it is compatible with Forge though (at the least, you'll need to add "-Dfml.ignorePatchDiscrepencies=true -Dfml.ignoreInvalidMinecraftCertificates=true" to the JVM arguments):
What is your render distance (or server view distance)? If it is less than 10 mobs won't despawn before they reach "lazy chunks" (entities are only ticked if a 5x5 area around them is loaded; 128 blocks = 8 chunks so you need another 2 chunks loaded out. This has been a thing for a long time but only became an issue in singleplayer after 1.7.4, which changed server-side chunk loading to match the client-side render distance in singleplayer (from 1.3 to 1.6.4 the server-side view distance was always 10 so this never happened even on Tiny render distance, though Far was limited to 10 chunks because of this).
Unless there is a mod that changes the entity (de)spawn radius (both will need to be changed so they can't spawn in lazy chunks) you'll have to increase the render distance. I don't know of any such mods though (other than my own, non-Forge mod for 1.6.4, which reduces it to 96 blocks/6 chunks to increase mob density without increasing the cap), only that Spigot servers allow you to change this.
That said, I do have a non-Forge mod which increases the minimum server-side view distance to 10, allowing you to use a lower render distance to improve client-side performance (however, server-side performance will always be at least that of 10, thus it is more ideal to reduce the (de)spawn radius); I don't know if it is compatible with Forge though (at the least, you'll need to add "-Dfml.ignorePatchDiscrepencies=true -Dfml.ignoreInvalidMinecraftCertificates=true" to the JVM arguments):
Thanks! I had render distance at 8 and I didn't know it's a vanilla server problem, not only modded. I changed my server's view distance and my client's render distance to 10 and my mob farm is even faster than the old design in single player. There was so much XP that I couldn't pick it all up and my screen was only XP orbs... but it's an expensive farm and it'll take long time to build it, especially on survival. Now everything works better than I expected and the server's CPU was almost all the time at 100% so I hope it won't catch fire. Also I found one small flaw... yes, it can be even faster. You know what's also fast? Your reply, I thought this place is kinda dead, but it turns out my earlier problems (all about my modpack) were too hard to answer or I didn't have the luck and it went unnoticed. This was probably the last problem with my modpack so I can do the final test after I modify my mob farm. Thanks again.
Hello, I've noticed a strange mob spawning behavior in my private 1.7.10 modpack. I used to have a mob farm on my single player world (just to test how to do it with mods) and it worked fine, but when I built it on my test server, there was like 10 times less mobs spawning. Spawning space and altitude (as high as possible) were the same, just cheaper method of mob pushing, but it doesn't matter. I thought: mob cap is full. So I entered /cofh killall. Almost 100 entities killed. Mob farm's efficiency slightly boosted for a while, but after a minute it got back to previous state (less mobs). I entered /cofh killall (again) and it killed almost 100 mobs like before. So they don't despawn immediately when I'm 128 blocks away and even new ones spawn too far. I noticed that even cave mobs (from mods) get killed when I enter the command... and there is no other player online. I know thay can despawn, even when I'm looking at them from far away, but they just spawn 128 blocks away, which shouldn't be possible. I'm pretty sure it's server's fault, but I have no idea what's going on. If anyone can help, I'll be grateful. I worked on this modpack for over a year, I just wanted to create something fun for my friends and play with them, don't wanna wait another couple of months trying to find a solution to (hopefully) last problem. Any help will be appreciated.
Here's the mod list (taken from the log):
[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],LambdaLib|[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],ewysworkshop@Ewy's Workshop-1.7.10-1.1.5,[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]_for_1.7.10,[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],Cyan Warrior Swords [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],NEIAddons|[email protected],[email protected],[email protected],[email protected],[email protected],<CoFH ASM>@000,[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],alfheimwings@30,[email protected],[email protected],[email protected],[email protected],[email protected],NEIAddons|[email protected],[email protected],[email protected],[email protected],WR-CBE|[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected] Beta,[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],NEIAddons|[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],SimpleLabels@@VERSION@,[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],packchevsky@b5,[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]_1.4,[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hammertime@Hammer Time-1.7.10-1.3.6,[email protected] build 20,[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],WR-CBE|[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],moSwords@v3,[email protected],hgp@Release,[email protected],[email protected],[email protected],[email protected] MorelPlay,[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],NEIAddons|[email protected],NEIAddons|[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],notenoughkeys@@MOD_VERSION@,[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]_1.0f,[email protected],[email protected],WR-CBE|[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],arcanum@Beta 1.7.10-1.1.8,NEIAddons|[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],DirectRed@Universal,[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]_for_1.7.X,[email protected],[email protected],[email protected],[email protected]
I guess the log isn't needed? It's just a mob spawning problem, not a crash. At least I didn't see anything about mob spawning there. Also my logs are too big for pastebin.
What is your render distance (or server view distance)? If it is less than 10 mobs won't despawn before they reach "lazy chunks" (entities are only ticked if a 5x5 area around them is loaded; 128 blocks = 8 chunks so you need another 2 chunks loaded out. This has been a thing for a long time but only became an issue in singleplayer after 1.7.4, which changed server-side chunk loading to match the client-side render distance in singleplayer (from 1.3 to 1.6.4 the server-side view distance was always 10 so this never happened even on Tiny render distance, though Far was limited to 10 chunks because of this).
MC-2536 View distance affects mob spawning
MC-42053 Low mob spawn rates on low render distances
Unless there is a mod that changes the entity (de)spawn radius (both will need to be changed so they can't spawn in lazy chunks) you'll have to increase the render distance. I don't know of any such mods though (other than my own, non-Forge mod for 1.6.4, which reduces it to 96 blocks/6 chunks to increase mob density without increasing the cap), only that Spigot servers allow you to change this.
That said, I do have a non-Forge mod which increases the minimum server-side view distance to 10, allowing you to use a lower render distance to improve client-side performance (however, server-side performance will always be at least that of 10, thus it is more ideal to reduce the (de)spawn radius); I don't know if it is compatible with Forge though (at the least, you'll need to add "-Dfml.ignorePatchDiscrepencies=true -Dfml.ignoreInvalidMinecraftCertificates=true" to the JVM arguments):
https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/1292668-1-7-1-13-themastercavers-mods-and-tweaks ("Render Distance-Mob Spawning Fix mod" near the bottom)
TheMasterCaver's First World - possibly the most caved-out world in Minecraft history - includes world download.
TheMasterCaver's World - my own version of Minecraft largely based on my views of how the game should have evolved since 1.6.4.
Why do I still play in 1.6.4?
Thanks! I had render distance at 8 and I didn't know it's a vanilla server problem, not only modded. I changed my server's view distance and my client's render distance to 10 and my mob farm is even faster than the old design in single player. There was so much XP that I couldn't pick it all up and my screen was only XP orbs... but it's an expensive farm and it'll take long time to build it, especially on survival. Now everything works better than I expected and the server's CPU was almost all the time at 100% so I hope it won't catch fire. Also I found one small flaw... yes, it can be even faster. You know what's also fast? Your reply, I thought this place is kinda dead, but it turns out my earlier problems (all about my modpack) were too hard to answer or I didn't have the luck and it went unnoticed. This was probably the last problem with my modpack so I can do the final test after I modify my mob farm. Thanks again.