Class PolarWorld

java.lang.Object
net.hollowcube.polar.PolarWorld

public class PolarWorld extends Object
A Java type representing the latest version of the world format.
  • Field Details

  • Constructor Details

    • PolarWorld

      public PolarWorld()
    • PolarWorld

      public PolarWorld(@NotNull @NotNull net.minestom.server.world.DimensionType dimensionType)
    • PolarWorld

      public PolarWorld(short version, int dataVersion, @NotNull @NotNull PolarWorld.CompressionType compression, byte minSection, byte maxSection, byte @NotNull [] userData, @NotNull @NotNull List<PolarChunk> chunks)
  • Method Details

    • version

      public short version()
    • dataVersion

      public int dataVersion()
    • compression

      @NotNull public @NotNull PolarWorld.CompressionType compression()
    • setCompression

      public void setCompression(@NotNull @NotNull PolarWorld.CompressionType compression)
    • minSection

      public byte minSection()
    • maxSection

      public byte maxSection()
    • setSectionCount

      public void setSectionCount(byte minSection, byte maxSection)
    • userData

      public byte @NotNull [] userData()
    • userData

      public void userData(byte @NotNull [] userData)
    • chunkAt

      @Nullable public @Nullable PolarChunk chunkAt(int x, int z)
    • updateChunkAt

      public void updateChunkAt(int x, int z, @NotNull @NotNull PolarChunk chunk)
    • chunks

      @NotNull public @NotNull Collection<PolarChunk> chunks()