Interface BlockExaminer

All Known Subinterfaces:
BlockExaminer.NeighbourGeneratorBlockExaminer
All Known Implementing Classes:
BoundingBoxExaminer, DoorExaminer, FallingExaminer, FlyingBlockExaminer, MinecraftBlockExaminer, SwimmingExaminer

public interface BlockExaminer
  • Method Details

    • canStandAt

      default BlockExaminer.StandableState canStandAt(BlockSource source, PathPoint point)
      Determines if the entity can stand at this position (checks block below for support). First STANDABLE result wins during evaluation.
      Returns:
      STANDABLE if position has valid support, NOT_STANDABLE if not, IGNORE to defer
    • getCost

      float getCost(BlockSource source, PathPoint point)
    • isPassable

      Determines if the entity can pass through the block at this position. First PASSABLE result wins during evaluation.