Package net.minecraft.world.level.chunk
Class CarvingMask
java.lang.Object
net.minecraft.world.level.chunk.CarvingMask
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
get
(int pX, int pY, int pZ) private int
getIndex
(int pX, int pY, int pZ) void
set
(int pX, int pY, int pZ) void
setAdditionalMask
(CarvingMask.Mask pAdditionalMask) long[]
toArray()
-
Field Details
-
minY
private final int minY -
mask
-
additionalMask
-
-
Constructor Details
-
CarvingMask
public CarvingMask(int pMask, int pMinY) -
CarvingMask
public CarvingMask(long[] pMask, int pMinY)
-
-
Method Details
-
setAdditionalMask
-
getIndex
private int getIndex(int pX, int pY, int pZ) -
set
public void set(int pX, int pY, int pZ) -
get
public boolean get(int pX, int pY, int pZ) -
stream
-
toArray
public long[] toArray()
-