Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR refactors the package structure by moving core plugin classes from com.github.pinont.plugin to com.github.pinont.singularitylib.plugin, ensuring a consistent namespace throughout the codebase.
Key changes:
- Updated package declarations for
CorePlugin,Register, and listener classes to use thesingularitylibprefix - Updated all import statements across the codebase to reference the new package locations
- Updated the plugin configuration file (
paper-plugin.yml) to reflect the new main class path
Reviewed Changes
Copilot reviewed 20 out of 20 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
src/main/resources/paper-plugin.yml |
Updated main class path to new package structure |
src/main/java/com/github/pinont/singularitylib/plugin/CorePlugin.java |
Updated package declaration and imports to new namespace |
src/main/java/com/github/pinont/singularitylib/plugin/register/Register.java |
Updated package declaration to new namespace |
src/main/java/com/github/pinont/singularitylib/plugin/listener/PlayerListener.java |
Updated package declaration and imports to new namespace |
src/main/java/com/github/pinont/singularitylib/plugin/listener/EntityDamageListener.java |
Updated package declaration to new namespace |
src/test/java/com/github/pinont/singularitylib/TestPlugin.java |
Updated import to reference new CorePlugin location |
src/main/java/com/github/pinont/singularitylib/api/utils/MySQL.java |
Updated static imports to reference new CorePlugin location |
src/main/java/com/github/pinont/singularitylib/api/utils/Console.java |
Updated static imports to reference new CorePlugin location |
src/main/java/com/github/pinont/singularitylib/api/ui/Menu.java |
Updated static imports to reference new CorePlugin location |
src/main/java/com/github/pinont/singularitylib/api/runnable/Scheduler.java |
Updated import to reference new CorePlugin location |
src/main/java/com/github/pinont/singularitylib/api/manager/WorldManager.java |
Updated static import to reference new CorePlugin location |
src/main/java/com/github/pinont/singularitylib/api/manager/FileManager.java |
Updated imports and static imports to new namespace |
src/main/java/com/github/pinont/singularitylib/api/manager/CustomItemManager.java |
Updated static import to reference new CorePlugin location |
src/main/java/com/github/pinont/singularitylib/api/manager/ConfigManager.java |
Updated static import to reference new CorePlugin location |
src/main/java/com/github/pinont/singularitylib/api/manager/CommandManager.java |
Updated static imports to reference new CorePlugin location |
src/main/java/com/github/pinont/singularitylib/api/items/ItemInteraction.java |
Updated static import to reference new CorePlugin location |
src/main/java/com/github/pinont/singularitylib/api/items/ItemCreator.java |
Updated static import to reference new CorePlugin location |
src/main/java/com/github/pinont/singularitylib/api/hook/discordJDA/DiscordApp.java |
Updated static import to reference new CorePlugin location |
src/main/java/com/github/pinont/singularitylib/api/event/ItemExecuteEvent.java |
Updated static import to reference new CorePlugin location |
src/main/java/com/github/pinont/singularitylib/api/entity/EntityCreator.java |
Updated static import to reference new CorePlugin location |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
… organization