Package pneumaticCraft.common.tileentity

Examples of pneumaticCraft.common.tileentity.TileEntityAirCannon


    @Override
    public void onNeighborBlockChange(World world, int x, int y, int z, Block block){
        TileEntity te = world.getTileEntity(x, y, z);
        if(te instanceof TileEntityAirCannon) {
            TileEntityAirCannon teAc = (TileEntityAirCannon)te;
            teAc.onNeighbourBlockChange(x, y, z, block);
        }
    }
View Full Code Here


    @Override
    public void onBlockPlacedBy(World par1World, int par2, int par3, int par4, EntityLivingBase par5EntityLiving, ItemStack par6ItemStack){
        super.onBlockPlacedBy(par1World, par2, par3, par4, par5EntityLiving, par6ItemStack);
        TileEntity te = par1World.getTileEntity(par2, par3, par4);
        if(te instanceof TileEntityAirCannon) {
            TileEntityAirCannon teAc = (TileEntityAirCannon)te;
            teAc.onNeighbourBlockChange(par2, par3, par4, this);
        }
    }
View Full Code Here

TOP

Related Classes of pneumaticCraft.common.tileentity.TileEntityAirCannon

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.