Development Custom Moon not showing up in selector map

Rabid_Potato

Member
Dec 5, 2014
18
4
3
25
Massachusetts
Hey there!

I'm working on an addon for a modpack.

I've registered my moon (as indicated by the "Saving chunks for level 'New World'/moon.europa" (I believe?)) but it will not show up on the planet selector map.
bIUlZ84.png
.

I'm 99% sure I've registered everything correctly, but I still don't know why it's not showing up.

I've called the EuropaRegistry.register() method in the PreInit() of my main class.

EuropaRegistry: https://pastebin.com/zukhTuZM
WorldProvider: https://pastebin.com/kDmgpfig
ChunkProvider: https://pastebin.com/ALzKgwPJ

(Just for reassurance, this is what is in my "main" class.)
Code:
@EventHandler
    public void preInit(FMLPreInitializationEvent e) {
        proxy.registerRenders();
        ItemRegistry.init();
        BlockRegistry.init();
        EuropaRegistry.register();
    }

NOTE: I know it says that I set the parent planet to the overworld. That was an older version of the file, it's currently set to planetJupiter
 
Last edited by a moderator:

BlesseNtumble

Member
Content developer
Galaxy Space
Space Ambient
Nov 1, 2014
314
70
28
26
α Centauri Bb
public static Planet planetJupiter;

// TODO Jupiter -------------------------------
planetJupiter = (Planet) new Planet("jupiter").setParentSolarSystem(GalacticraftCore.solarSystemSol);
planetJupiter.setRingColorRGB(0.0F, 0.4F, 0.9F);
planetJupiter.setPhaseShift((float) Math.PI);
planetJupiter.setBodyIcon(new ResourceLocation(GalacticraftCore.ASSET_PREFIX, "textures/gui/celestialbodies/jupiter.png"));
planetJupiter.setRelativeDistanceFromCenter(new CelestialBody.ScalableDistance(2.0F, 2.0F));
planetJupiter.setRelativeOrbitTime(11.861993428258488499452354874042F);
 

Rabid_Potato

Member
Dec 5, 2014
18
4
3
25
Massachusetts
public static Planet planetJupiter;

// TODO Jupiter -------------------------------
planetJupiter = (Planet) new Planet("jupiter").setParentSolarSystem(GalacticraftCore.solarSystemSol);
planetJupiter.setRingColorRGB(0.0F, 0.4F, 0.9F);
planetJupiter.setPhaseShift((float) Math.PI);
planetJupiter.setBodyIcon(new ResourceLocation(GalacticraftCore.ASSET_PREFIX, "textures/gui/celestialbodies/jupiter.png"));
planetJupiter.setRelativeDistanceFromCenter(new CelestialBody.ScalableDistance(2.0F, 2.0F));
planetJupiter.setRelativeOrbitTime(11.861993428258488499452354874042F);

The moon still doesn't show up.

Here's the pastebin for the EuropaRegistry:
https://pastebin.com/SdCDzvAg
 

Share this page