Class ChunkUtil

java.lang.Object
net.rodofire.easierworldcreator.util.ChunkUtil

public class ChunkUtil extends Object
util class related to chunks
  • Constructor Details

    • ChunkUtil

      public ChunkUtil()
  • Method Details

    • isFeaturesGenerated

      public static boolean isFeaturesGenerated(net.minecraft.world.WorldView world, net.minecraft.util.math.ChunkPos chunkPos)
      method to know if the features of a chunk were generated
      Parameters:
      world - the world where the
      chunkPos - the chunk that will be tested
      Returns:

      - true if the features of the chunk were generated.

      - false if not

    • areNearbyFeaturesUnGenerated

      public static boolean areNearbyFeaturesUnGenerated(net.minecraft.world.WorldView world, net.minecraft.util.math.ChunkPos chunkPos)