Examples of TileEntityShortRangeTelepad


Examples of micdoodle8.mods.galacticraft.planets.asteroids.tile.TileEntityShortRangeTelepad

    }

    @Override
    public TileEntity createNewTileEntity(World world, int meta)
    {
        return new TileEntityShortRangeTelepad();
    }
View Full Code Here

Examples of micdoodle8.mods.galacticraft.planets.asteroids.tile.TileEntityShortRangeTelepad

    {
        final TileEntity tileAt = world.getTileEntity(x, y, z);

        if (tileAt instanceof TileEntityShortRangeTelepad)
        {
            TileEntityShortRangeTelepad telepad = (TileEntityShortRangeTelepad) tileAt;
            float teleportTimeScaled = Math.min(1.0F, telepad.teleportTime / (float) TileEntityShortRangeTelepad.MAX_TELEPORT_TIME);
            float f;
            float r;
            float g;
            float b;
View Full Code Here

Examples of micdoodle8.mods.galacticraft.planets.asteroids.tile.TileEntityShortRangeTelepad

        return f1 * (1.0F - f2) + f2;
    }

    public void onUpdate()
    {
        TileEntityShortRangeTelepad telepad1 = this.telepad.get();

        if (telepad1 != null)
        {
            Vector3 color = telepad1.getParticleColor(this.rand, this.direction);
            this.particleRed = color.floatX();
            this.particleGreen = color.floatY();
            this.particleBlue = color.floatZ();
        }

View Full Code Here

Examples of micdoodle8.mods.galacticraft.planets.asteroids.tile.TileEntityShortRangeTelepad

            switch ((Integer) this.data.get(0))
            {
            case 0:
                if (tile instanceof TileEntityShortRangeTelepad)
                {
                    TileEntityShortRangeTelepad launchController = (TileEntityShortRangeTelepad) tile;
                    launchController.setAddress((Integer) this.data.get(4));
                }
                break;
            case 1:
                if (tile instanceof TileEntityShortRangeTelepad)
                {
                    TileEntityShortRangeTelepad launchController = (TileEntityShortRangeTelepad) tile;
                    launchController.setTargetAddress((Integer) this.data.get(4));
                }
                break;
            default:
                break;
            }
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.