Package dev.kitteh.factions.integration
Class Magic
java.lang.Object
dev.kitteh.factions.integration.Magic
- All Implemented Interfaces:
com.elmakers.mine.bukkit.api.entity.TeamProvider,com.elmakers.mine.bukkit.api.magic.MagicProvider,com.elmakers.mine.bukkit.api.protection.BlockBreakManager,com.elmakers.mine.bukkit.api.protection.BlockBuildManager,com.elmakers.mine.bukkit.api.protection.EntityTargetingManager,com.elmakers.mine.bukkit.api.protection.PVPManager,org.bukkit.event.Listener
public class Magic
extends Object
implements com.elmakers.mine.bukkit.api.protection.BlockBuildManager, com.elmakers.mine.bukkit.api.protection.BlockBreakManager, com.elmakers.mine.bukkit.api.protection.PVPManager, com.elmakers.mine.bukkit.api.entity.TeamProvider, com.elmakers.mine.bukkit.api.protection.EntityTargetingManager, org.bukkit.event.Listener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanTarget(org.bukkit.entity.Entity source, org.bukkit.entity.Entity target) booleanhasBreakPermission(org.bukkit.entity.Player player, org.bukkit.block.Block block) booleanhasBuildPermission(org.bukkit.entity.Player player, org.bukkit.block.Block block) static booleaninit(org.bukkit.plugin.Plugin plugin) booleanisFriendly(org.bukkit.entity.Entity attacker, org.bukkit.entity.Entity entity) booleanisPVPAllowed(org.bukkit.entity.Player player, org.bukkit.Location location)
-
Constructor Details
-
Magic
public Magic()
-
-
Method Details
-
init
public static boolean init(org.bukkit.plugin.Plugin plugin) -
hasBuildPermission
public boolean hasBuildPermission(org.bukkit.entity.Player player, org.bukkit.block.Block block) - Specified by:
hasBuildPermissionin interfacecom.elmakers.mine.bukkit.api.protection.BlockBuildManager
-
hasBreakPermission
public boolean hasBreakPermission(org.bukkit.entity.Player player, org.bukkit.block.Block block) - Specified by:
hasBreakPermissionin interfacecom.elmakers.mine.bukkit.api.protection.BlockBreakManager
-
isPVPAllowed
public boolean isPVPAllowed(org.bukkit.entity.Player player, org.bukkit.Location location) - Specified by:
isPVPAllowedin interfacecom.elmakers.mine.bukkit.api.protection.PVPManager
-
isFriendly
public boolean isFriendly(org.bukkit.entity.Entity attacker, org.bukkit.entity.Entity entity) - Specified by:
isFriendlyin interfacecom.elmakers.mine.bukkit.api.entity.TeamProvider
-
canTarget
public boolean canTarget(org.bukkit.entity.Entity source, org.bukkit.entity.Entity target) - Specified by:
canTargetin interfacecom.elmakers.mine.bukkit.api.protection.EntityTargetingManager
-