public final class ExplosionPrimeEvent extends EntityEvent implements Cancellable
Called when a entity decides to explode
| Modifier and Type | Field and Description |
|---|---|
protected double |
force |
entity| Constructor and Description |
|---|
ExplosionPrimeEvent(Entity entity,
double force) |
| Modifier and Type | Method and Description |
|---|---|
double |
getForce() |
boolean |
isBlockBreaking() |
void |
setBlockBreaking(boolean affectsBlocks) |
void |
setForce(double force) |
getEntityisCancelled, setCancelled, setCancelledclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisCancelled, setCancelled, setCancelledpublic ExplosionPrimeEvent(Entity entity, double force)
Copyright © 2021. All rights reserved.