From 961d5eb420182add0b6cb4d92f260b885563389c Mon Sep 17 00:00:00 2001 From: 12xx12 <44411062+12xx12@users.noreply.github.com> Date: Thu, 29 Oct 2020 21:47:20 +0100 Subject: Add beam target, configurable base visibility to Ender Crystals (#5010) * Fixes #4990 Co-authored-by: 12xx12 <12xx12100@gmail.com> --- src/World.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/World.h') 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. -- cgit v1.2.3