Class FallingBlockWatcher

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

public class FallingBlockWatcher extends FlagWatcher implements GridLockedWatcher
  • Constructor Details

    • FallingBlockWatcher

      public FallingBlockWatcher(Disguise disguise)
  • Method Details

    • clone

      public FallingBlockWatcher clone(Disguise disguise)
      Overrides:
      clone in class FlagWatcher
    • 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 -
    • getBlock

      @Deprecated public org.bukkit.inventory.ItemStack getBlock()
      Deprecated.
    • setBlock

      @Deprecated public void setBlock(org.bukkit.inventory.ItemStack block)
      Deprecated.
    • getBlockState

      public com.github.retrooper.packetevents.protocol.world.states.WrappedBlockState getBlockState()
    • setBlockState

      public void setBlockState(com.github.retrooper.packetevents.protocol.world.states.WrappedBlockState state)
    • getBlockData

      public org.bukkit.block.data.BlockData getBlockData()
    • setBlockData

      public void setBlockData(org.bukkit.block.data.BlockData data)
    • getBlockCombinedId

      public int getBlockCombinedId()
    • 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