Interface SnapshotManager
public interface SnapshotManager
The SnapshotManager interface defines methods for retrieving block data snapshots at specific
positions within a Minecraft world.
-
Method Summary
Modifier and TypeMethodDescriptiongetBlock
(PathPosition position) Gets the block at the given positiongetHighestBlockAt
(PathPosition position) Gets the highest block at the given position
-
Method Details
-
getBlock
Gets the block at the given position- Parameters:
position
- the position to get as block-form- Returns:
PathBlock
the block.- API Note:
- If the pathfinder is not permitted to load chunks, this method will return null if the chunk is not loaded.
-
getHighestBlockAt
Gets the highest block at the given position- Parameters:
position
- the position to get as block-form- Returns:
PathBlock
the block.- API Note:
- If the pathfinder is not permitted to load chunks, this method will return null if the chunk is not loaded.
-