diff options
author | 12xx12 <44411062+12xx12@users.noreply.github.com> | 2020-10-29 21:47:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-29 21:47:20 +0100 |
commit | 961d5eb420182add0b6cb4d92f260b885563389c (patch) | |
tree | c63fb7b3905d2ae59c539cca44845984128c27bb /src/World.h | |
parent | Remove BLOCKENTITY_PROTODEF (diff) | |
download | cuberite-961d5eb420182add0b6cb4d92f260b885563389c.tar cuberite-961d5eb420182add0b6cb4d92f260b885563389c.tar.gz cuberite-961d5eb420182add0b6cb4d92f260b885563389c.tar.bz2 cuberite-961d5eb420182add0b6cb4d92f260b885563389c.tar.lz cuberite-961d5eb420182add0b6cb4d92f260b885563389c.tar.xz cuberite-961d5eb420182add0b6cb4d92f260b885563389c.tar.zst cuberite-961d5eb420182add0b6cb4d92f260b885563389c.zip |
Diffstat (limited to 'src/World.h')
-rw-r--r-- | src/World.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/World.h b/src/World.h index 2ff8fbe29..7460dc624 100644 --- a/src/World.h +++ b/src/World.h @@ -652,6 +652,10 @@ public: Returns the UniqueID of the created entity, or cEntity::INVALID_ID on failure. */ UInt32 SpawnPrimedTNT(Vector3d a_Pos, int a_FuseTimeInSec = 80, double a_InitialVelocityCoeff = 1, bool a_ShouldPlayFuseSound = true); + /** Spawns a new ender crystal at the specified block coords. + Returns the UniqueID of the created entity, or cEntity::INVALID_ID on failure. */ + UInt32 SpawnEnderCrystal(Vector3d a_Pos, bool a_ShowBottom = false); + // tolua_end /** Replaces the specified block with another, and calls the OnPlaced block handler. |