fix style

This commit is contained in:
AEnterprise 2014-09-10 14:56:17 +02:00
parent cfb63644b4
commit 6b76b63ba7
3 changed files with 12 additions and 8 deletions

View file

@ -1,16 +1,17 @@
package buildcraft.api.events;
import net.minecraft.block.Block;
import net.minecraft.entity.player.EntityPlayer;
import cpw.mods.fml.common.eventhandler.Cancelable;
import cpw.mods.fml.common.eventhandler.Event;
import net.minecraft.block.Block;
import net.minecraft.entity.player.EntityPlayer;
@Cancelable
public class BlockInteractionEvent extends Event {
public EntityPlayer player;
public Block block;
public BlockInteractionEvent(EntityPlayer player, Block block){
public BlockInteractionEvent(EntityPlayer player, Block block) {
this.player = player;
this.block = block;
}

View file

@ -1,16 +1,18 @@
package buildcraft.api.events;
import net.minecraft.block.Block;
import net.minecraft.entity.player.EntityPlayer;
import cpw.mods.fml.common.eventhandler.Cancelable;
import cpw.mods.fml.common.eventhandler.Event;
import net.minecraft.block.Block;
import net.minecraft.entity.player.EntityPlayer;
@Cancelable
public class BlockPlacedDownEvent extends Event {
public EntityPlayer player;
public Block block;
public BlockPlacedDownEvent(EntityPlayer player, Block block){
public BlockPlacedDownEvent(EntityPlayer player, Block block) {
this.player = player;
this.block = block;
}

View file

@ -1,13 +1,14 @@
package buildcraft.api.events;
import cpw.mods.fml.common.eventhandler.Event;
import net.minecraft.entity.player.EntityPlayer;
import cpw.mods.fml.common.eventhandler.Event;
public class PipePlacedEvent extends Event {
public EntityPlayer player;
public String pipeType;
public PipePlacedEvent(EntityPlayer player, String pipeType){
public PipePlacedEvent(EntityPlayer player, String pipeType) {
this.player = player;
this.pipeType = pipeType;
}