toggle menu
Staff Mod
0.13.0-beta
jvm
switch theme
search in API
Staff Mod
/
opekope2.avm_staff.api.entity
/
IImpactTnt
IImpact
Tnt
interface
IImpactTnt
(
source
)
A TNT, which can be configured to explode when collides (with blocks or other entities).
Members
Properties
EXPLODES_ON_IMPACT
Link copied to clipboard
val
EXPLODES_ON_IMPACT
:
TrackedData
<
Boolean
>
Data tracker for TNT's explodes on impact property.
EXPLODES_ON_IMPACT_NBT_KEY
Link copied to clipboard
val
EXPLODES_ON_IMPACT_NBT_KEY
:
String
=
"ExplodesOnImpact"
NBT Key for TNT's explodes on impact property.
Functions
explode
On
Impact
Link copied to clipboard
abstract
fun
explodeOnImpact
(
explode
:
Boolean
)
Configures the current TNT to explode or not, when it collides.
explodes
On
Impact
Link copied to clipboard
abstract
fun
explodesOnImpact
(
)
:
Boolean
Returns if the current TNT explodes, when it collides.