Package dev.kitteh.factions.integration
Class YardWatch
java.lang.Object
dev.kitteh.factions.integration.YardWatch
- All Implemented Interfaces:
me.youhavetrouble.yardwatch.Protection
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanBreakBlock(org.bukkit.entity.Player player, org.bukkit.block.BlockState blockState) booleancanDamage(org.bukkit.entity.Entity damager, org.bukkit.entity.Entity target) booleancanInteract(org.bukkit.entity.Player player, org.bukkit.block.BlockState blockState) booleancanInteract(org.bukkit.entity.Player player, org.bukkit.entity.Entity target) booleancanPlaceBlock(org.bukkit.entity.Player player, org.bukkit.Location location) booleanbooleanisProtected(org.bukkit.Location location)
-
Constructor Details
-
YardWatch
public YardWatch()
-
-
Method Details
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfaceme.youhavetrouble.yardwatch.Protection
-
isProtected
public boolean isProtected(org.bukkit.Location location) - Specified by:
isProtectedin interfaceme.youhavetrouble.yardwatch.Protection
-
canBreakBlock
public boolean canBreakBlock(org.bukkit.entity.Player player, org.bukkit.block.BlockState blockState) - Specified by:
canBreakBlockin interfaceme.youhavetrouble.yardwatch.Protection
-
canPlaceBlock
public boolean canPlaceBlock(org.bukkit.entity.Player player, org.bukkit.Location location) - Specified by:
canPlaceBlockin interfaceme.youhavetrouble.yardwatch.Protection
-
canInteract
public boolean canInteract(org.bukkit.entity.Player player, org.bukkit.block.BlockState blockState) - Specified by:
canInteractin interfaceme.youhavetrouble.yardwatch.Protection
-
canInteract
public boolean canInteract(org.bukkit.entity.Player player, org.bukkit.entity.Entity target) - Specified by:
canInteractin interfaceme.youhavetrouble.yardwatch.Protection
-
canDamage
public boolean canDamage(org.bukkit.entity.Entity damager, org.bukkit.entity.Entity target) - Specified by:
canDamagein interfaceme.youhavetrouble.yardwatch.Protection
-