Package fr.rodofire.ewc.util.file
Class LoadChunkShapeInfo
java.lang.Object
fr.rodofire.ewc.util.file.LoadChunkShapeInfo
class to load JSON files related to multi-chunk features
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetWorldGenFiles(net.minecraft.world.level.WorldGenLevel worldAccess, net.minecraft.core.BlockPos pos) method to verify if there's a JSON files in the chunk foldergetWorldGenFiles(net.minecraft.world.level.WorldGenLevel worldAccess, net.minecraft.world.level.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.level.WorldGenLevel worldAccess, net.minecraft.core.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.level.WorldGenLevel worldAccess, net.minecraft.world.level.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
-