Interface GridLockedWatcher

All Known Implementing Classes:
BlockDisplayWatcher, FallingBlockWatcher

public interface GridLockedWatcher
  • Method Summary

    Modifier and Type
    Method
    Description
    static double
    center(double origin, double width)
     
    double
    Get the width of the block / 2
    double
    Get the length of the block / 2
    boolean
    If the plugin should try to center this block
    void
    setGridLocked(boolean gridLocked)
    Make the plugin start centering this block
  • Method Details

    • getWidthX

      double getWidthX()
      Get the width of the block / 2
    • getWidthZ

      double getWidthZ()
      Get the length of the block / 2
    • isGridLocked

      boolean isGridLocked()
      If the plugin should try to center this block
    • setGridLocked

      void setGridLocked(boolean gridLocked)
      Make the plugin start centering this block
      Parameters:
      gridLocked -
    • center

      static double center(double origin, double width)