fix style
This commit is contained in:
parent
cfb63644b4
commit
6b76b63ba7
3 changed files with 12 additions and 8 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue