blob: add12fac44bf11e6a6dd2cabb788e50a2bc120ab [file] [log] [blame] [raw]
package ic2.api.event;
import net.minecraft.world.World;
import net.minecraftforge.event.Cancelable;
import net.minecraftforge.event.world.WorldEvent;
@Cancelable
public class PaintEvent extends WorldEvent {
// target block
public final int x;
public final int y;
public final int z;
public final int side;
// color to paint the block
public final int color;
// set to true to confirm the operation
public boolean painted = false;
public PaintEvent(World world, int x, int y, int z, int side, int color) {
super(world);
this.x = x;
this.y = y;
this.z = z;
this.side = side;
this.color = color;
}
}