Class CushionWatcher

java.lang.Object
me.libraryaddict.disguise.disguisetypes.FlagWatcher
me.libraryaddict.disguise.disguisetypes.watchers.CushionWatcher
All Implemented Interfaces:
GridLockedWatcher

public class CushionWatcher extends FlagWatcher implements GridLockedWatcher
  • Constructor Details

    • CushionWatcher

      public CushionWatcher(Disguise disguise)
  • Method Details

    • getColor

      public org.bukkit.DyeColor getColor()
    • setColor

      public void setColor(org.bukkit.DyeColor newColor)
    • setGridLocked

      public void setGridLocked(boolean gridLocked)
      Description copied from interface: GridLockedWatcher
      Make the plugin start centering this block
      Specified by:
      setGridLocked in interface GridLockedWatcher
      Parameters:
      gridLocked -
    • getWidthX

      public double getWidthX()
      Description copied from interface: GridLockedWatcher
      Get the width of the block / 2
      Specified by:
      getWidthX in interface GridLockedWatcher
    • getWidthZ

      public double getWidthZ()
      Description copied from interface: GridLockedWatcher
      Get the length of the block / 2
      Specified by:
      getWidthZ in interface GridLockedWatcher