Interface SnapshotManager


public interface SnapshotManager
The SnapshotManager interface defines methods for retrieving block data snapshots at specific positions within a Minecraft world.
  • Method Details

    • getBlock

      PathBlock getBlock(PathPosition position)
      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

      PathBlock getHighestBlockAt(PathPosition position)
      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.