Interface PathPoint.PathCallback
- Enclosing interface:
PathPoint
public static interface PathPoint.PathCallback
-
Method Summary
-
Method Details
-
onReached
Run once the specificed point is reached.- Parameters:
npc
- The NPCpoint
- The point that was reached
-
run
Run every tick when moving towards a specific block.- Parameters:
npc
- The NPCpoint
- The pointpath
- The future path destinations as blocksindex
- The current path index
-