Actually whenever 1.2 comes out I'll just update McModGen and you'll only need to re-download and recompile your mods
Oh great! :biggrin.gif:
Edit:
Okay so ive been making my mod so far ive been able to fix most problems i have, but ive run into this one problem where minecraft crashes giving this report, not sure what caused this or how to fix it.
java.lang.ExceptionInInitializerError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at net.minecraft.src.ModLoader.addMod(ModLoader.java:234)
at net.minecraft.src.ModLoader.readFromClassPath(ModLoader.java:1217)
at net.minecraft.src.ModLoader.init(ModLoader.java:708)
at net.minecraft.src.ModLoader.AddAllRenderers(ModLoader.java:150)
at net.minecraft.src.RenderManager.<init>(RenderManager.java:78)
at net.minecraft.src.RenderManager.<clinit>(RenderManager.java:9)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:316)
at net.minecraft.client.Minecraft.run(Minecraft.java:620)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 525
at net.minecraft.src.Block.<init>(Block.java:173)
at net.minecraft.src.Block.<init>(Block.java:203)
at net.minecraft.src.GlarditeBlock.<init>(GlarditeBlock.java:8)
at net.minecraft.src.mod_Mo_Ores_and_Gear_Pack.<clinit>
I didn't go over the whole thing but here are the things that stood out.
No spaces in names, read the help before posting problems.
When referencing a custom block or item you have to put "m_" before the name of the block or item.
You can only use a single character while doing recipes
Go ahead and develop your mod in 1.1 to get some of the issues sorted that you can fix inside of McModGen. Afterwards You can just re-downloaded whenever I get a 1.2 compatible version up.
I do not presently have plans on adding custom coding into McModGen (at least in this edition) but if you want to custom code it would be much easier for you to simply download your project and write the code
New Features/Changes:
- Updated to new form design on Block pages
- Updated to new form design on Item pages
- Updated to new form design on Toolset pages
- Added on the spot help for most pages
- Added Drop Type to Block and Toolset pages
- Changed the Enum class to 1.2 code
- Changed Hoe to the 1.2 code
- Changed lots of ModLoader functions to the new names
- Changed several other untracked things
Bug Fixes:
- Fixed block type bug
- Fixed all blocks having gravity bug
- Various/Untracked
Please read through the on the spot help when you're setting this up. If you read through the whole help and do it properly you shouldn't have anymore issues.
@KTN
Thank you and I hope you enjoy. And no worries, the possibilities that someone has when custom coding a mod are endless, McModGen does have limitations.
Hope this is helpful in some way,
Oh great! :biggrin.gif:
Edit:
Okay so ive been making my mod so far ive been able to fix most problems i have, but ive run into this one problem where minecraft crashes giving this report, not sure what caused this or how to fix it.
java.lang.ExceptionInInitializerError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at net.minecraft.src.ModLoader.addMod(ModLoader.java:234)
at net.minecraft.src.ModLoader.readFromClassPath(ModLoader.java:1217)
at net.minecraft.src.ModLoader.init(ModLoader.java:708)
at net.minecraft.src.ModLoader.AddAllRenderers(ModLoader.java:150)
at net.minecraft.src.RenderManager.<init>(RenderManager.java:78)
at net.minecraft.src.RenderManager.<clinit>(RenderManager.java:9)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:316)
at net.minecraft.client.Minecraft.run(Minecraft.java:620)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 525
at net.minecraft.src.Block.<init>(Block.java:173)
at net.minecraft.src.Block.<init>(Block.java:203)
at net.minecraft.src.GlarditeBlock.<init>(GlarditeBlock.java:8)
at net.minecraft.src.mod_Mo_Ores_and_Gear_Pack.<clinit>
Re-post your problem
@Tykiechaosop
Looks like you used an ID that has already been used
No spaces in names, read the help before posting problems.
When referencing a custom block or item you have to put "m_" before the name of the block or item.
You can only use a single character while doing recipes
So i tryed changing the Id of the two new items/blocks i made. Still does the same thing and crashes. Any other ideas?
Okay il try that but should i wait a bit intill mcmodgen is updated since 1.2 is out now?
One step closer to someone making a SteamCraft with hydraulics and boilers and coal coke and pneumatic tuuuuuubes!
Sounds AWESOME!
Changelog:
Good Luck!
Did you remember to have the image extension?
@KTN
Thank you and I hope you enjoy. And no worries, the possibilities that someone has when custom coding a mod are endless, McModGen does have limitations.
Hope this is helpful in some way,
- Nikc
HugeMinefan
Glad you enjoy!
@Iwantacookie1337
Did you put them under the subfolder?