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 Summary
Modifier and TypeMethodDescriptionbooleancontains(org.bukkit.Location location) booleancontains(su.nightexpress.nightcore.util.geodata.pos.BlockPos blockPos) <T> StringformatSummary(ClaimRule<T> rule) su.nightexpress.nightcore.util.bukkit.NightItemgetIcon()getName()int<T> Optional<T> getRuleOrIgnoreIfUnset(ClaimRule<T> rule) getRules()su.nightexpress.nightcore.util.geodata.pos.ExactPosorg.bukkit.WorldgetWorld()su.nightexpress.nightcore.bridge.key.AdaptedKeybooleanbooleanbooleanisEmpty()Deprecated.booleanbooleanisIntersecting(su.nightexpress.nightcore.util.geodata.Cuboid cuboid) booleanbooleanisWorld(org.bukkit.World world) booleanisWorld(su.nightexpress.nightcore.bridge.key.AdaptedKey worldKey) voidsetDescription(List<String> description) voidvoidvoidsetIcon(su.nightexpress.nightcore.util.bukkit.NightItem icon) voidvoidsetPriority(int priority) voidsetSpawnLocation(su.nightexpress.nightcore.util.geodata.pos.ExactPos pos) Optional<org.bukkit.World> world()Methods inherited from interface Identifiable
getId, idMethods inherited from interface su.nightexpress.nightcore.util.placeholder.PlaceholderResolvable
placeholders
-
Method Details
-
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
-
getWorldKey
su.nightexpress.nightcore.bridge.key.AdaptedKey getWorldKey() -
getModuleKey
Identifier getModuleKey() -
getWorld
- Throws:
IllegalStateException
-
world
Optional<org.bukkit.World> world() -
definition
ClaimDefinition definition() -
getRules
ClaimRules getRules() -
getEffectiveChunkKeys
-
getName
String getName() -
getRawName
String getRawName() -
setName
-
getDescription
-
setDescription
-
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
-