@Override public void onBlockAdded(World par1World, int par2, int par3, int par4) { super.onBlockAdded(par1World, par2, par3, par4); this.unifyAdjacentChests(par1World, par2, par3, par4); Block var5 = par1World.getBlock(par2, par3, par4 - 1); Block var6 = par1World.getBlock(par2, par3, par4 + 1); Block var7 = par1World.getBlock(par2 - 1, par3, par4); Block var8 = par1World.getBlock(par2 + 1, par3, par4); if (var5 == this) { this.unifyAdjacentChests(par1World, par2, par3, par4 - 1); } if (var6 == this) { this.unifyAdjacentChests(par1World, par2, par3, par4 + 1); } if (var7 == this) { this.unifyAdjacentChests(par1World, par2 - 1, par3, par4); } if (var8 == this) { this.unifyAdjacentChests(par1World, par2 + 1, par3, par4); } }
public void onBlockAdded(World world, int x, int y, int z) { super.onBlockAdded(world, x, y, z); coords[0] = x; coords[1] = y; coords[2] = z; TileEntityMysticRedGenerator tile = (TileEntityMysticRedGenerator) world.getBlockTileEntity(x, y, z); tile.setCoords(); }
@SideOnly(Side.CLIENT) public void onBlockAdded(World world, int x, int y, int z) { super.onBlockAdded(world, x, y, z); this.direction(world, x, y, z); }
public void onBlockAdded(World world, int x, int y, int z) { super.onBlockAdded(world, x, y, z); this.setDefaultDirection(world, x, y, z); }
/** Called whenever the block is added into the world. Args: world, x, y, z */ public void onBlockAdded(World par1World, int par2, int par3, int par4) { super.onBlockAdded(par1World, par2, par3, par4); this.setDefaultDirection(par1World, par2, par3, par4); }
public void onBlockAdded(World w, int x, int y, int z) { RefineryMultiblockTweak.onStructureActivate(w, x, y, z, this); super.onBlockAdded(w, x, y, z); }
@Override public void onBlockAdded(World world, int x, int y, int z) { super.onBlockAdded(world, x, y, z); }
@Override public void onBlockAdded(World world, int i, int j, int k) { super.onBlockAdded(world, i, j, k); world.markBlockForUpdate(i, j, k); }
/** Called whenever the block is added into the world. Args: world, x, y, z */ public void onBlockAdded(World par1World, int par2, int par3, int par4) { super.onBlockAdded(par1World, par2, par3, par4); }
/** Called whenever the block is added into the world. Args: world, x, y, z */ public void onBlockAdded(World par1World, int x, int y, int z) { super.onBlockAdded(par1World, x, y, z); par1World.markBlockForUpdate(x, y, z); }