Uses of Record Class
nl.pim16aap2.animatedarchitecture.core.api.IProtectionHookManager.HookCheckResult
Packages that use IProtectionHookManager.HookCheckResult
Package
Description
This package contains various APIs used throughout the project, including definitions for animated blocks, colors,
debugging, factories, highlighted block spawners, the platform interface, and more.
This package contains classes responsible for providing compatibility with various third-party plugins.
-
Uses of IProtectionHookManager.HookCheckResult in nl.pim16aap2.animatedarchitecture.core.api
Fields in nl.pim16aap2.animatedarchitecture.core.api declared as IProtectionHookManager.HookCheckResultModifier and TypeFieldDescriptionstatic final IProtectionHookManager.HookCheckResultIProtectionHookManager.HookCheckResult.ERRORGeneric error result that denies the check.Methods in nl.pim16aap2.animatedarchitecture.core.api that return IProtectionHookManager.HookCheckResultModifier and TypeMethodDescriptionIProtectionHookManager.HookCheckResult.allowed()Create a new CheckResult that indicates that the check was allowed.IProtectionHookManager.HookCheckResult.denied()Create a new CheckResult that indicates that the check was denied.Create a new CheckResult that indicates that the check was denied.Methods in nl.pim16aap2.animatedarchitecture.core.api that return types with arguments of type IProtectionHookManager.HookCheckResultModifier and TypeMethodDescriptionIProtectionHookManager.canBreakBlock(IPlayer player, ILocation loc) Check if a player can break a block at a given location.IProtectionHookManager.canBreakBlocksInCuboid(IPlayer player, Cuboid cuboid, IWorld world) Check if a player can break all blocks in a cuboid. -
Uses of IProtectionHookManager.HookCheckResult in nl.pim16aap2.animatedarchitecture.spigot.core.hooks
Methods in nl.pim16aap2.animatedarchitecture.spigot.core.hooks that return types with arguments of type IProtectionHookManager.HookCheckResultModifier and TypeMethodDescriptionProtectionHookManagerSpigot.canBreakBlock(IPlayer player, ILocation location) ProtectionHookManagerSpigot.canBreakBlocksInCuboid(IPlayer player, Cuboid cuboid, IWorld world)