BentoBoxWorld / ExtraMobs

BentoBox addon that adjusts some mob spawning rules to get Blazes, Wither Skeleton, and Shulkers
Eclipse Public License 2.0
0 stars 0 forks source link

PIG_ZOMBIE bad for 1.16.1 #6

Closed SlimeDog closed 4 years ago

SlimeDog commented 4 years ago

Description

Describe the bug

On visiting island

[11:17:46] [Server thread/ERROR]: Could not pass event CreatureSpawnEvent to BentoBox v1.14.0-SNAPSHOT-b1816
org.bukkit.event.EventException: null
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:319) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:589) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:576) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        at org.bukkit.craftbukkit.v1_16_R1.event.CraftEventFactory.callCreatureSpawnEvent(CraftEventFactory.java:600) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        at org.bukkit.craftbukkit.v1_16_R1.event.CraftEventFactory.doEntityAddEventCalling(CraftEventFactory.java:537) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        at net.minecraft.server.v1_16_R1.WorldServer.addEntity0(WorldServer.java:911) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        at net.minecraft.server.v1_16_R1.WorldServer.addEntity(WorldServer.java:841) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        at net.minecraft.server.v1_16_R1.SpawnerCreature.a(SpawnerCreature.java:193) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        at net.minecraft.server.v1_16_R1.SpawnerCreature.a(SpawnerCreature.java:133) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        at net.minecraft.server.v1_16_R1.SpawnerCreature.a(SpawnerCreature.java:117) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        at net.minecraft.server.v1_16_R1.ChunkProviderServer.lambda$9(ChunkProviderServer.java:394) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        at java.util.ArrayList.forEach(ArrayList.java:1540) ~[?:?]
        at net.minecraft.server.v1_16_R1.ChunkProviderServer.tickChunks(ChunkProviderServer.java:378) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        at net.minecraft.server.v1_16_R1.ChunkProviderServer.tick(ChunkProviderServer.java:346) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        at net.minecraft.server.v1_16_R1.WorldServer.doTick(WorldServer.java:329) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        at net.minecraft.server.v1_16_R1.MinecraftServer.b(MinecraftServer.java:1107) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        at net.minecraft.server.v1_16_R1.DedicatedServer.b(DedicatedServer.java:354) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        at net.minecraft.server.v1_16_R1.MinecraftServer.a(MinecraftServer.java:1010) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        at net.minecraft.server.v1_16_R1.MinecraftServer.v(MinecraftServer.java:849) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        at net.minecraft.server.v1_16_R1.MinecraftServer.lambda$0(MinecraftServer.java:165) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        at java.lang.Thread.run(Thread.java:834) [?:?]
Caused by: java.lang.NoSuchFieldError: PIG_ZOMBIE
        at world.bentobox.extramobs.listeners.MobsSpawnListener.onEntitySpawn(MobsSpawnListener.java:71) ~[?:?]
        at jdk.internal.reflect.GeneratedMethodAccessor127.invoke(Unknown Source) ~[?:?]
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:315) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        ... 21 more
[11:17:48] [Server thread/ERROR]: Could not pass event CreatureSpawnEvent to BentoBox v1.14.0-SNAPSHOT-b1816
org.bukkit.event.EventException: null
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:319) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:589) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:576) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        at org.bukkit.craftbukkit.v1_16_R1.event.CraftEventFactory.callCreatureSpawnEvent(CraftEventFactory.java:600) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        at org.bukkit.craftbukkit.v1_16_R1.event.CraftEventFactory.doEntityAddEventCalling(CraftEventFactory.java:537) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        at net.minecraft.server.v1_16_R1.WorldServer.addEntity0(WorldServer.java:911) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        at net.minecraft.server.v1_16_R1.WorldServer.addEntity(WorldServer.java:841) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        at net.minecraft.server.v1_16_R1.SpawnerCreature.a(SpawnerCreature.java:193) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        at net.minecraft.server.v1_16_R1.SpawnerCreature.a(SpawnerCreature.java:133) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        at net.minecraft.server.v1_16_R1.SpawnerCreature.a(SpawnerCreature.java:117) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        at net.minecraft.server.v1_16_R1.ChunkProviderServer.lambda$9(ChunkProviderServer.java:394) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        at java.util.ArrayList.forEach(ArrayList.java:1540) ~[?:?]
        at net.minecraft.server.v1_16_R1.ChunkProviderServer.tickChunks(ChunkProviderServer.java:378) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        at net.minecraft.server.v1_16_R1.ChunkProviderServer.tick(ChunkProviderServer.java:346) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        at net.minecraft.server.v1_16_R1.WorldServer.doTick(WorldServer.java:329) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        at net.minecraft.server.v1_16_R1.MinecraftServer.b(MinecraftServer.java:1107) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        at net.minecraft.server.v1_16_R1.DedicatedServer.b(DedicatedServer.java:354) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        at net.minecraft.server.v1_16_R1.MinecraftServer.a(MinecraftServer.java:1010) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        at net.minecraft.server.v1_16_R1.MinecraftServer.v(MinecraftServer.java:849) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        at net.minecraft.server.v1_16_R1.MinecraftServer.lambda$0(MinecraftServer.java:165) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        at java.lang.Thread.run(Thread.java:834) [?:?]
Caused by: java.lang.NoSuchFieldError: PIG_ZOMBIE
        at world.bentobox.extramobs.listeners.MobsSpawnListener.onEntitySpawn(MobsSpawnListener.java:71) ~[?:?]
        at jdk.internal.reflect.GeneratedMethodAccessor127.invoke(Unknown Source) ~[?:?]
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:315) ~[spigot-1.16.1.jar-2020-06-25-0558:git-Spigot-758abbe-3f0c333]
        ... 21 more

Steps to reproduce the behavior

Install Spigot 1.16.1 (replacing 1.15.2) Visit island

Expected behavior

Environment

Output of /bbox version (Mandatory)
>bbox version
[11:20:34] [Server thread/INFO]: Running SPIGOT Invalid.
[11:20:34] [Server thread/INFO]: BentoBox version: 1.14.0-SNAPSHOT-b1816
[11:20:34] [Server thread/INFO]: Database: JSON
[11:20:34] [Server thread/INFO]: Loaded Game Worlds:
[11:20:34] [Server thread/INFO]: world_skyblock (SkyBlock): Overworld, [nether_color]Nether, [end_color]End
[11:20:34] [Server thread/INFO]: Loaded Addons:
[11:20:34] [Server thread/INFO]: Biomes 1.13.0-SNAPSHOT-b161 (ENABLED)
[11:20:34] [Server thread/INFO]: BSkyBlock 1.13.0-SNAPSHOT-b601 (ENABLED)
[11:20:34] [Server thread/INFO]: Challenges 0.9.0-SNAPSHOT-b418 (ENABLED)
[11:20:34] [Server thread/INFO]: ExtraMobs 1.11.0.2-SNAPSHOT-b4 (ENABLED)
[11:20:34] [Server thread/INFO]: Level 2.1.0-SNAPSHOT-b365 (ENABLED)
BONNe commented 4 years ago

It will not work, and the only thing that is bad is that it even started up with 1.16.

BentoBox 1.14.0 is built for spigot 1.15.2, not for 1.16!

If you cannot wait until release, you can check this, BentoBox 1.13.1 version that is compiled for Minecraft 1.16: https://github.com/BONNePlayground/BentoBox/releases/tag/1.13.1

SlimeDog commented 4 years ago

We all wait; that is fine.

I am reporting an issue, nothing more. We test development versions on different platforms (given the number of issues our testing has identified, I hope you consider that a good thing).

tastybento commented 4 years ago

@SlimeDog Thanks for the report Slimedog, I appreciate your enthusiasm. This particular issue is in the ExtraMobs addon, so we'll look at that as we update to 1.16.

SlimeDog commented 4 years ago

Thanks.