Class DoorExaminer
java.lang.Object
net.citizensnpcs.api.astar.pathfinder.DoorExaminer
- All Implemented Interfaces:
BlockExaminer
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.citizensnpcs.api.astar.pathfinder.BlockExaminer
BlockExaminer.NeighbourGeneratorBlockExaminer, BlockExaminer.PassableState, BlockExaminer.StandableState -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatgetCost(BlockSource source, PathPoint point) isPassable(BlockSource source, PathPoint point) Determines if the entity can pass through the block at this position.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.citizensnpcs.api.astar.pathfinder.BlockExaminer
canStandAt
-
Constructor Details
-
DoorExaminer
public DoorExaminer()
-
-
Method Details
-
getCost
- Specified by:
getCostin interfaceBlockExaminer
-
isPassable
Description copied from interface:BlockExaminerDetermines if the entity can pass through the block at this position. First PASSABLE result wins during evaluation.- Specified by:
isPassablein interfaceBlockExaminer
-