format all the things!

This commit is contained in:
jaredlll08 committed 2015-08-31 19:15:35 +02:00
1 parent 54ec75fd3d
commit b36c6dade6
377 files changed
+6833 -6772

No files matched your search

@@ -27,68 +27,68 @@ public class PlayerBonemealEvent {
private final int z;
private boolean canceled;
private boolean processed;
public PlayerBonemealEvent(IPlayer player, IBlockGroup blocks, int x, int y, int z) {
this.player = player;
this.blocks = blocks;
this.x = x;
this.y = y;
this.z = z;
canceled = false;
processed = false;
}
@ZenMethod
public void cancel() {
canceled = true;
}
@ZenMethod
public void process() {
processed = true;
}
@ZenGetter("canceled")
public boolean isCanceled() {
return canceled;
}
@ZenGetter("processed")
public boolean isProcessed() {
return processed;
}
@ZenGetter("player")
public IPlayer getPlayer() {
return player;
}
@ZenGetter("blocks")
public IBlockGroup getBlocks() {
return blocks;
}
@ZenGetter("x")
public int getX() {
return x;
}
@ZenGetter("y")
public int getY() {
return y;
}
@ZenGetter("z")
public int getZ() {
return z;
}
@ZenGetter("block")
public IBlock getBlock() {
return blocks.getBlock(x, y, z);
}
@ZenGetter("dimension")
public IDimension getDimension() {
return blocks.getDimension();