Examples of WorldProviderOrbit


Examples of micdoodle8.mods.galacticraft.core.dimension.WorldProviderOrbit

        final int change = (8 + metadata) & 15;
        world.setBlockMetadataWithNotify(x, y, z, change, 2);

        if (world.provider instanceof WorldProviderOrbit && !world.isRemote)
        {
            WorldProviderOrbit worldOrbital = (WorldProviderOrbit) world.provider;
            worldOrbital.checkSS(new BlockVec3(x, y, z), true);
        }
        return true;
    }
View Full Code Here

Examples of micdoodle8.mods.galacticraft.core.dimension.WorldProviderOrbit

        if (!world.isRemote)
        {
            final int facing = metadata & 8;
            if (world.provider instanceof WorldProviderOrbit)
            {
                WorldProviderOrbit worldOrbital = (WorldProviderOrbit) world.provider;
                BlockVec3 baseBlock = new BlockVec3(x, y, z);
                worldOrbital.removeThruster(baseBlock, facing == 0);
                worldOrbital.updateSpinSpeed();
            }
        }
    }
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.