Examples of updateMaxElevatorHeight()


Examples of pneumaticCraft.common.tileentity.TileEntityElevatorBase.updateMaxElevatorHeight()

    @Override
    public void onBlockAdded(World world, int x, int y, int z){
        super.onBlockAdded(world, x, y, z);
        TileEntityElevatorBase elevatorBase = getElevatorTE(world, x, y, z);
        if(elevatorBase != null) {
            elevatorBase.updateMaxElevatorHeight();
        }
    }

    @Override
    protected Class<? extends TileEntity> getTileEntityClass(){
View Full Code Here

Examples of pneumaticCraft.common.tileentity.TileEntityElevatorBase.updateMaxElevatorHeight()

    @Override
    public void breakBlock(World world, int x, int y, int z, Block block, int meta){
        TileEntityElevatorBase elevatorBase = getElevatorTE(world, x, y, z);
        if(elevatorBase != null) {
            elevatorBase.updateMaxElevatorHeight();
        }
        super.breakBlock(world, x, y, z, block, meta);
    }
}
View Full Code Here

Examples of pneumaticCraft.common.tileentity.TileEntityElevatorBase.updateMaxElevatorHeight()

    @Override
    public void onBlockAdded(World world, int x, int y, int z){
        super.onBlockAdded(world, x, y, z);
        TileEntityElevatorBase elevatorBase = getCoreTileEntity(world, x, y, z);
        if(elevatorBase != null) {
            elevatorBase.updateMaxElevatorHeight();
        }
    }

    @Override
    protected Class<? extends TileEntity> getTileEntityClass(){
View Full Code Here

Examples of pneumaticCraft.common.tileentity.TileEntityElevatorBase.updateMaxElevatorHeight()

            TileEntity te = world.getTileEntity(x, y - 1, z);
            ((TileEntityElevatorBase)te).moveInventoryToThis();
        }
        TileEntityElevatorBase elevatorBase = getCoreTileEntity(world, x, y, z);
        if(elevatorBase != null) {
            elevatorBase.updateMaxElevatorHeight();
        }
        super.breakBlock(world, x, y, z, block, meta);
    }

    @Override
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.