Skip to content

Feature: Bell Claims

Mizarc requested to merge feature/bell-claiming into main

This feature set changes the claim creation system to be focused around the bell block. Rather than creating claims with the claim tool, the claim tool has been regulated to a claim editing tool, with the primary claim hub instead being represented by a bell.

Added

  • Bell blocks are now used to create and edit claims. Shift right click to open the menu.
    • If the menu is opened on an unclaimed bell, it will open the creation menu.
    • Claims will be created with a default 5x5 space around the bell.
    • Claimed bells will open the edit menu if the bell is owned by the player
    • Claim tools can be acquired through the edit menu.
    • Claims can be renamed through the edit menu.
    • Claim display icon can be changed through the edit menu.
    • Claim flags can be changed through the edit menu.
    • Claim permissions can be changed by default and per player through the edit menu.
    • Claim move tool can be acquired through the edit menu.
  • The claim move tool allows players to place down a special bell item to move the claim bell within the bounds of the claim area.

Removed

  • setmain command is now redundant. Main partitions are now defined by the position of the claim bell.

Fixed

  • All claim flags other than the piston move weren't stopped.
  • Fire spread claim flag no longer stops grass from growing.
  • Multiple incorrect SQL statements preventing data from saving to database.
  • Some data not being updated in memory without restarted.

Internal Changes

  • InventoryFramework dependency.
  • Position has been split to Position2D and Position3D, inheriting from Position. This is for saving the 3D location of the claim bell block.
  • New item stack extension to easily set or get nbt metadata strings.
  • Services split into ClaimService and PartitionService, each containing methods pertaining to their respective categories.
  • Removed mainPartition from claim repo database.
  • Added position data for claim bell position in claim repo database.

Merge request reports

Loading