Class CommandClaimSquare
java.lang.Object
org.kingdoms.commands.KingdomsCommand
org.kingdoms.commands.general.claims.CommandClaimSquare
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.kingdoms.commands.KingdomsCommand
aliases, bypassCooldownPermission, bypassDisabledWorldsPermission, COLORIZE_TAB_COMPLETES, cooldown, description, disabledWorlds, name, parent, path, permission, plugin -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclaimSquare(SimpleChunkLocation from, SimpleChunkLocation to, KingdomPlayer kp, Kingdom kingdom, boolean edgesOnly) voidexecute(CommandContext context) getCenteredSquareCorners(SimpleChunkLocation chunk, int radius) tabComplete(@NonNull org.bukkit.command.CommandSender sender, @NonNull String[] args) Methods inherited from class org.kingdoms.commands.KingdomsCommand
canBypassCooldown, canBypassDisabledWorlds, emptyTab, equals, executeX, getAliases, getCooldown, getDescription, getDisabledWorlds, getDisplayName, getName, getParent, getPermission, getPlayer, getUsage, hashCode, hasPermission, hasPermission, isDisabled, joinArgs, joinArgs, lang, parseBool, setPermissionDefault, tabComplete, tabComplete, tabComplete, tabComplete, toString, unregisterPermissions
-
Constructor Details
-
CommandClaimSquare
-
-
Method Details
-
getCenteredSquareCorners
public static Pair<SimpleChunkLocation,SimpleChunkLocation> getCenteredSquareCorners(SimpleChunkLocation chunk, int radius) -
claimSquare
public static Map<SimpleChunkLocation.WorldlessWrapper,ClaimClipboard.ClaimProcessor> claimSquare(SimpleChunkLocation from, SimpleChunkLocation to, KingdomPlayer kp, Kingdom kingdom, boolean edgesOnly) -
execute
- Overrides:
executein classKingdomsCommand
-
tabComplete
public @NonNull List<String> tabComplete(@NonNull org.bukkit.command.CommandSender sender, @NonNull String[] args) - Overrides:
tabCompletein classKingdomsCommand
-