Index

A B C D E F G H I M N P R T U V W 
All Classes and Interfaces|All Packages

A

allRegions() - Method in interface com.cotani.region.api.RegionModule
Returns an unmodifiable snapshot of all registered regions.

B

BLOCK_BREAK - Enum constant in enum class com.cotani.region.api.RegionFlag
Block breaking allowed.
BLOCK_PLACE - Enum constant in enum class com.cotani.region.api.RegionFlag
Block placing allowed.
bounds(int, int, int, int, int, int) - Method in class com.cotani.region.api.Region3D.Builder
 
bounds(Location, Location) - Method in class com.cotani.region.api.Region3D.Builder
 
build() - Method in class com.cotani.region.api.Region3D.Builder
 
builder(String, UUID) - Static method in record class com.cotani.region.api.Region3D
Creates a new fluent Region3D.Builder.
Builder(String, UUID) - Constructor for class com.cotani.region.api.Region3D.Builder
 

C

close() - Method in interface com.cotani.region.api.RegionModule
 
com.cotani.region - package com.cotani.region
 
com.cotani.region.api - package com.cotani.region.api
 
contains(int, int, int) - Method in record class com.cotani.region.api.Region3D
Checks if block coordinates are inside this 3D region bounding box.
contains(Location) - Method in record class com.cotani.region.api.Region3D
Checks if a Bukkit location is inside this 3D region.
CotaniRegions - Class in com.cotani.region
Factory for creating and configuring the Cotani 3D Region and protection module.
create(Plugin, PaperTaskScheduler) - Static method in class com.cotani.region.CotaniRegions
Creates a new RegionModule instance.

D

displayName() - Method in record class com.cotani.region.api.Region3D
Returns the value of the displayName record component.

E

ENTRY - Enum constant in enum class com.cotani.region.api.RegionFlag
Player entry into region allowed (if denied, players are pushed back).
equals(Object) - Method in record class com.cotani.region.api.Region3D
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.cotani.region.api.RegionEnterEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.cotani.region.api.RegionLeaveEvent
Indicates whether some other object is "equal to" this one.
EXPLOSIONS - Enum constant in enum class com.cotani.region.api.RegionFlag
TNT, creeper, and other entity explosions allowed.

F

farewell(String) - Method in class com.cotani.region.api.Region3D.Builder
 
farewell(Component) - Method in class com.cotani.region.api.Region3D.Builder
 
farewellMessage() - Method in record class com.cotani.region.api.Region3D
Returns the value of the farewellMessage record component.
findRegion(String) - Method in interface com.cotani.region.api.RegionModule
Finds a region by ID.
FIRE_SPREAD - Enum constant in enum class com.cotani.region.api.RegionFlag
Fire spread and burning allowed.
flag(RegionFlag, boolean) - Method in class com.cotani.region.api.Region3D.Builder
 
flags() - Method in record class com.cotani.region.api.Region3D
Returns the value of the flags record component.
from() - Method in record class com.cotani.region.api.RegionEnterEvent
Returns the value of the from record component.
from() - Method in record class com.cotani.region.api.RegionLeaveEvent
Returns the value of the from record component.

G

getFlag(RegionFlag) - Method in record class com.cotani.region.api.Region3D
Queries a specific protection flag on this region.
greeting(String) - Method in class com.cotani.region.api.Region3D.Builder
 
greeting(Component) - Method in class com.cotani.region.api.Region3D.Builder
 
greetingMessage() - Method in record class com.cotani.region.api.Region3D
Returns the value of the greetingMessage record component.

H

hashCode() - Method in record class com.cotani.region.api.Region3D
Returns a hash code value for this object.
hashCode() - Method in record class com.cotani.region.api.RegionEnterEvent
Returns a hash code value for this object.
hashCode() - Method in record class com.cotani.region.api.RegionLeaveEvent
Returns a hash code value for this object.
highestPriorityRegionAt(Location) - Method in interface com.cotani.region.api.RegionModule
Returns the highest priority region containing the location, if any.

I

id() - Method in record class com.cotani.region.api.Region3D
Returns the value of the id record component.
isFlagAllowed(Location, RegionFlag, boolean) - Method in interface com.cotani.region.api.RegionModule
Evaluates whether a flag is allowed at the given location based on region priority.
ITEM_DROP - Enum constant in enum class com.cotani.region.api.RegionFlag
Dropping items on the ground allowed.
ITEM_PICKUP - Enum constant in enum class com.cotani.region.api.RegionFlag
Picking up items from the ground allowed.

M

maxX() - Method in record class com.cotani.region.api.Region3D
Returns the value of the maxX record component.
maxY() - Method in record class com.cotani.region.api.Region3D
Returns the value of the maxY record component.
maxZ() - Method in record class com.cotani.region.api.Region3D
Returns the value of the maxZ record component.
minX() - Method in record class com.cotani.region.api.Region3D
Returns the value of the minX record component.
minY() - Method in record class com.cotani.region.api.Region3D
Returns the value of the minY record component.
minZ() - Method in record class com.cotani.region.api.Region3D
Returns the value of the minZ record component.
MOB_SPAWN - Enum constant in enum class com.cotani.region.api.RegionFlag
Hostile and natural monster spawning allowed.

N

name(String) - Method in class com.cotani.region.api.Region3D.Builder
 
name(Component) - Method in class com.cotani.region.api.Region3D.Builder
 

P

player() - Method in record class com.cotani.region.api.RegionEnterEvent
Returns the value of the player record component.
player() - Method in record class com.cotani.region.api.RegionLeaveEvent
Returns the value of the player record component.
priority() - Method in record class com.cotani.region.api.Region3D
Returns the value of the priority record component.
priority(int) - Method in class com.cotani.region.api.Region3D.Builder
 
PVP - Enum constant in enum class com.cotani.region.api.RegionFlag
Player versus player combat allowed.

R

region() - Method in record class com.cotani.region.api.RegionEnterEvent
Returns the value of the region record component.
region() - Method in record class com.cotani.region.api.RegionLeaveEvent
Returns the value of the region record component.
Region3D - Record Class in com.cotani.region.api
Immutable 3D spatial region with bounding box coordinates, priority, and protection flags.
Region3D(String, Component, UUID, int, int, int, int, int, int, int, Map, Component, Component) - Constructor for record class com.cotani.region.api.Region3D
Creates an instance of a Region3D record class.
Region3D.Builder - Class in com.cotani.region.api
Fluent builder for Region3D.
RegionEnterEvent - Record Class in com.cotani.region.api
Event fired when a player enters a 3D region.
RegionEnterEvent(Player, Region3D, Location, Location) - Constructor for record class com.cotani.region.api.RegionEnterEvent
Creates an instance of a RegionEnterEvent record class.
RegionFlag - Enum Class in com.cotani.region.api
Protection and gameplay flags evaluated within 3D regions.
RegionLeaveEvent - Record Class in com.cotani.region.api
Event fired when a player leaves a 3D region.
RegionLeaveEvent(Player, Region3D, Location, Location) - Constructor for record class com.cotani.region.api.RegionLeaveEvent
Creates an instance of a RegionLeaveEvent record class.
RegionModule - Interface in com.cotani.region.api
Service contract for managing 3D regions, spatial queries, and protection flags.
regionsAt(Location) - Method in interface com.cotani.region.api.RegionModule
Finds all regions containing the specified location, ordered from highest priority to lowest.
registerRegion(Region3D) - Method in interface com.cotani.region.api.RegionModule
Registers a 3D region.

T

to() - Method in record class com.cotani.region.api.RegionEnterEvent
Returns the value of the to record component.
to() - Method in record class com.cotani.region.api.RegionLeaveEvent
Returns the value of the to record component.
toString() - Method in record class com.cotani.region.api.Region3D
Returns a string representation of this record class.
toString() - Method in record class com.cotani.region.api.RegionEnterEvent
Returns a string representation of this record class.
toString() - Method in record class com.cotani.region.api.RegionLeaveEvent
Returns a string representation of this record class.

U

unregisterRegion(String) - Method in interface com.cotani.region.api.RegionModule
Unregisters a 3D region by its unique identifier.
USE_CONTAINERS - Enum constant in enum class com.cotani.region.api.RegionFlag
Chest and container opening allowed.
USE_DOORS - Enum constant in enum class com.cotani.region.api.RegionFlag
Door, trapdoor, and gate usage allowed.

V

valueOf(String) - Static method in enum class com.cotani.region.api.RegionFlag
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.cotani.region.api.RegionFlag
Returns an array containing the constants of this enum class, in the order they are declared.
volume() - Method in record class com.cotani.region.api.Region3D
Calculates the total block volume of this region.

W

worldId() - Method in record class com.cotani.region.api.Region3D
Returns the value of the worldId record component.
A B C D E F G H I M N P R T U V W 
All Classes and Interfaces|All Packages