Skip to content

[Question] Can PaperShelled to be used to modify the code of other Bukkit plugins by Mixin?  #6

Description

@Polar-Pumpkin

I write a PaperShelled plugin to try it out, but I found that adding the @Dependency annotation for the Bukkit plugin I need to modify causes the PaperShelled plugin to fail to load, it shows the message Could not load 'myplugin.jar' without further information, which took me a lot of time to figure out. :(

However, if I don't depend on that Bukkit plugin, the PaperShelled plugin will show a "target class not found" error during loading (when using Mixin injection). It seems that the PaperShelled plugin is loaded much earlier than the Bukkit plugin, causing it to not find the classes from the Bukkit plugin.

This is my first time using Mixin, and I don't have any related knowledge, so I wanted to ask if there is a suitable solution. Thank you.

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