Package xaero.pac.common.claims.api
Interface IRegionClaimsAPI
- All Known Subinterfaces:
IClientRegionClaimsAPI
,IServerRegionClaimsAPI
public interface IRegionClaimsAPI
API for region claims
-
Method Details
-
get
Gets the claim state at a specified chunk location inside the 512x512 region.The coordinate values must be within 0 - 31 (inclusive).
- Parameters:
x
- the X coordinate of the chunk inside the region, 0 - 31 (inclusive)z
- the Z coordinate of the chunk inside the region, 0 - 31 (inclusive)- Returns:
- the claim state, null if the chunk is not claimed
-
getX
int getX()Gets the X coordinate of the 512x512 region.- Returns:
- the X coordinate value
-
getZ
int getZ()Gets the Z coordinate of the 512x512 region.- Returns:
- the Z coordinate value
-