Package com.griefdefender.api.claim
Interface Town
- All Superinterfaces:
Claim,ContextSource
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.griefdefender.api.claim.Claim
Claim.Builder -
Method Summary
Modifier and TypeMethodDescriptiondefault intgetAccruedClaimBlocks(UUID uuid) Gets theUUID's accrued claim blocks.default intgetBonusClaimBlocks(UUID uuid) Gets theUUID's bonus claim blocks.getData()Gets the persisted data of claim.default Optional<net.kyori.adventure.text.Component> Gets the town tag.default ClaimTypegetType()Gets theClaimType.Methods inherited from interface com.griefdefender.api.claim.Claim
addAttribute, addClanTrust, addClanTrust, addClanTrusts, addGroupTrust, addGroupTrusts, addUserTrust, addUserTrusts, allowEdit, canBreak, canHurtEntity, canInteractWithEntity, canPlace, canUseBlock, canUseBlock, canUseItem, canUseItem, changeType, changeType, contains, contains, contains, contains, createSnapshot, createSnapshot, createSnapshot, deleteChild, deleteChildren, deleteChildren, deleteSchematic, deleteSnapshot, extend, getActiveFlagPermissionValue, getActiveFlagPermissionValue, getActiveFlagPermissionValue, getActiveFlagPermissionValue, getActiveFlagPermissionValue, getActiveFlagPermissionValue, getActiveFlagPermissionValue, getActiveOptionDefinitionValue, getActiveOptionDefinitionValue, getActiveOptionValue, getActiveOptionValue, getArea, getAttributes, getChildren, getChunkHashes, getChunkPositions, getClaimBlocks, getClaimGroup, getClaimManager, getClaimVisual, getClanTrusts, getClanTrusts, getDefaultTypeContext, getDisplayName, getDisplayNameComponent, getEconomyAccountId, getEconomyData, getFlagPermissionValue, getFriendlyIdentifier, getGreaterBoundaryCorner, getGroupTrusts, getGroupTrusts, getHeight, getInheritedParents, getLength, getLesserBoundaryCorner, getOptionValue, getOptionValue, getOverrideTypeContext, getOwnerDisplayName, getOwnerName, getOwnerUniqueId, getParent, getParents, getPlayers, getRentedClaim, getSchematics, getSnapshots, getTown, getUniqueId, getUserTrusts, getUserTrusts, getVolume, getWidth, getWilderness, getWorldName, getWorldUniqueId, hasActiveVisual, hasAttribute, hasAttribute, isAdminClaim, isBasicClaim, isClanTrusted, isClanTrusted, isCuboid, isGroupTrusted, isInside, isInTown, isParent, isPlot, isPvpAllowed, isSubdivision, isTown, isUserTrusted, isWilderness, overlaps, removeAllAttributes, removeAllClanTrusts, removeAllGroupTrusts, removeAllTrusts, removeAllUserTrusts, removeAttribute, removeAttribute, removeClanTrust, removeClanTrust, removeClanTrusts, removeGroupTrust, removeGroupTrusts, removeUserTrust, removeUserTrusts, resize, resize, setFlagDefinition, setFlagDefinition, setFlagPermission, setFlagPermission, setFriendlyIdentifier, setOption, setOption, setOptionDefinition, setOptionDefinition, transferOwnerMethods inherited from interface com.griefdefender.api.ContextSource
getContext
-
Method Details
-
getType
Gets theClaimType. -
getTownTag
Gets the town tag.- Returns:
- The town tag
-
getAccruedClaimBlocks
Gets theUUID's accrued claim blocks.- Returns:
- The uuid's accrued claim blocks
-
getBonusClaimBlocks
Gets theUUID's bonus claim blocks.- Returns:
- The uuid's bonus claim blocks
-
getData
TownData getData()Description copied from interface:ClaimGets the persisted data of claim.
-