mmb.content.event.BlockEntityDemolitionEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of multimachinebuilder Show documentation
Show all versions of multimachinebuilder Show documentation
Dependency for the MultiMachineBuilder, a voxel game about building an industrial empire in a finite world.
THIS RELEASE IS NOT PLAYABLE. To play the game, donwload from >ITCH.IO LINK HERE< or >GH releases link here<
/**
*
*/
package mmb.content.event;
import mmb.engine.block.BlockEntity;
import mmb.engine.worlds.world.World;
/**
* @author oskar
*
*/
public final class BlockEntityDemolitionEvent{
/** The X coordinate of the block entity */
public final int x;
/** The Y coordinate of the block entity */
public final int y;
/** The block entity, which was demolished */
public final BlockEntity block;
/** The world, to which the block entity belonged */
public final World world;
/**
* Constructs a block entity demolition event
* @param x X coordinate of the block entity
* @param y Y coordinate of the block entity
* @param block the block entity
* @param world world
*/
public BlockEntityDemolitionEvent(int x, int y, BlockEntity block, World world){
super();
this.x = x;
this.y = y;
this.block = block;
this.world = world;
}
}