Interface BlockOperations.TestBlockFunction

Enclosing class:
BlockOperations
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface BlockOperations.TestBlockFunction
Decides whether a placement test should still pass for a cell that is already occupied by the given block. Returning true allows placing over it.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    test(int x, int y, int z, BlockType blockType, int rotation, int filler)
     
  • Method Details

    • test

      boolean test(int x, int y, int z, BlockType blockType, int rotation, int filler)