Examples of TileEntityDungeonSpawnerMars


Examples of micdoodle8.mods.galacticraft.planets.mars.tile.TileEntityDungeonSpawnerMars

    @Override
    public TileEntity createTileEntity(World world, int metadata)
    {
        if (metadata == 10)
        {
            return new TileEntityDungeonSpawnerMars();
        }

        return null;
    }
View Full Code Here

Examples of micdoodle8.mods.galacticraft.planets.mars.tile.TileEntityDungeonSpawnerMars

        final TileEntity tile = this.worldObj.getTileEntity(this.spawnerCoords.posX, this.spawnerCoords.posY, this.spawnerCoords.posZ);

        if (tile == null || !(tile instanceof TileEntityDungeonSpawnerMars))
        {
            TileEntityDungeonSpawner spawner = new TileEntityDungeonSpawnerMars();
            spawner.setRoom(new Vector3(this.posX, this.posY, this.posZ), new Vector3(this.sizeX, this.sizeY, this.sizeZ));
            this.worldObj.setTileEntity(this.spawnerCoords.posX, this.spawnerCoords.posY, this.spawnerCoords.posZ, spawner);
        }
        else if (tile instanceof TileEntityDungeonSpawner)
        {
            ((TileEntityDungeonSpawner) tile).setRoom(new Vector3(this.posX, this.posY, this.posZ), new Vector3(this.sizeX, this.sizeY, this.sizeZ));
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.