Class ClaimRegistry
java.lang.Object
su.nightexpress.excellentclaims.api.ClaimRegistry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidclear(org.bukkit.World world) voidclear(su.nightexpress.nightcore.bridge.key.AdaptedKey worldKey) intcountClaims(UUID playerId) intcountClaims(org.bukkit.entity.Player player) getAt(org.bukkit.block.Block block) getAt(org.bukkit.Location location) getAt(org.bukkit.World world, su.nightexpress.nightcore.util.geodata.pos.BlockPos blockPos) getAt(su.nightexpress.nightcore.bridge.key.AdaptedKey worldId, su.nightexpress.nightcore.util.geodata.pos.BlockPos blockPos) getByOwner(UUID ownerId) getByOwner(org.bukkit.OfflinePlayer player) getInChunk(org.bukkit.Chunk chunk) getInChunk(org.bukkit.World world, int chunkX, int chunkZ) getInChunk(org.bukkit.World world, su.nightexpress.nightcore.util.geodata.pos.ChunkPos chunkPos) getInChunk(su.nightexpress.nightcore.bridge.key.AdaptedKey worldId, int chunkX, int chunkZ) getInChunk(su.nightexpress.nightcore.bridge.key.AdaptedKey worldId, su.nightexpress.nightcore.util.geodata.pos.ChunkPos chunkPos) getInCuboid(org.bukkit.World world, su.nightexpress.nightcore.util.geodata.Cuboid cuboid) getInCuboid(su.nightexpress.nightcore.bridge.key.AdaptedKey worldId, su.nightexpress.nightcore.util.geodata.Cuboid cuboid) @Nullable ClaimgetPrioritizedClaim(org.bukkit.block.Block block) @Nullable ClaimgetPrioritizedClaim(org.bukkit.entity.Player player) @Nullable ClaimgetPrioritizedClaim(org.bukkit.Location location) @Nullable ClaimgetPrioritizedClaim(org.bukkit.World world, su.nightexpress.nightcore.util.geodata.pos.BlockPos blockPos) @Nullable ClaimgetPrioritizedClaim(su.nightexpress.nightcore.bridge.key.AdaptedKey worldId, su.nightexpress.nightcore.util.geodata.pos.BlockPos blockPos) List<ClaimRepository<? extends Claim>> booleanisClaimed(org.bukkit.block.Block block) booleanisClaimed(org.bukkit.Location location) booleanisClaimed(org.bukkit.World world, su.nightexpress.nightcore.util.geodata.pos.BlockPos blockPos) booleanisClaimed(su.nightexpress.nightcore.bridge.key.AdaptedKey worldId, su.nightexpress.nightcore.util.geodata.pos.BlockPos blockPos) booleanisEmpty()booleanisEmpty(org.bukkit.World world) booleanisEmpty(su.nightexpress.nightcore.bridge.key.AdaptedKey worldKey) voidregisterRepository(ClaimRepository<? extends Claim> repository) intsize(org.bukkit.World world) intsize(su.nightexpress.nightcore.bridge.key.AdaptedKey worldKey) stream(org.bukkit.World world) stream(su.nightexpress.nightcore.bridge.key.AdaptedKey worldKey) values(org.bukkit.World world) values(su.nightexpress.nightcore.bridge.key.AdaptedKey worldKey)
-
Constructor Details
-
ClaimRegistry
public ClaimRegistry()
-
-
Method Details
-
registerRepository
-
getRepositories
-
clear
public void clear() -
clear
public void clear(org.bukkit.World world) -
clear
public void clear(su.nightexpress.nightcore.bridge.key.AdaptedKey worldKey) -
countClaims
public int countClaims(org.bukkit.entity.Player player) -
countClaims
-
getAt
-
getAt
-
getAt
-
getAt
-
getInChunk
-
getInChunk
-
getInChunk
-
getInChunk
-
getInChunk
-
getByOwner
-
getByOwner
-
getInCuboid
-
getInCuboid
-
getPrioritizedClaim
-
getPrioritizedClaim
-
getPrioritizedClaim
-
getPrioritizedClaim
public @Nullable Claim getPrioritizedClaim(org.bukkit.World world, su.nightexpress.nightcore.util.geodata.pos.BlockPos blockPos) -
getPrioritizedClaim
public @Nullable Claim getPrioritizedClaim(su.nightexpress.nightcore.bridge.key.AdaptedKey worldId, su.nightexpress.nightcore.util.geodata.pos.BlockPos blockPos) -
isClaimed
public boolean isClaimed(org.bukkit.Location location) -
isClaimed
public boolean isClaimed(org.bukkit.block.Block block) -
isClaimed
public boolean isClaimed(org.bukkit.World world, su.nightexpress.nightcore.util.geodata.pos.BlockPos blockPos) -
isClaimed
public boolean isClaimed(su.nightexpress.nightcore.bridge.key.AdaptedKey worldId, su.nightexpress.nightcore.util.geodata.pos.BlockPos blockPos) -
isEmpty
public boolean isEmpty() -
isEmpty
public boolean isEmpty(org.bukkit.World world) -
isEmpty
public boolean isEmpty(su.nightexpress.nightcore.bridge.key.AdaptedKey worldKey) -
size
public int size(org.bukkit.World world) -
size
public int size(su.nightexpress.nightcore.bridge.key.AdaptedKey worldKey) -
stream
-
stream
-
values
-
values
-