Class SwimmingExaminer
java.lang.Object
net.citizensnpcs.api.astar.pathfinder.SwimmingExaminer
- All Implemented Interfaces:
BlockExaminer
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.citizensnpcs.api.astar.pathfinder.BlockExaminer
BlockExaminer.PassableState
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
float
getCost
(BlockSource source, PathPoint point) isPassable
(BlockSource source, PathPoint point) static boolean
isWaterMob
(Entity entity) void
setCanSwimInLava
(boolean canSwimInLava)
-
Constructor Details
-
SwimmingExaminer
-
-
Method Details
-
canSwimInLava
public boolean canSwimInLava() -
getCost
- Specified by:
getCost
in interfaceBlockExaminer
-
isPassable
- Specified by:
isPassable
in interfaceBlockExaminer
-
setCanSwimInLava
public void setCanSwimInLava(boolean canSwimInLava) -
isWaterMob
-