Interface ChunkRegionUtil

All Known Implementing Classes:
ChunkRegionMixin

public interface ChunkRegionUtil
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.chunk.Chunk
    ewc_main$getNullableChunk(int chunkX, int chunkZ, net.minecraft.world.chunk.ChunkStatus leastStatus, boolean create)
    Method to get a chunk.
  • Method Details

    • ewc_main$getNullableChunk

      net.minecraft.world.chunk.Chunk ewc_main$getNullableChunk(int chunkX, int chunkZ, net.minecraft.world.chunk.ChunkStatus leastStatus, boolean create)
      Method to get a chunk. If the chunk doesn't exists yet, it will return null instead of crashing the game
      Parameters:
      chunkX - the x coordinate of the chunk
      chunkZ - the z coordinate of the chunk
      leastStatus - the status wanted