Class LoadChunkShapeInfo

java.lang.Object
net.rodofire.easierworldcreator.util.file.LoadChunkShapeInfo

public class LoadChunkShapeInfo extends Object
class to load JSON files related to multi-chunk features
  • Constructor Details

    • LoadChunkShapeInfo

      public LoadChunkShapeInfo()
  • Method Details

    • getWorldGenFiles

      public static List<Path> getWorldGenFiles(net.minecraft.util.math.BlockPos pos)
      method to verify if there's a JSON files in the chunk folder
      Parameters:
      pos - the BlockPos that will be converted into a ChunkPos
      Returns:
      the list of the structure path to be placed later
    • getWorldGenFiles

      public static List<Path> getWorldGenFiles(net.minecraft.util.math.ChunkPos chunk)
      method to verify if there's a JSON files in the chunk folder
      Parameters:
      chunk - the chunk that needs to be verified
      Returns:
      the list of the structure path to be placed later