summaryrefslogtreecommitdiffstats
path: root/src/ChunkData.h
diff options
context:
space:
mode:
authorpeterbell10 <peterbell10@live.co.uk>2017-08-21 00:23:23 +0200
committerLukas Pioch <lukas@zgow.de>2017-08-26 20:56:44 +0200
commit447d929da18b656227c77d9c00958bcf52afeeb2 (patch)
tree9614d84d6164f79be0061495a684d76b583f1f13 /src/ChunkData.h
parentLeashes work in 1.12.1 (diff)
downloadcuberite-447d929da18b656227c77d9c00958bcf52afeeb2.tar
cuberite-447d929da18b656227c77d9c00958bcf52afeeb2.tar.gz
cuberite-447d929da18b656227c77d9c00958bcf52afeeb2.tar.bz2
cuberite-447d929da18b656227c77d9c00958bcf52afeeb2.tar.lz
cuberite-447d929da18b656227c77d9c00958bcf52afeeb2.tar.xz
cuberite-447d929da18b656227c77d9c00958bcf52afeeb2.tar.zst
cuberite-447d929da18b656227c77d9c00958bcf52afeeb2.zip
Diffstat (limited to 'src/ChunkData.h')
-rw-r--r--src/ChunkData.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ChunkData.h b/src/ChunkData.h
index 49a03fb4a..6bc2b5366 100644
--- a/src/ChunkData.h
+++ b/src/ChunkData.h
@@ -80,6 +80,18 @@ public:
/** Copies the skylight data into the specified flat array. */
void CopySkyLight (NIBBLETYPE * a_Dest) const;
+ /** Fills the chunk with the specified block. */
+ void FillBlockTypes(BLOCKTYPE a_Value);
+
+ /** Fills the chunk with the specified meta value. */
+ void FillMetas (NIBBLETYPE a_Value);
+
+ /** Fills the chunk with the specified block light. */
+ void FillBlockLight(NIBBLETYPE a_Value);
+
+ /** Fills the chunk with the specified sky light. */
+ void FillSkyLight (NIBBLETYPE a_Value);
+
/** Copies the blocktype data from the specified flat array into the internal representation.
Allocates sections that are needed for the operation.
Requires that a_Src is a valid pointer. */