Class ABlockMask

All Implemented Interfaces:
Mask
Direct Known Subclasses:
BlockMask, InverseSingleBlockStateMask, InverseSingleBlockTypeMask, SingleBlockStateMask, SingleBlockTypeMask

public abstract class ABlockMask extends AbstractExtentMask
  • Constructor Details

    • ABlockMask

      public ABlockMask(Extent extent)
  • Method Details

    • test

      public boolean test(Extent extent, BlockVector3 vector)
      Specified by:
      test in class AbstractExtentMask
    • test

      public boolean test(BlockVector3 vector)
      Description copied from interface: Mask
      Returns true if the criteria is met.
      Parameters:
      vector - the vector to test
      Returns:
      true if the criteria is met
    • test

      public abstract boolean test(BlockState state)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • tryCombine

      public Mask tryCombine(Mask mask)
    • tryOr

      public Mask tryOr(Mask mask)