Class Heightmap
java.lang.Object
net.minecraft.world.level.levelgen.Heightmap
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ChunkAccess
private final BitStorage
private final Predicate
<BlockState> private static final org.slf4j.Logger
(package private) static final Predicate
<BlockState> (package private) static final Predicate
<BlockState> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate int
getFirstAvailable
(int p_64241_) int
getFirstAvailable
(int p_64243_, int p_64244_) int
getHighestTaken
(int p_158369_, int p_158370_) private static int
getIndex
(int p_64266_, int p_64267_) long[]
static void
primeHeightmaps
(ChunkAccess p_64257_, Set<Heightmap.Types> p_64258_) private void
setHeight
(int p_64246_, int p_64247_, int p_64248_) void
setRawData
(ChunkAccess p_158365_, Heightmap.Types p_158366_, long[] p_158367_) boolean
update
(int p_64250_, int p_64251_, int p_64252_, BlockState p_64253_)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
NOT_AIR
-
MATERIAL_MOTION_BLOCKING
-
data
-
isOpaque
-
chunk
-
-
Constructor Details
-
Heightmap
-
-
Method Details
-
primeHeightmaps
-
update
-
getFirstAvailable
public int getFirstAvailable(int p_64243_, int p_64244_) -
getHighestTaken
public int getHighestTaken(int p_158369_, int p_158370_) -
getFirstAvailable
private int getFirstAvailable(int p_64241_) -
setHeight
private void setHeight(int p_64246_, int p_64247_, int p_64248_) -
setRawData
-
getRawData
public long[] getRawData() -
getIndex
private static int getIndex(int p_64266_, int p_64267_)
-