Examples of TileEntityFallenMeteor


Examples of micdoodle8.mods.galacticraft.core.tile.TileEntityFallenMeteor

    {
        TileEntity tile = par1World.getTileEntity(par2, par3, par4);

        if (tile instanceof TileEntityFallenMeteor)
        {
            TileEntityFallenMeteor meteor = (TileEntityFallenMeteor) tile;

            if (meteor.getHeatLevel() <= 0)
            {
                return;
            }

            if (par5Entity instanceof EntityLivingBase)
View Full Code Here

Examples of micdoodle8.mods.galacticraft.core.tile.TileEntityFallenMeteor

    {
        TileEntity tile = par1IBlockAccess.getTileEntity(par2, par3, par4);

        if (tile instanceof TileEntityFallenMeteor)
        {
            TileEntityFallenMeteor meteor = (TileEntityFallenMeteor) tile;

            Vector3 col = new Vector3(198, 108, 58);
            col.translate(200 - meteor.getScaledHeatLevel() * 200);
            col.x = Math.min(255, col.x);
            col.y = Math.min(255, col.y);
            col.z = Math.min(255, col.z);

            return GCCoreUtil.to32BitColor(255, (byte) col.x, (byte) col.y, (byte) col.z);
View Full Code Here

Examples of micdoodle8.mods.galacticraft.core.tile.TileEntityFallenMeteor

    }

    @Override
    public TileEntity createNewTileEntity(World world, int meta)
    {
        return new TileEntityFallenMeteor();
    }
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.