Interface Town

All Superinterfaces:
Claim, ContextSource

public interface Town extends Claim
  • Method Details

    • getType

      default ClaimType getType()
      Gets the ClaimType.
      Specified by:
      getType in interface Claim
      Returns:
      The claim type
    • getTownTag

      default Optional<net.kyori.adventure.text.Component> getTownTag()
      Gets the town tag.
      Returns:
      The town tag
    • getAccruedClaimBlocks

      default int getAccruedClaimBlocks(UUID uuid)
      Gets the UUID's accrued claim blocks.
      Returns:
      The uuid's accrued claim blocks
    • getBonusClaimBlocks

      default int getBonusClaimBlocks(UUID uuid)
      Gets the UUID's bonus claim blocks.
      Returns:
      The uuid's bonus claim blocks
    • getData

      TownData getData()
      Description copied from interface: Claim
      Gets the persisted data of claim.
      Specified by:
      getData in interface Claim
      Returns:
      The claim's persisted data