Uses of Class
net.mathias2246.buildmc.api.claims.Protection
Packages that use Protection
-
Uses of Protection in net.mathias2246.buildmc.api.claims
Methods in net.mathias2246.buildmc.api.claims with parameters of type ProtectionModifier and TypeMethodDescriptionvoidClaimManager.addProtection(long claimId, @NotNull Protection protection) Adds a protection to a claim by ID.booleanClaim.hasProtection(@NotNull Protection protection) Checks if this claim has a specific protection.voidClaimManager.removeProtection(long claimId, @NotNull Protection protection) Removes a protection from a claim by ID.Method parameters in net.mathias2246.buildmc.api.claims with type arguments of type ProtectionModifier and TypeMethodDescriptionstatic booleanProtection.isHiddenProtection(@NotNull DeferredRegistry<Protection> registry, @Nullable org.bukkit.NamespacedKey key) Checks if a protection is considered a "hidden" protection in the given registry. -
Uses of Protection in net.mathias2246.buildmc.api.event.claims
Methods in net.mathias2246.buildmc.api.event.claims that return ProtectionConstructors in net.mathias2246.buildmc.api.event.claims with parameters of type ProtectionModifierConstructorDescriptionClaimProtectionChangeEvent(@NotNull Claim claim, @NotNull Protection protection, @NotNull ClaimProtectionChangeEvent.ActiveState newState, @NotNull org.bukkit.command.CommandSender actor)