Generic cleanup of warnings, whitespace and style.
This commit is contained in:
@@ -10,6 +10,7 @@ import java.util.List;
|
||||
/**
|
||||
* Called when an entity explodes
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class EntityExplodeEvent extends EntityEvent implements Cancellable {
|
||||
private boolean cancel;
|
||||
private Location location;
|
||||
@@ -40,6 +41,7 @@ public class EntityExplodeEvent extends EntityEvent implements Cancellable {
|
||||
/**
|
||||
* Returns the list of blocks that would have been removed or were
|
||||
* removed from the explosion event.
|
||||
*
|
||||
* @return All blown-up blocks
|
||||
*/
|
||||
public List<Block> blockList() {
|
||||
@@ -50,6 +52,7 @@ public class EntityExplodeEvent extends EntityEvent implements Cancellable {
|
||||
* Returns the location where the explosion happened.
|
||||
* It is not possible to get this value from the Entity as
|
||||
* the Entity no longer exists in the world.
|
||||
*
|
||||
* @return The location of the explosion
|
||||
*/
|
||||
public Location getLocation() {
|
||||
@@ -67,6 +70,7 @@ public class EntityExplodeEvent extends EntityEvent implements Cancellable {
|
||||
|
||||
/**
|
||||
* Sets the percentage of blocks to drop from this explosion
|
||||
*
|
||||
* @param yield The new yield percentage
|
||||
*/
|
||||
public void setYield(float yield) {
|
||||
|
||||
Reference in New Issue
Block a user