Class LoadChunkShapeInfo
java.lang.Object
net.rodofire.easierworldcreator.util.file.LoadChunkShapeInfo
class to load JSON files related to multi-chunk features
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetWorldGenFiles(net.minecraft.world.StructureWorldAccess worldAccess, net.minecraft.util.math.BlockPos pos) method to verify if there's a JSON files in the chunk foldergetWorldGenFiles(net.minecraft.world.StructureWorldAccess worldAccess, net.minecraft.util.math.ChunkPos chunk) method to verify if there's a JSON files in the chunk folder
-
Constructor Details
-
LoadChunkShapeInfo
public LoadChunkShapeInfo()
-
-
Method Details
-
getWorldGenFiles
public static List<Path> getWorldGenFiles(net.minecraft.world.StructureWorldAccess worldAccess, net.minecraft.util.math.BlockPos pos) method to verify if there's a JSON files in the chunk folder- Parameters:
pos- theBlockPosthat will be converted into aChunkPos- Returns:
- the list of the structure path to be placed later
-
getWorldGenFiles
public static List<Path> getWorldGenFiles(net.minecraft.world.StructureWorldAccess worldAccess, 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
-