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;
|
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.Cancelable;
|
||||||
import cpw.mods.fml.common.eventhandler.Event;
|
import cpw.mods.fml.common.eventhandler.Event;
|
||||||
import net.minecraft.block.Block;
|
|
||||||
import net.minecraft.entity.player.EntityPlayer;
|
|
||||||
|
|
||||||
@Cancelable
|
@Cancelable
|
||||||
public class BlockInteractionEvent extends Event {
|
public class BlockInteractionEvent extends Event {
|
||||||
public EntityPlayer player;
|
public EntityPlayer player;
|
||||||
public Block block;
|
public Block block;
|
||||||
|
|
||||||
public BlockInteractionEvent(EntityPlayer player, Block block){
|
public BlockInteractionEvent(EntityPlayer player, Block block) {
|
||||||
this.player = player;
|
this.player = player;
|
||||||
this.block = block;
|
this.block = block;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,16 +1,18 @@
|
||||||
package buildcraft.api.events;
|
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.Cancelable;
|
||||||
import cpw.mods.fml.common.eventhandler.Event;
|
import cpw.mods.fml.common.eventhandler.Event;
|
||||||
import net.minecraft.block.Block;
|
|
||||||
import net.minecraft.entity.player.EntityPlayer;
|
|
||||||
|
|
||||||
@Cancelable
|
@Cancelable
|
||||||
public class BlockPlacedDownEvent extends Event {
|
public class BlockPlacedDownEvent extends Event {
|
||||||
public EntityPlayer player;
|
public EntityPlayer player;
|
||||||
public Block block;
|
public Block block;
|
||||||
|
|
||||||
public BlockPlacedDownEvent(EntityPlayer player, Block block){
|
public BlockPlacedDownEvent(EntityPlayer player, Block block) {
|
||||||
this.player = player;
|
this.player = player;
|
||||||
this.block = block;
|
this.block = block;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,13 +1,14 @@
|
||||||
package buildcraft.api.events;
|
package buildcraft.api.events;
|
||||||
|
|
||||||
import cpw.mods.fml.common.eventhandler.Event;
|
|
||||||
import net.minecraft.entity.player.EntityPlayer;
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
|
|
||||||
|
import cpw.mods.fml.common.eventhandler.Event;
|
||||||
|
|
||||||
public class PipePlacedEvent extends Event {
|
public class PipePlacedEvent extends Event {
|
||||||
public EntityPlayer player;
|
public EntityPlayer player;
|
||||||
public String pipeType;
|
public String pipeType;
|
||||||
|
|
||||||
public PipePlacedEvent(EntityPlayer player, String pipeType){
|
public PipePlacedEvent(EntityPlayer player, String pipeType) {
|
||||||
this.player = player;
|
this.player = player;
|
||||||
this.pipeType = pipeType;
|
this.pipeType = pipeType;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue