Hey, I've been having a few issues with my server. Firstly, I've done quite a few things to try and fix the issue like using MCEdit to delete and then regenerate the chunks.
::what the problem is and other info::
-The broken chunks are all within a 200 block radius of each other and in pairs (two touching at each location, There are 4 total) all near spawn
-Anything I build Is removed and set back to a prior time after leaving the area, Even entities like villagers
-Problem started Sometime during one of the snapshots
-The world is over a year old
-I Can ONLY Modify The Chunks And Have The Progress STAY By Using MCEDIT
-The world was created using World Painter so starting a new world is a big no no
-all 4 Chunks had custom villagers summoned into them with command blocks
-Said villagers were flagged "Invulnerable" by MCEdit since they are in the middle of the server's main market hub
-Its not unbearable, just annoying as all hell
EDIT:Server may have crashed when some of the villagers in said chunks failed to spawn
Any advice?
After looking in the one place I didn;t think to, this is the message I get when rendering the chunk.
SERVER LOG
[01:09:18] [Server thread/WARN]: net.minecraft.server.v1_8_R1.ReportedException: Saving entity NBT
[01:09:18] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.Entity.e(Entity.java:1209)
[01:09:18] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.Entity.d(Entity.java:1147)
[01:09:18] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.ChunkRegionLoader.a(ChunkRegionLoader.java:286)
[01:09:18] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.ChunkRegionLoader.a(ChunkRegionLoader.java:141)
[01:09:18] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.ChunkProviderServer.saveChunk(ChunkProviderServer.java:245)
[01:09:18] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.ChunkProviderServer.unloadChunks(ChunkProviderServer.java:353)
[01:09:18] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.WorldServer.doTick(WorldServer.java:218)
[01:09:18] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:707)
[01:09:18] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:284)
[01:09:18] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:609)
[01:09:18] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:517)
[01:09:18] [Server thread/WARN]: at java.lang.Thread.run(Unknown Source)
[01:09:18] [Server thread/WARN]: Caused by: java.lang.NullPointerException
[01:09:18] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.MerchantRecipe.k(SourceFile:129)
[01:09:18] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.MerchantRecipeList.a(SourceFile:129)
[01:09:18] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.EntityVillager.b(EntityVillager.java:158)
[01:09:18] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.Entity.e(Entity.java:1195)
The villager(s) are causing it. There's an issue that causes chunks to fail saving if the villager's trading data is not structured correctly, which can be done through commands. You'll need to remove those villagers before saving will work. Can you post the commands you've used to spawn the villagers? Should be able to fix the structure.
I cannot. It was about 6 months ago that this started. =/
Alright, there's a couple ways to go then if you want the villagers back. If you place a command block near each one and run the following command, the "Output" box in the command block will contain the full data of the villager it found. I can create a new /summon command for them from that:
At this point, I just want new villagers haha, some of the new tricks i've learned like "NoAI" and such really would be helpful since they kept running away before.
Alright, there's a couple ways to go then if you want the villagers back. If you place a command block near each one and run the following command, the "Output" box in the command block will contain the full data of the villager it found. I can create a new /summon command for them from that:
/entitydata @e[type=Villager,c=1] {}
It worked! Thank you thank you thank you! I know to be super careful with spawning stuff now. Hell, i'll even play it safe and create a new world to test it first! thank you so much! SOLVED!
::what the problem is and other info::
-The broken chunks are all within a 200 block radius of each other and in pairs (two touching at each location, There are 4 total) all near spawn
-Anything I build Is removed and set back to a prior time after leaving the area, Even entities like villagers
-Problem started Sometime during one of the snapshots
-The world is over a year old
-I Can ONLY Modify The Chunks And Have The Progress STAY By Using MCEDIT
-The world was created using World Painter so starting a new world is a big no no
-all 4 Chunks had custom villagers summoned into them with command blocks
-Said villagers were flagged "Invulnerable" by MCEdit since they are in the middle of the server's main market hub
-Its not unbearable, just annoying as all hell
EDIT:Server may have crashed when some of the villagers in said chunks failed to spawn
Any advice?
After looking in the one place I didn;t think to, this is the message I get when rendering the chunk.
SERVER LOG
[01:09:18] [Server thread/WARN]: net.minecraft.server.v1_8_R1.ReportedException: Saving entity NBT
[01:09:18] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.Entity.e(Entity.java:1209)
[01:09:18] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.Entity.d(Entity.java:1147)
[01:09:18] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.ChunkRegionLoader.a(ChunkRegionLoader.java:286)
[01:09:18] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.ChunkRegionLoader.a(ChunkRegionLoader.java:141)
[01:09:18] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.ChunkProviderServer.saveChunk(ChunkProviderServer.java:245)
[01:09:18] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.ChunkProviderServer.unloadChunks(ChunkProviderServer.java:353)
[01:09:18] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.WorldServer.doTick(WorldServer.java:218)
[01:09:18] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:707)
[01:09:18] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:284)
[01:09:18] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:609)
[01:09:18] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:517)
[01:09:18] [Server thread/WARN]: at java.lang.Thread.run(Unknown Source)
[01:09:18] [Server thread/WARN]: Caused by: java.lang.NullPointerException
[01:09:18] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.MerchantRecipe.k(SourceFile:129)
[01:09:18] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.MerchantRecipeList.a(SourceFile:129)
[01:09:18] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.EntityVillager.b(EntityVillager.java:158)
[01:09:18] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.Entity.e(Entity.java:1195)
SuggestionForumCriticLytesonTeamMember
LINK TO GOLD GUARDIAN THREAD
SuggestionForumCriticLytesonTeamMember
LINK TO GOLD GUARDIAN THREAD
SuggestionForumCriticLytesonTeamMember
LINK TO GOLD GUARDIAN THREAD
Minecraft-things: http://skylinerw.com
More Minecraft-things: https://sourceblock.net
Guides for command-related features (eventually moving to Source Block): https://github.com/skylinerw/guides
I primarily hang out in the /r/MinecraftCommands discord, where there's a lot of people that help with commands: https://discord.gg/QAFXFtZ
Their corresponding subreddit: https://www.reddit.com/r/MinecraftCommands/
EDIT: I'll try the delete entities thing first, using MCEDIT and see if that does anything.
SuggestionForumCriticLytesonTeamMember
LINK TO GOLD GUARDIAN THREAD
Alright, there's a couple ways to go then if you want the villagers back. If you place a command block near each one and run the following command, the "Output" box in the command block will contain the full data of the villager it found. I can create a new /summon command for them from that:
Minecraft-things: http://skylinerw.com
More Minecraft-things: https://sourceblock.net
Guides for command-related features (eventually moving to Source Block): https://github.com/skylinerw/guides
I primarily hang out in the /r/MinecraftCommands discord, where there's a lot of people that help with commands: https://discord.gg/QAFXFtZ
Their corresponding subreddit: https://www.reddit.com/r/MinecraftCommands/
SuggestionForumCriticLytesonTeamMember
LINK TO GOLD GUARDIAN THREAD
It worked! Thank you thank you thank you! I know to be super careful with spawning stuff now. Hell, i'll even play it safe and create a new world to test it first! thank you so much! SOLVED!
SuggestionForumCriticLytesonTeamMember
LINK TO GOLD GUARDIAN THREAD