Addon [GC3][1.7.10] Pixel Galaxy [Development Stopped (Because of school)]

Status
Not open for further replies.

RamiLego4Game

Member
Dec 26, 2013
112
51
28
28
Syria ,Damascus
RamiLego4Game.dc7.us
Pixel Galaxy:
The First Public Galacticraft Add-on that Adds New Galaxy to Galacticraft

Download :
Github

Status :
Writing TODO list​

Changes:
V0.9.0 (Stable) :
1- Cleaned some parts of the code.
2- Changed some of the textures.
3- New trees gen (Alpha).
4- New pixel wood blocks upgrade-able using pixel wood item (from trees) (Alpha).
5- New recipe (Pixel Wood Block) (Use NEI).
Wish if there is someone who can help me figure out why creatures aren't spawning :/
If there is any bugs, Report them at the issues tab (In Github).

Team:
RamiLego4Game
= programmer

Screenshots (outdated [For 1.6.4 versions]):
2014-01-09_13.12.46.png 2014-01-09_13.13.03.png2014-05-21_14.39.02.png2014-05-21_14.39.08.png2014-05-21_14.42.45.png2014-05-21_14.43.25.png2014-05-21_14.45.45.pngDpMFAf3.png 2014-05-21_15.08.06.png
 
Last edited:

RamiLego4Game

Member
Dec 26, 2013
112
51
28
28
Syria ,Damascus
RamiLego4Game.dc7.us
at Overworld Class
Code:
package micdoodle8.mods.galacticraft.core;

import micdoodle8.mods.galacticraft.api.world.IGalaxy;
import micdoodle8.mods.galacticraft.api.world.IMapObject;
import micdoodle8.mods.galacticraft.api.world.IPlanet;
import micdoodle8.mods.galacticraft.core.client.GCCoreMapPlanetOverworld;
import net.minecraft.world.WorldProvider;

/**
* GCCorePlanetOverworld.java
*
* This file is part of the Galacticraft project
*
* @author micdoodle8
* @license Lesser GNU Public License v3 (http://www.gnu.org/licenses/lgpl.html)
*
*/
public class GCCorePlanetOverworld implements IPlanet
{
    private final IMapObject overworld = new GCCoreMapPlanetOverworld();

    @Override
    public String getName()
    {
        return "Overworld";
    }

    @Override
    public boolean isReachable()
    {
        return true;
    }

    @Override
    public IMapObject getMapObject()
    {
        return this.overworld;
    }

    @Override
    public IGalaxy getParentGalaxy()
    {
        return GalacticraftCore.galaxyMilkyWay;
    }

    @Override
    public boolean addToList()
    {
        return true;
    }

    @Override
    public boolean autoRegister()
    {
        return false;
    }

    @Override
    public Class<? extends WorldProvider> getWorldProvider()
    {
        return null;
    }

    @Override
    public int getDimensionID()
    {
        return 0;
    }
}

at

Code:
@Override
    public IGalaxy getParentGalaxy()
    {
        return GalacticraftCore.galaxyMilkyWay;
    }

sets the overworld to the main galaxy (MilkyWay)

also at Mars Class

Code:
package micdoodle8.mods.galacticraft.mars;

import micdoodle8.mods.galacticraft.api.world.IGalaxy;
import micdoodle8.mods.galacticraft.api.world.IMapObject;
import micdoodle8.mods.galacticraft.api.world.IPlanet;
import micdoodle8.mods.galacticraft.core.GalacticraftCore;
import micdoodle8.mods.galacticraft.mars.client.GCMarsMapPlanet;
import micdoodle8.mods.galacticraft.mars.dimension.GCMarsWorldProvider;
import net.minecraft.world.WorldProvider;

/**
* GCMarsPlanet.java
*
* This file is part of the Galacticraft project
*
* @author micdoodle8
* @license Lesser GNU Public License v3 (http://www.gnu.org/licenses/lgpl.html)
*
*/
public class GCMarsPlanet implements IPlanet
{
    private final IMapObject mars = new GCMarsMapPlanet();

    @Override
    public String getName()
    {
        return "Mars";
    }

    @Override
    public boolean isReachable()
    {
        return true;
    }

    @Override
    public IGalaxy getParentGalaxy()
    {
        return GalacticraftCore.galaxyMilkyWay;
    }

    @Override
    public IMapObject getMapObject()
    {
        return this.mars;
    }

    @Override
    public boolean autoRegister()
    {
        return true;
    }

    @Override
    public boolean addToList()
    {
        return false;
    }

    @Override
    public Class<? extends WorldProvider> getWorldProvider()
    {
        return GCMarsWorldProvider.class;
    }

    @Override
    public int getDimensionID()
    {
        return GCMarsConfigManager.dimensionIDMars;
    }
}

at

Code:
@Override
    public IGalaxy getParentGalaxy()
    {
        return GalacticraftCore.galaxyMilkyWay;
    }

sets Mars to the Main Galaxy (MilkyWay)

the same as all, sun is at the main Galaxy (MilkyWay)

but moon for OverWorld
 
  • Like
Reactions: super4ever4mc
Status
Not open for further replies.

Share this page