Class InverseSingleBlockStateMask

All Implemented Interfaces:
Mask

public class InverseSingleBlockStateMask extends ABlockMask
  • Constructor Details

    • InverseSingleBlockStateMask

      public InverseSingleBlockStateMask(Extent extent, BlockState state)
  • Method Details

    • getBlockState

      public BlockState getBlockState()
    • test

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

      public final boolean test(BlockState state)
      Specified by:
      test in class ABlockMask
    • inverse

      public Mask inverse()
    • copy

      public Mask copy()
      Description copied from interface: Mask
      Returns a copy of the mask. Usually for multi-threaded operation
      Returns:
      a clone of the mask