Class YardWatch

java.lang.Object
dev.kitteh.factions.integration.YardWatch
All Implemented Interfaces:
me.youhavetrouble.yardwatch.Protection

public class YardWatch extends Object implements me.youhavetrouble.yardwatch.Protection
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canBreakBlock(org.bukkit.entity.Player player, org.bukkit.block.BlockState blockState)
     
    boolean
    canDamage(org.bukkit.entity.Entity damager, org.bukkit.entity.Entity target)
     
    boolean
    canInteract(org.bukkit.entity.Player player, org.bukkit.block.BlockState blockState)
     
    boolean
    canInteract(org.bukkit.entity.Player player, org.bukkit.entity.Entity target)
     
    boolean
    canPlaceBlock(org.bukkit.entity.Player player, org.bukkit.Location location)
     
    boolean
     
    boolean
    isProtected(org.bukkit.Location location)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • YardWatch

      public YardWatch()
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Specified by:
      isEnabled in interface me.youhavetrouble.yardwatch.Protection
    • isProtected

      public boolean isProtected(org.bukkit.Location location)
      Specified by:
      isProtected in interface me.youhavetrouble.yardwatch.Protection
    • canBreakBlock

      public boolean canBreakBlock(org.bukkit.entity.Player player, org.bukkit.block.BlockState blockState)
      Specified by:
      canBreakBlock in interface me.youhavetrouble.yardwatch.Protection
    • canPlaceBlock

      public boolean canPlaceBlock(org.bukkit.entity.Player player, org.bukkit.Location location)
      Specified by:
      canPlaceBlock in interface me.youhavetrouble.yardwatch.Protection
    • canInteract

      public boolean canInteract(org.bukkit.entity.Player player, org.bukkit.block.BlockState blockState)
      Specified by:
      canInteract in interface me.youhavetrouble.yardwatch.Protection
    • canInteract

      public boolean canInteract(org.bukkit.entity.Player player, org.bukkit.entity.Entity target)
      Specified by:
      canInteract in interface me.youhavetrouble.yardwatch.Protection
    • canDamage

      public boolean canDamage(org.bukkit.entity.Entity damager, org.bukkit.entity.Entity target)
      Specified by:
      canDamage in interface me.youhavetrouble.yardwatch.Protection