Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added area grouping #55

Merged
merged 14 commits into from
Oct 30, 2024
Merged

Added area grouping #55

merged 14 commits into from
Oct 30, 2024

Commits on Oct 27, 2024

  1. Rename IntersectionArea to GroupedArea

    Refactor the interface to better represent areas bound to multiple regions instead of just intersections. Updated import statements and documentation to reflect this change.
    NonSwag committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    4b0090c View commit details
    Browse the repository at this point in the history
  2. Add GroupedRegion class

    Introduced a `GroupedRegion` class to manage multiple `Region` objects collectively. This class supports basic operations like adding, removing, and querying regions, along with overriding several methods from the `AbstractRegion` class for more tailored functionality.
    NonSwag committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    79ba62b View commit details
    Browse the repository at this point in the history
  3. Rename IntersectionAreaAdapter to GroupedAreaAdapter

    Renamed IntersectionAreaAdapter to GroupedAreaAdapter for better clarity and updated the associated implementation. This change ensures the naming reflects the functionality more accurately, improving code maintainability.
    NonSwag committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    32d4563 View commit details
    Browse the repository at this point in the history
  4. Rename CraftIntersectionArea to CraftGroupedArea

    Replaced CraftIntersectionArea with CraftGroupedArea to better reflect its purpose in managing grouped regions. This includes updating relevant imports and class specifics to the new GroupedRegion type.
    NonSwag committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    ac992b1 View commit details
    Browse the repository at this point in the history
  5. Replace RegionIntersection with GroupedRegion

    Removed the dependency on RegionIntersection and replaced it with GroupedRegion in areaService. This change updates the wrapper registration to use the corresponding CraftGroupedArea class.
    NonSwag committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    f44e633 View commit details
    Browse the repository at this point in the history
  6. Remove unnecessary annotation import in CraftGroupedArea.java

    Eliminated the unused `TypesAreNotNullByDefault` annotation import to clean up the code. This helps to reduce clutter and improves code readability.
    NonSwag committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    f23b665 View commit details
    Browse the repository at this point in the history
  7. Add AreaGroupCommand for managing grouped areas

    Introduced a new command class `AreaGroupCommand`, enabling the creation, addition, inspection, and removal of grouped areas. This facilitates better management of regionized and grouped areas within the plugin, with appropriate permission checks for each action.
    NonSwag committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    e7cf0eb View commit details
    Browse the repository at this point in the history
  8. Remove unused annotation dependency from build script

    Removed `net.thenextlvl.core:annotations:2.0.1` from the dependencies in `plugin/build.gradle.kts` as it is no longer needed. This clean-up helps streamline the build process and avoids unnecessary inclusion of unused libraries.
    NonSwag committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    922d4a8 View commit details
    Browse the repository at this point in the history
  9. Remove NamePattern annotation and package-info.java files

    This commit deletes the NamePattern annotation file and several package-info.java files. Additionally, it updates method signatures to include @NotNull annotations for better null safety.
    NonSwag committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    c776a73 View commit details
    Browse the repository at this point in the history
  10. Reverted "lost changes(?)"

    NonSwag committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    2127f26 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    e141038 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2024

  1. Update dependencies for core modules

    Upgraded the versions of 'net.thenextlvl.core' dependencies in both 'plugin' and 'api' modules. This change ensures the use of the latest features and improvements provided by the updated libraries.
    NonSwag committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    a356641 View commit details
    Browse the repository at this point in the history
  2. Refactor adapter registrations in CraftAreaProvider

    Update method calls for registering type hierarchy adapters to use simplified methods in `LocationAdapter` and `KeyAdapter`. This improves consistency and readability in the `CraftAreaProvider` class.
    NonSwag committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    703fa01 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    584326f View commit details
    Browse the repository at this point in the history