Interface BlockExaminer
- All Known Subinterfaces:
BlockExaminer.NeighbourGeneratorBlockExaminer
- All Known Implementing Classes:
BoundingBoxExaminer,DoorExaminer,FallingExaminer,FlyingBlockExaminer,MinecraftBlockExaminer,SwimmingExaminer
public interface BlockExaminer
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic enumstatic enum -
Method Summary
Modifier and TypeMethodDescriptiondefault BlockExaminer.StandableStatecanStandAt(BlockSource source, PathPoint point) Determines if the entity can stand at this position (checks block below for support).floatgetCost(BlockSource source, PathPoint point) isPassable(BlockSource source, PathPoint point) Determines if the entity can pass through the block at this position.
-
Method Details
-
canStandAt
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
-
isPassable
Determines if the entity can pass through the block at this position. First PASSABLE result wins during evaluation.
-