diff options
author | peterbell10 <peterbell10@live.co.uk> | 2018-07-27 01:12:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-27 01:12:41 +0200 |
commit | cdd8e425872b94878babf7823cd12381d2db1a5c (patch) | |
tree | fea666b4d4c4e10da6a957a0e403c747dbd74ef9 /Server/Plugins/APIDump/Classes/World.lua | |
parent | CheckBasicStyle: Check number of empty lines between functions (#4267) (diff) | |
download | cuberite-cdd8e425872b94878babf7823cd12381d2db1a5c.tar cuberite-cdd8e425872b94878babf7823cd12381d2db1a5c.tar.gz cuberite-cdd8e425872b94878babf7823cd12381d2db1a5c.tar.bz2 cuberite-cdd8e425872b94878babf7823cd12381d2db1a5c.tar.lz cuberite-cdd8e425872b94878babf7823cd12381d2db1a5c.tar.xz cuberite-cdd8e425872b94878babf7823cd12381d2db1a5c.tar.zst cuberite-cdd8e425872b94878babf7823cd12381d2db1a5c.zip |
Diffstat (limited to 'Server/Plugins/APIDump/Classes/World.lua')
-rw-r--r-- | Server/Plugins/APIDump/Classes/World.lua | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/Server/Plugins/APIDump/Classes/World.lua b/Server/Plugins/APIDump/Classes/World.lua index 8f1b29012..bb991d9e6 100644 --- a/Server/Plugins/APIDump/Classes/World.lua +++ b/Server/Plugins/APIDump/Classes/World.lua @@ -293,6 +293,38 @@ return IsOptional = true, }, }, + Notes = "Spawns the specified particles to all players in the world exept the optional ExeptClient. A list of available particles by thinkofdeath can be found {{https://gist.github.com/thinkofdeath/5110835|Here}}. <b>OBSOLETE</b>, use the vector-based overload instead", + }, + BroadcastParticleEffect = + { + Params = + { + { + Name = "ParticleName", + Type = "string", + }, + { + Name = "SourcePos", + Type = "Vector3f" + }, + { + Name = "Offset", + Type = "Vector3f", + }, + { + Name = "ParticleData", + Type = "number", + }, + { + Name = "ParticleAmount", + Type = "number", + }, + { + Name = "ExcludeClient", + Type = "cClientHandle", + IsOptional = true, + }, + }, Notes = "Spawns the specified particles to all players in the world exept the optional ExeptClient. A list of available particles by thinkofdeath can be found {{https://gist.github.com/thinkofdeath/5110835|Here}}", }, BroadcastSoundEffect = @@ -389,6 +421,30 @@ return IsOptional = true, }, }, + Notes = "Sends the specified effect to all players in this world, except the optional ExceptClient. <b>OBSOLETE</b>, use the vector overload instead", + }, + BroadcastSoundParticleEffect = + { + Params = + { + { + Name = "EffectID", + Type = "number", + }, + { + Name = "SourcePos", + Type = "Vector3i" + }, + { + Name = "EffectData", + Type = "string", + }, + { + Name = "ExcludeClient", + Type = "cClientHandle", + IsOptional = true, + }, + }, Notes = "Sends the specified effect to all players in this world, except the optional ExceptClient", }, CastThunderbolt = |