Package fr.rodofire.ewc.util
Class ChunkUtil
java.lang.Object
fr.rodofire.ewc.util.ChunkUtil
util class related to chunks
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanareNearbyFeaturesUnGenerated(net.minecraft.world.level.LevelReader world, net.minecraft.world.level.ChunkPos chunkPos) static booleanisFeaturesGenerated(net.minecraft.world.level.LevelReader world, net.minecraft.world.level.ChunkPos chunkPos) method to know if the features of a chunk were generated
-
Constructor Details
-
ChunkUtil
public ChunkUtil()
-
-
Method Details
-
isFeaturesGenerated
public static boolean isFeaturesGenerated(net.minecraft.world.level.LevelReader world, net.minecraft.world.level.ChunkPos chunkPos) method to know if the features of a chunk were generated- Parameters:
world- the world where thechunkPos- 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.level.LevelReader world, net.minecraft.world.level.ChunkPos chunkPos)
-