Uses of Class
net.mathias2246.buildmc.api.claims.Claim
Packages that use Claim
-
Uses of Claim in net.mathias2246.buildmc.api.claims
Methods in net.mathias2246.buildmc.api.claims that return ClaimModifier and TypeMethodDescription@Nullable ClaimClaimManager.getClaim(org.bukkit.Chunk chunk) Gets the claim associated with a chunk.@Nullable ClaimClaimManager.getClaim(org.bukkit.Location location) Gets the claim at a given location.@Nullable ClaimClaimManager.getClaimByID(long claimID) Gets a claim by its ID.Methods in net.mathias2246.buildmc.api.claims that return types with arguments of type ClaimModifier and TypeMethodDescriptionClaimManager.getClaimsInArea(org.bukkit.Location pos1, org.bukkit.Location pos2) Gets all claims within the given area.Methods in net.mathias2246.buildmc.api.claims with parameters of type ClaimModifier and TypeMethodDescriptionbooleanClaimManager.hasAllProtectionKeys(Claim claim, Collection<org.bukkit.NamespacedKey> keys) Checks if a claim has all the specified protections by key.booleanClaimManager.hasAllProtections(Claim claim, Collection<String> protections) Checks if a claim has all the specified protections by string identifiers.booleanClaimManager.hasAnyProtection(Claim claim, Collection<org.bukkit.NamespacedKey> protections) Checks if a claim has any of the provided protections.booleanClaimManager.hasProtection(Claim claim, org.bukkit.NamespacedKey protection) Checks if a claim has a specific protection.booleanClaimManager.isPlayerAllowed(@NotNull org.bukkit.entity.Player player, @NotNull Collection<org.bukkit.NamespacedKey> protections, @Nullable Claim claim) Checks whether a player is allowed to perform an action in a claim given multiple protection keys.booleanClaimManager.isPlayerAllowed(@NotNull org.bukkit.entity.Player player, @NotNull org.bukkit.NamespacedKey protection, @Nullable Claim claim) Checks whether a player is allowed to perform an action in a given claim for a single protection key. -
Uses of Claim in net.mathias2246.buildmc.api.event.claims
Methods in net.mathias2246.buildmc.api.event.claims that return ClaimModifier and TypeMethodDescription@NotNull ClaimClaimCreateEvent.getClaim()Gets the claim that was created.@NotNull ClaimClaimProtectionChangeEvent.getClaim()@NotNull ClaimClaimRemoveEvent.getClaim()Gets the claim that was created.@NotNull ClaimClaimWhitelistChangeEvent.getClaim()Constructors in net.mathias2246.buildmc.api.event.claims with parameters of type ClaimModifierConstructorDescriptionClaimCreateEvent(@NotNull Claim claim) Constructs a newClaimCreateEvent.ClaimProtectionChangeEvent(@NotNull Claim claim, @NotNull Protection protection, @NotNull ClaimProtectionChangeEvent.ActiveState newState, @NotNull org.bukkit.command.CommandSender actor) ClaimRemoveEvent(@NotNull Claim claim) Constructs a newClaimRemoveEvent.ClaimWhitelistChangeEvent(@NotNull Claim claim, @NotNull org.bukkit.OfflinePlayer whitelistedPlayer, @NotNull org.bukkit.command.CommandSender actor, @NotNull ClaimWhitelistChangeEvent.ChangeAction action)