Class SectionAccessor

java.lang.Object
com.hypixel.hytale.server.core.universe.world.accessor.SectionReader
com.hypixel.hytale.builtin.buildertools.world.SectionAccessor
All Implemented Interfaces:
RegionReader.StorageSource, BlockReader
Direct Known Subclasses:
BrushConfigSectionAccessor

public class SectionAccessor extends SectionReader implements RegionReader.StorageSource
A SectionReader a region walk can query, so an edit reads block properties at any Y. The data a column holds for its whole height, the tints and the heightmap, comes from ColumnAccessor.
  • Method Details

    • forWorld

      @Nonnull public static SectionAccessor forWorld(@Nonnull World world)
    • holdsStorage

      public static boolean holdsStorage(@Nonnull World world, int x, int y, int z)
      Whether the world already holds the storage covering a single block. Loads nothing, so a caller can ask before it decides to act.