You are viewing an older version of the site. Click here to view
the latest version of this page. (This may be a dead link, if so, try the root page of the docs
here.)
== explosion ==
[[../objects/ms.lang.CastException|ms.lang.CastException]]
[[../objects/ms.lang.LengthException|ms.lang.LengthException]]
[[../objects/com.commandhelper.InvalidWorldException|com.commandhelper.InvalidWorldException]] |- ! scope="row" | Since | 3.3.1 |- ! scope="row" | Restricted |
Creates an explosion with a given size at a given location. Size defaults to size of a creeper (3), and null uses the default. If safe is true, (defaults to false) the explosion won't hurt the surrounding blocks. If size is 0, and safe is true, you will still see the animation and hear the sound, but players won't be hurt, and neither will the blocks.
=== Vital Info ===
{| style="width: 40%;" cellspacing="1" cellpadding="1" border="1" class="wikitable"
|-
! scope="col" width="20%" |
! scope="col" width="80%" |
|-
! scope="row" | Name
| explosion
|-
! scope="row" | Returns
| void
|-
! scope="row" | Usages
| locationArray, [size], [safe]
|-
! scope="row" | Throws
| [[../objects/ms.lang.FormatException|ms.lang.FormatException]][[../objects/ms.lang.CastException|ms.lang.CastException]]
[[../objects/ms.lang.LengthException|ms.lang.LengthException]]
[[../objects/com.commandhelper.InvalidWorldException|com.commandhelper.InvalidWorldException]] |- ! scope="row" | Since | 3.3.1 |- ! scope="row" | Restricted |
Yes
|-
! scope="row" | Optimizations
| None
|}
=== Usages ===
explosion(locationArray, [size], [safe])=== Examples === Sorry, there are no examples for this function! :(
Find a bug in this page? Edit this page yourself, then submit a pull request. (Note this page is automatically generated from the documentation in the source code.)