blob: e9bede1c2933ff93a654b9513c39f203e67fa3eb [file] [log] [blame] [raw]
/** Copyright (c) 2011-2015, SpaceToad and the BuildCraft Team http://www.mod-buildcraft.com
*
* The BuildCraft API is distributed under the terms of the MIT License. Please check the contents of the license, which
* should be located as "LICENSE.API" in the BuildCraft source code distribution. */
package buildcraft.api.events;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraftforge.fml.common.eventhandler.Cancelable;
import net.minecraftforge.fml.common.eventhandler.Event;
@Cancelable
public class BlockInteractionEvent extends Event {
public final EntityPlayer player;
public final IBlockState state;
public BlockInteractionEvent(EntityPlayer player, IBlockState state) {
this.player = player;
this.state = state;
}
}