Skip to content

[Issue] AdvancedMobs 1.18.12 fails to detect Paper 26.2 / NMS compatibility errors #125

Description

@playmoonvaleus-byte

Describe the bug

I am running AdvancedMobs 1.18.12 on Paper 26.2. The plugin is freshly installed, and the issue still occurs on a clean installation.

When AdvancedMobs starts, it repeatedly fails to resolve Minecraft server classes such as:

net.minecraft.server.level.EntityPlayer
net.minecraft.server.level.EntityHuman
net.minecraft.network.chat.IChatBaseComponent
net.minecraft.world.InteractionHand
net.minecraft.world.level.pathfinder.PathEntity
net.minecraft.world.entity.EntityInsentient
net.minecraft.nbt.NBTBase
net.minecraft.nbt.NBTTagString
net.minecraft.nbt.NBTTagInt

The errors originate from AdvancedMobs' MinecraftVersion.init() / ClassWrapper compatibility system.

The server is running:

Paper: 26.2-121-a2a42c5
AdvancedMobs: 1.18.12

I have already completely removed AdvancedMobs and its data/configuration files and performed a fresh installation, but the same errors occur.

AdvancedMobs does continue loading some of its functionality afterward, but the NMS class resolution errors occur during startup and indicate that the plugin is not correctly detecting/handling the current Paper version.

Could you please confirm whether AdvancedMobs 1.18.12 is fully compatible with Paper 26.2, and if so, whether there is a specific build or configuration required for Paper 26.2?

I can provide the complete startup log if needed.

How to reproduce

How to reproduce
Set up a clean Paper 26.2 Minecraft server.
Start the server once and allow Paper to generate its default files.
Stop the server.
Download and install AdvancedMobs 1.18.12.
Do not copy any previous AdvancedMobs configuration, data, or cache files into the server.
Start the server with the freshly installed AdvancedMobs plugin.
During startup, AdvancedMobs attempts to initialize its Minecraft/NMS compatibility layer.
Check the server console/log for the errors.
The plugin attempts to resolve classes such as EntityPlayer, EntityHuman, IChatBaseComponent, PathEntity, EntityInsentient, NBTBase, NBTTagString, and NBTTagInt.
These classes fail to resolve, producing ClassNotFoundException errors originating from AdvancedMobs' MinecraftVersion.init() and ClassWrapper.
Allow the server to finish starting. AdvancedMobs continues loading some functionality, but the NMS compatibility errors remain present in the console.

Screenshots / Videos

https://mcpaste.io/ecb8bc56e4ca5b57

Server Log

https://mcpaste.io/ecb8bc56e4ca5b57

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions