public interface Explode extends EntityComponent
| Modifier and Type | Method and Description |
|---|---|
int |
getRadius()
Return the radius of this explosive's explosion
|
boolean |
isIncendiary()
Return whether or not this explosive creates a fire when exploding
|
boolean |
isPrimed() |
void |
setIsIncendiary(boolean isIncendiary)
Set whether or not this explosive's explosion causes fire
|
void |
setRadius(int radius)
Set the radius affected by this explosive's explosion
|
boolean isPrimed()
@Nonnegative int getRadius()
void setRadius(@Nonnegative int radius)
radius - The explosive radiusvoid setIsIncendiary(boolean isIncendiary)
isIncendiary - Whether it should cause fireboolean isIncendiary()
Copyright © 2017–2019 NukkitX. All rights reserved.