Interface RegionReader.StorageSource

All Known Implementing Classes:
BrushConfigSectionAccessor, SectionAccessor
Enclosing class:
RegionReader
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface RegionReader.StorageSource
Where the walk asks whether a position can be read, so a test can stand in for SectionAccessor.
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    canHoldY(int y)
    Whether the world can hold a block at this Y at all.
    boolean
    hasStorageInMemory(int x, int y, int z)
     
  • Method Details

    • hasStorageInMemory

      boolean hasStorageInMemory(int x, int y, int z)
    • canHoldY

      default boolean canHoldY(int y)
      Whether the world can hold a block at this Y at all. A Y it can never hold reads as air, so it is neither visited nor counted as a loss.