Development How to Code a New Planet

IceClimber11

Member
Aug 30, 2013
195
9
28
28
The Matrix
www.IceClimber11.tk
I made a test planet but i cant load it... i think its setup wrong. BTW You Rock for the help :D thanks for the tutorial
Code:
---- Minecraft Crash Report ----
// Ooh. Shiny.

Time: 9/6/13 11:14 PM
Description: There was a severe problem during mod loading that has caused the game to fail

cpw.mods.fml.common.LoaderException: java.lang.NoSuchFieldError: field_76246_e
    at cpw.mods.fml.common.LoadController.transition(LoadController.java:149)
    at cpw.mods.fml.common.Loader.loadMods(Loader.java:521)
    at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:181)
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:470)
    at net.minecraft.client.Minecraft.run(Minecraft.java:796)
    at net.minecraft.client.main.Main.main(Main.java:93)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:57)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:18)
Caused by: java.lang.NoSuchFieldError: field_76246_e
    at micdoodle8.mods.galacticraft.moon.blocks.GCMoonBlock.<init>(GCMoonBlock.java:43)
    at micdoodle8.mods.galacticraft.moon.blocks.GCMoonBlocks.initBlocks(GCMoonBlocks.java:18)
    at micdoodle8.mods.galacticraft.moon.GalacticraftMoon.preLoad(GalacticraftMoon.java:57)
    at micdoodle8.mods.galacticraft.core.GalacticraftCore.preInit(GalacticraftCore.java:181)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:540)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
    at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
    at com.google.common.eventbus.EventBus.post(EventBus.java:267)
    at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:194)
    at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
    at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
    at com.google.common.eventbus.EventBus.post(EventBus.java:267)
    at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:105)
    at cpw.mods.fml.common.Loader.loadMods(Loader.java:520)
    ... 10 more


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- System Details --
Details:
    Minecraft Version: 1.6.2
    Operating System: Windows 8 (amd64) version 6.2
    Java Version: 1.7.0_21, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 969350816 bytes (924 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)
    JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    Suspicious classes: FML and Forge are installed
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP v8.04 FML v6.2.60.849 Minecraft Forge 9.10.1.849 6 mods loaded, 6 mods active
    mcp{8.04} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized
    FML{6.2.60.849} [Forge Mod Loader] (bin) Unloaded->Constructed->Pre-initialized
    Forge{9.10.1.849} [Minecraft Forge] (bin) Unloaded->Constructed->Pre-initialized
    GalacticraftCore{0.1.39} [Galacticraft Core] (Galacticraft-1.6.2-a0.1.39.653.jar) Unloaded->Constructed->Errored
    Iceclimber11planets{1.0.0} [I Need A Name!] (bin) Unloaded->Constructed->Errored
    GalacticraftMars{0.1.39} [Galacticraft Mars] (Galacticraft-Planets-1.6.2-a0.1.39.653.jar) Unloaded->Constructed->Errored
 

jasonB221

Member
Jul 27, 2013
124
9
18
Lost in Space
I made a test planet but i cant load it... i think its setup wrong. BTW You Rock for the help :D thanks for the tutorial
Code:
---- Minecraft Crash Report ----
// Ooh. Shiny.

Time: 9/6/13 11:14 PM
Description: There was a severe problem during mod loading that has caused the game to fail

cpw.mods.fml.common.LoaderException: java.lang.NoSuchFieldError: field_76246_e
    at cpw.mods.fml.common.LoadController.transition(LoadController.java:149)
    at cpw.mods.fml.common.Loader.loadMods(Loader.java:521)
    at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:181)
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:470)
    at net.minecraft.client.Minecraft.run(Minecraft.java:796)
    at net.minecraft.client.main.Main.main(Main.java:93)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:57)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:18)
Caused by: java.lang.NoSuchFieldError: field_76246_e
    at micdoodle8.mods.galacticraft.moon.blocks.GCMoonBlock.<init>(GCMoonBlock.java:43)
    at micdoodle8.mods.galacticraft.moon.blocks.GCMoonBlocks.initBlocks(GCMoonBlocks.java:18)
    at micdoodle8.mods.galacticraft.moon.GalacticraftMoon.preLoad(GalacticraftMoon.java:57)
    at micdoodle8.mods.galacticraft.core.GalacticraftCore.preInit(GalacticraftCore.java:181)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:540)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
    at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
    at com.google.common.eventbus.EventBus.post(EventBus.java:267)
    at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:194)
    at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
    at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
    at com.google.common.eventbus.EventBus.post(EventBus.java:267)
    at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:105)
    at cpw.mods.fml.common.Loader.loadMods(Loader.java:520)
    ... 10 more


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- System Details --
Details:
    Minecraft Version: 1.6.2
    Operating System: Windows 8 (amd64) version 6.2
    Java Version: 1.7.0_21, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 969350816 bytes (924 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)
    JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    Suspicious classes: FML and Forge are installed
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP v8.04 FML v6.2.60.849 Minecraft Forge 9.10.1.849 6 mods loaded, 6 mods active
    mcp{8.04} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized
    FML{6.2.60.849} [Forge Mod Loader] (bin) Unloaded->Constructed->Pre-initialized
    Forge{9.10.1.849} [Minecraft Forge] (bin) Unloaded->Constructed->Pre-initialized
    GalacticraftCore{0.1.39} [Galacticraft Core] (Galacticraft-1.6.2-a0.1.39.653.jar) Unloaded->Constructed->Errored
    Iceclimber11planets{1.0.0} [I Need A Name!] (bin) Unloaded->Constructed->Errored
    GalacticraftMars{0.1.39} [Galacticraft Mars] (Galacticraft-Planets-1.6.2-a0.1.39.653.jar) Unloaded->Constructed->Errored
Yes, that problem occurs when you try to run the mod in eclipse. I still do not know how to fix it, so for the time being you have to reobfuscate it and run it via the minecraft client.
 

Fanor

Member
Nov 2, 2013
1
0
1
27
Hi, I have a problem I'm making a copy and paste github no planet appears in the list :/
 

Saix12345

Member
Aug 31, 2013
1
0
1
27
Hi, I have a problem I'm making a copy and paste github no planet appears in the list :/
Use this in your slot renderer file.

@Override
public void renderSlot(int index, int x, int y, float slotHeight, Tessellator tessellator)
{
tessellator.startDrawingQuads();
tessellator.addVertexWithUV(x - slotHeight / 2 * 1.3, y + slotHeight / 2 * 1.3, -90.0D, 0.35D, 0.65D);
tessellator.addVertexWithUV(x + slotHeight / 2 * 1.3, y + slotHeight / 2 * 1.3, -90.0D, 0.65D, 0.65D);
tessellator.addVertexWithUV(x + slotHeight / 2 * 1.3, y - slotHeight / 2 * 1.3, -90.0D, 0.65D, 0.35D);
tessellator.addVertexWithUV(x - slotHeight / 2 * 1.3, y - slotHeight / 2 * 1.3, -90.0D, 0.35D, 0.35D);
tessellator.draw();
}

This was my problem.
 
Dec 31, 2013
4
0
1
44
Thank you for this, I will be messing with this to make a replacement for the Nether and End on my future server.
Hopefully this will work as I dream it to.
 

morlanius

Member
Apr 15, 2014
1
0
1
45
Great tutorial, but at what point are we able to change blocks and ores in the terrain gen, even change the terrain gen itself?
 

Theoretikos

Member
May 6, 2014
1
0
1
46
How is gravity handled? I want to do a planet with gravity a third of the standard (like Mars). Is there a tutorial that covers gravity?
 

IceClimber11

Member
Aug 30, 2013
195
9
28
28
The Matrix
www.IceClimber11.tk
So, if I wanted to make an addon that just adds more planets, I just code a new dimension, and then plug it into the API?
Yeah, you build the dimension, then register it with the GC menu. If i wanted to I could put the nether, or the End on the GC map. Think of the rocket as a new type of enderportal, but you get a choice of where you want to go from the GC menu. Its just adding a few atributes.
 

Giaphage

Member
Nov 24, 2014
1
0
1
43
When I try to run this with the Micdoodle Core in my eclipse/mods folder, minecraft says it's a duplicate mod, but if I take it out, it crashes like so:
---- Minecraft Crash Report ----
// Ooh. Shiny.

Time: 11/24/14 1:11 AM
Description: There was a severe problem during mod loading that has caused the game to fail

cpw.mods.fml.common.LoaderException: java.lang.NoSuchFieldError: field_150410_aZ
at cpw.mods.fml.common.LoadController.transition(LoadController.java:162)
at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:515)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:239)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:522)
at net.minecraft.client.Minecraft.run(Minecraft.java:931)
at net.minecraft.client.main.Main.main(Main.java:164)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78)
at GradleStart.main(GradleStart.java:45)
Caused by: java.lang.NoSuchFieldError: field_150410_aZ
at micdoodle8.mods.galacticraft.core.util.ConfigManagerCore.syncConfig(ConfigManagerCore.java:431)
at micdoodle8.mods.galacticraft.core.util.ConfigManagerCore.initialize(ConfigManagerCore.java:102)
at micdoodle8.mods.galacticraft.core.GalacticraftCore.preInit(GalacticraftCore.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:513)
... 12 more


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Linux (amd64) version 3.13.0-32-generic
Java Version: 1.7.0_65, Oracle Corporation
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 849284936 bytes (809 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v9.05 FML v7.10.25.1199 Minecraft Forge 10.13.0.1199 6 mods loaded, 6 mods active
mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized
FML{7.10.25.1199} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.0.1199.jar) Unloaded->Constructed->Pre-initialized
Forge{10.13.0.1199} [Minecraft Forge] (forgeSrc-1.7.10-10.13.0.1199.jar) Unloaded->Constructed->Pre-initialized
Micdoodlecore{} [Micdoodle8 Core] (minecraft.jar) Unloaded->Constructed->Pre-initialized
GalacticraftCore{3.0.6} [Galacticraft Core] (GalacticraftCore.jar) Unloaded->Constructed->Errored
otherworldly{0.0.0} [Other Worldly] (bin) Unloaded->Constructed->Errored
#@!@# Game crashed! Crash report saved to: #@!@#
~/Documents/ForgeSource/eclipse/./crash-reports/crash-2014-11-24_00.47.07-client.txt
How do I fix this?
 
Last edited:

Share this page