Package net.minecraft.world.gen
Class Heightmap
java.lang.Object
net.minecraft.world.gen.Heightmap
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final IChunk
private final BitArray
private final Predicate<BlockState>
private static final Predicate<BlockState>
private static final Predicate<BlockState>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate int
getFirstAvailable
(int p_202274_1_) int
getFirstAvailable
(int p_202273_1_, int p_202273_2_) private static int
getIndex
(int p_202267_0_, int p_202267_1_) long[]
static void
primeHeightmaps
(IChunk p_222690_0_, Set<Heightmap.Type> p_222690_1_) private void
setHeight
(int p_202272_1_, int p_202272_2_, int p_202272_3_) void
setRawData
(long[] p_202268_1_) boolean
update
(int p_202270_1_, int p_202270_2_, int p_202270_3_, BlockState p_202270_4_)
-
Field Details
-
NOT_AIR
-
MATERIAL_MOTION_BLOCKING
-
data
-
isOpaque
-
chunk
-
-
Constructor Details
-
Heightmap
-
-
Method Details
-
primeHeightmaps
-
update
-
getFirstAvailable
public int getFirstAvailable(int p_202273_1_, int p_202273_2_) -
getFirstAvailable
private int getFirstAvailable(int p_202274_1_) -
setHeight
private void setHeight(int p_202272_1_, int p_202272_2_, int p_202272_3_) -
setRawData
public void setRawData(long[] p_202268_1_) -
getRawData
public long[] getRawData() -
getIndex
private static int getIndex(int p_202267_0_, int p_202267_1_)
-