Upgraded to 1.17, Some villagers and named mobs are missing

Discussion in 'Spigot Discussion' started by simbey, Jun 14, 2021.

  1. That was a rough upgrade! I ran the force update, and it failed at 18% on the overworld. No issues with the Nether or End. Spigot started the world, so I had a look. Villagers and other named mobs are missing from a few areas. When I added villagers back to empty villages, the villagers acted like the workstations were in use. I've had to place new workstations to get the new villagers busy.
     
  2. Help? After restarting the server, I'm noticing that it's not persisting ANY changes made to the world. It's not even remembering my last coordinates.
     
  3. I disabled my plug-in, and it looks like everything is running normally again. No errors on startup. Changes to the world are persisting across restarts.

    What's the proper way to upgrade a 1.16.5 plug-in to 1.17? I think it's building against Java 16 now. Do I need to change anything else?
     
  4. Delete all world files and try to create them again
     
  5. This is what I'm seeing when I load my plug-in:

    Code (Text):

    [20:26:03] [Server thread/INFO]: [SimbeyModX] Enabling SimbeyModX v1
    [20:26:05] [Server thread/ERROR]: No key dirt_provider in MapLike[{decorators:[],foliage_placer:{offset:0,radius:2,type:"minecraft:acacia_foliage_placer"},heightmap:"OCEAN_FLOOR",ignore_vines:1b,leaves_provider:{state:{Name:"minecraft:acacia_leaves",Properties:{distance:"7",persistent:"false"}},type:"minecraft:simple_state_provider"},max_water_depth:0,minimum_size:{limit:1,lower_size:0,type:"minecraft:two_layers_feature_size",upper_size:2},trunk_placer:{base_height:5,height_rand_a:2,height_rand_b:2,type:"minecraft:forking_trunk_placer"},trunk_provider:{state:{Name:"minecraft:acacia_log",Properties:{axis:"y"}},type:"minecraft:simple_state_provider"}}]; No key sapling_provider in MapLike[{decorators:[],foliage_placer:{offset:0,radius:2,type:"minecraft:acacia_foliage_placer"},heightmap:"OCEAN_FLOOR",ignore_vines:1b,leaves_provider:{state:{Name:"minecraft:acacia_leaves",Properties:{distance:"7",persistent:"false"}},type:"minecraft:simple_state_provider"},max_water_depth:0,minimum_size:{limit:1,lower_size:0,type:"minecraft:two_layers_feature_size",upper_size:2},trunk_placer:{base_height:5,height_rand_a:2,height_rand_b:2,type:"minecraft:forking_trunk_placer"},trunk_provider:{state:{Name:"minecraft:acacia_log",Properties:{axis:"y"}},type:"minecraft:simple_state_provider"}}]; No key foliage_provider in MapLike[{decorators:[],foliage_placer:{offset:0,radius:2,type:"minecraft:acacia_foliage_placer"},heightmap:"OCEAN_FLOOR",ignore_vines:1b,leaves_provider:{state:{Name:"minecraft:acacia_leaves",Properties:{distance:"7",persistent:"false"}},type:"minecraft:simple_state_provider"},max_water_depth:0,minimum_size:{limit:1,lower_size:0,type:"minecraft:two_layers_feature_size",upper_size:2},trunk_placer:{base_height:5,height_rand_a:2,height_rand_b:2,type:"minecraft:forking_trunk_placer"},trunk_provider:{state:{Name:"minecraft:acacia_log",Properties:{axis:"y"}},type:"minecraft:simple_state_provider"}}]
    [20:26:05] [Server thread/ERROR]: Exception loading structure piece with id minecraft:jigsaw
    java.lang.IllegalStateException: Invalid pool element found
     at net.minecraft.world.level.levelgen.structure.WorldGenFeaturePillagerOutpostPoolPiece.k(SourceFile:54) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
     at java.util.Optional.orElseThrow(Optional.java:403) ~[?:?]
     at net.minecraft.world.level.levelgen.structure.WorldGenFeaturePillagerOutpostPoolPiece.<init>(SourceFile:54) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
     at net.minecraft.world.level.levelgen.feature.StructureGenerator.a(SourceFile:151) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
     at net.minecraft.world.level.chunk.storage.ChunkRegionLoader.a(ChunkRegionLoader.java:505) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
     at net.minecraft.world.level.chunk.storage.ChunkRegionLoader.loadChunk(ChunkRegionLoader.java:216) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
     at net.minecraft.server.level.PlayerChunkMap.lambda$20(PlayerChunkMap.java:561) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
     at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1764) ~[?:?]
     at net.minecraft.util.thread.IAsyncTaskHandler.executeTask(SourceFile:151) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
     at net.minecraft.server.level.ChunkProviderServer$a.executeTask(ChunkProviderServer.java:603) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
     at net.minecraft.util.thread.IAsyncTaskHandler.executeNext(SourceFile:125) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
     at net.minecraft.server.level.ChunkProviderServer$a.executeNext(ChunkProviderServer.java:614) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
     at net.minecraft.util.thread.IAsyncTaskHandler.awaitTasks(SourceFile:134) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
     at net.minecraft.server.level.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:160) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
     at net.minecraft.world.level.World.getChunkAt(World.java:277) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
     at net.minecraft.world.level.IWorldReader.getChunkAt(SourceFile:140) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
     at net.minecraft.world.level.World.getChunkAt(World.java:271) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
     at net.minecraft.world.level.World.getType(World.java:588) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
     at org.bukkit.craftbukkit.v1_17_R1.block.CraftBlock.getType(CraftBlock.java:220) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
     at org.bukkit.craftbukkit.v1_17_R1.block.CraftBlock.getState(CraftBlock.java:322) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
     at com.simbey.mod.DonationChest.getDonationChest(DonationChest.java:38) ~[?:?]
     at com.simbey.mod.Main.registerDonationChest(Main.java:1003) ~[?:?]
     at com.simbey.mod.SimbeyFaction.Load(SimbeyFaction.java:668) ~[?:?]
     at com.simbey.mod.Main.LoadFactions(Main.java:1081) ~[?:?]
     at com.simbey.mod.Main.onEnable(Main.java:215) ~[?:?]
     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:342) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:480) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
     at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugin(CraftServer.java:495) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
     at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugins(CraftServer.java:409) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
     at net.minecraft.server.MinecraftServer.loadWorld(MinecraftServer.java:608) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
     at net.minecraft.server.dedicated.DedicatedServer.init(DedicatedServer.java:264) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
     at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:987) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
     at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:307) ~[spigot-1.17.jar:3141-Spigot-66f9d3c-72a2901]
     at java.lang.Thread.run(Thread.java:831) [?:?]
     
    What is this "No key dirt_provider in MapLike" error?

    Code (Text):

    [20:26:05] [Server thread/ERROR]: No key dirt_provider in MapLike[{decorators:[],foliage_placer:{offset:0,radius:2,type:"minecraft:acacia_foliage_placer"},heightmap:"OCEAN_FLOOR",ignore_vines:1b,leaves_provider:{state:{Name:"minecraft:acacia_leaves",Properties:{distance:"7",persistent:"false"}},type:"minecraft:simple_state_provider"},max_water_depth:0,minimum_size:{limit:1,lower_size:0,type:"minecraft:two_layers_feature_size",upper_size:2},trunk_placer:{base_height:5,height_rand_a:2,height_rand_b:2,type:"minecraft:forking_trunk_placer"},trunk_provider:{state:{Name:"minecraft:acacia_log",Properties:{axis:"y"}},type:"minecraft:simple_state_provider"}}]; No key sapling_provider in MapLike[{decorators:[],foliage_placer:{offset:0,radius:2,type:"minecraft:acacia_foliage_placer"},heightmap:"OCEAN_FLOOR",ignore_vines:1b,leaves_provider:{state:{Name:"minecraft:acacia_leaves",Properties:{distance:"7",persistent:"false"}},type:"minecraft:simple_state_provider"},max_water_depth:0,minimum_size:{limit:1,lower_size:0,type:"minecraft:two_layers_feature_size",upper_size:2},trunk_placer:{base_height:5,height_rand_a:2,height_rand_b:2,type:"minecraft:forking_trunk_placer"},trunk_provider:{state:{Name:"minecraft:acacia_log",Properties:{axis:"y"}},type:"minecraft:simple_state_provider"}}]; No key foliage_provider in MapLike[{decorators:[],foliage_placer:{offset:0,radius:2,type:"minecraft:acacia_foliage_placer"},heightmap:"OCEAN_FLOOR",ignore_vines:1b,leaves_provider:{state:{Name:"minecraft:acacia_leaves",Properties:{distance:"7",persistent:"false"}},type:"minecraft:simple_state_provider"},max_water_depth:0,minimum_size:{limit:1,lower_size:0,type:"minecraft:two_layers_feature_size",upper_size:2},trunk_placer:{base_height:5,height_rand_a:2,height_rand_b:2,type:"minecraft:forking_trunk_placer"},trunk_provider:{state:{Name:"minecraft:acacia_log",Properties:{axis:"y"}},type:"minecraft:simple_state_provider"}}]
     
     
  6. Contact the developer :)
     
    • Agree Agree x 1