Interface Claim

All Superinterfaces:
Identifiable, su.nightexpress.nightcore.util.placeholder.PlaceholderResolvable
All Known Subinterfaces:
Land, OwnableClaim, Region, Wilderness

@NullMarked public interface Claim extends Identifiable, su.nightexpress.nightcore.util.placeholder.PlaceholderResolvable
  • Method Details

    • isEmpty

      @Deprecated boolean isEmpty()
      Deprecated.
    • isEnabled

      boolean isEnabled()
    • isDisabled

      boolean isDisabled()
    • setDisabled

      void setDisabled()
    • setEnabled

      void setEnabled()
    • isWorld

      boolean isWorld(org.bukkit.World world)
    • isWorld

      boolean isWorld(su.nightexpress.nightcore.bridge.key.AdaptedKey worldKey)
    • isBackgroundClaim

      boolean isBackgroundClaim()
    • isSupportingUnsetRules

      boolean isSupportingUnsetRules()
    • contains

      boolean contains(org.bukkit.Location location)
    • contains

      boolean contains(su.nightexpress.nightcore.util.geodata.pos.BlockPos blockPos)
    • isIntersecting

      boolean isIntersecting(su.nightexpress.nightcore.util.geodata.Cuboid cuboid)
    • getRuleOrIgnoreIfUnset

      <T> Optional<T> getRuleOrIgnoreIfUnset(ClaimRule<T> rule)
    • getWorldKey

      su.nightexpress.nightcore.bridge.key.AdaptedKey getWorldKey()
    • getModuleKey

      Identifier getModuleKey()
    • getWorld

      org.bukkit.World getWorld() throws IllegalStateException
      Throws:
      IllegalStateException
    • world

      Optional<org.bukkit.World> world()
    • definition

      ClaimDefinition definition()
    • getRules

      ClaimRules getRules()
    • getEffectiveChunkKeys

      Set<Long> getEffectiveChunkKeys()
    • getName

      String getName()
    • getRawName

      String getRawName()
    • setName

      void setName(String name)
    • getDescription

      List<String> getDescription()
    • setDescription

      void setDescription(List<String> description)
    • getIcon

      su.nightexpress.nightcore.util.bukkit.NightItem getIcon()
    • setIcon

      void setIcon(su.nightexpress.nightcore.util.bukkit.NightItem icon)
    • getPriority

      int getPriority()
    • setPriority

      void setPriority(int priority)
    • getSpawnLocation

      su.nightexpress.nightcore.util.geodata.pos.ExactPos getSpawnLocation()
    • setSpawnLocation

      void setSpawnLocation(su.nightexpress.nightcore.util.geodata.pos.ExactPos pos)
    • formatSummary

      <T> String formatSummary(ClaimRule<T> rule)