All Downloads are FREE. Search and download functionalities are using the official Maven repository.

mmb.content.event.BlockEntityDemolitionEvent Maven / Gradle / Ivy

Go to download

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<

There is a newer version: 0.6
Show newest version
/**
 * 
 */
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;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy