Jump to content

Black Screen (No Errors)


xcraftminebob

Recommended Posts

Hello! I've been making a mod for Minecraft 1.5.2, and I made a block and an item, and got no errors. I tested the exporting and it worked. Then I added a tool, still no errors, I hit run, no errors, and I exported the mod wit

 

recompile.bat

 

and

 

reobfuscate_srg.bat

 

Then I compressed the 3 files I got (JibletMod, net, textures, mods) and then I got a black screen! Please help!

 

If you need my code here it is:

 

-------------------------------------

package JibletMod;

 

import net.minecraft.block.Block;

import net.minecraft.block.material.Material;

import net.minecraft.item.EnumArmorMaterial;

import net.minecraft.item.EnumToolMaterial;

import net.minecraft.item.Item;

import net.minecraft.src.ModLoader;

import cpw.mods.fml.common.Mod;

import cpw.mods.fml.common.network.NetworkMod;

import cpw.mods.fml.common.registry.GameRegistry;

import cpw.mods.fml.common.registry.LanguageRegistry;

 

@Mod(modid = JibletMod.modid, name = "Jiblet Mod", version = "1.0")

@NetworkMod(clientSideRequired = true, serverSideRequired = false)

 

public class JibletMod

{

public static final String modid = "JibletMod";

 

 

 

//Items

 

public static Item ChunkOfJiblet;

public static Item JibletShovel;

public static Item JibletPickaxe;

public static Item JibletAxe;

public static Item JibletHoe;

public static Item JibletSword;

 

 

 

 

//Blocks

 

public static Block JibletBlock;

public static Block JibletOre;

 

 

 

 

 

public JibletMod(){

 

 

//Defining Items/Tools

ChunkOfJiblet = new ItemChunkOfJiblet(900).setUnlocalizedName("ChunkOfJiblet");

JibletShovel = new ItemJibletShovel(901, EnumToolMaterial.JIBLET).setUnlocalizedName("JibletShovel");

JibletPickaxe = new ItemJibletPickaxe(902, EnumToolMaterial.JIBLET).setUnlocalizedName("JibletPickaxe");

JibletAxe = new ItemJibletAxe(903, EnumToolMaterial.JIBLET).setUnlocalizedName("JibletAxe");

JibletHoe = new ItemJibletHoe(904, EnumToolMaterial.JIBLET).setUnlocalizedName("JibletHoe");

JibletSword = new ItemJibletSword(905, EnumToolMaterial.JIBLET).setUnlocalizedName("JibletSword");

 

 

 

//Defining Blocks

JibletBlock = new BlockJibletBlock(906, Material.iron).setUnlocalizedName("JibletBlock");

JibletOre = new BlockJibletOre(907, Material.rock).setUnlocalizedName("JibletOre");

 

 

//Registry for Blocks

GameRegistry.registerBlock(JibletBlock, "JibletBlock");

GameRegistry.registerBlock(JibletOre, "JibletOre");

 

 

//Registry for...other stuff

GameRegistry.registerWorldGenerator(new WorldGenJibletOre());

 

//Names for items

 

LanguageRegistry.addName(ChunkOfJiblet, "Chunk Of Jiblet");

LanguageRegistry.addName(JibletShovel, "Jiblet Shovel");

LanguageRegistry.addName(JibletPickaxe, "Jiblet Pickaxe");

LanguageRegistry.addName(JibletAxe, "Jiblet Axe");

LanguageRegistry.addName(JibletHoe, "Jiblet Hoe");

LanguageRegistry.addName(JibletSword, "Jiblet Sword");

 

//Names for blocks

 

LanguageRegistry.addName(JibletBlock, "Block Of Jiblet");

LanguageRegistry.addName(JibletOre, "Jiblet Ore");

 

}

 

 

 

}

-------------------------------------

 

And my tool class (All tool classes are the same accept different class names etc.):

 

-------------------------------------

 

import net.minecraft.creativetab.CreativeTabs;

import net.minecraft.item.EnumToolMaterial;

import net.minecraft.item.ItemSword;

 

public class ItemJibletSword extends ItemSword

{

 

public ItemJibletSword(int par1, EnumToolMaterial par2EnumToolMaterial) {

super(par1, par2EnumToolMaterial);

this.setCreativeTab(CreativeTabs.tabCombat);

}

 

}

 

-------------------------------------

 

And as I said there were no errors (Just 4 warnings like always)

 

 

 

HERE IS MY MCFORGE LOG:

 

 

2013-06-08 11:54:32 [iNFO] [ForgeModLoader] Forge Mod Loader version 5.2.21.725 for Minecraft 1.5.2 loading

2013-06-08 11:54:32 [iNFO] [ForgeModLoader] Java is Java HotSpot 64-Bit Server VM, version 1.7.0_17, running on Windows 8:amd64:6.2, installed at C:\Program Files\Java\jre7

2013-06-08 11:54:32 [FINE] [ForgeModLoader] Java classpath at launch is C:\Users\Xavier Donnellon\Desktop\Minecraft.exe

2013-06-08 11:54:32 [FINE] [ForgeModLoader] Java library path at launch is C:\Program Files\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\Intel\Intel® Management Engine Components\DAL;C:\Program Files\Intel\Intel® Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel® Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel® Management Engine Components\IPT;C:\Users\Xavier Donnellon\AppData\Local\Smartbar\Application\;C:\Users\Xavier Donnellon\AppData\Local\Smartbar\Application\;C:\Program Files\Internet Explorer;C:\Program Files (x86)\Windows Kits\8.0\Windows Performance Toolkit\;C:\Program Files\Java\jre7\bin;.

2013-06-08 11:54:32 [FINE] [ForgeModLoader] Enabling runtime deobfuscation

2013-06-08 11:54:32 [FINEST] [ForgeModLoader] All core mods are successfully located

2013-06-08 11:54:32 [FINEST] [ForgeModLoader] Discovering coremods

2013-06-08 11:54:32 [FINEST] [ForgeModLoader] Found library file argo-small-3.2.jar present and correct in lib dir

2013-06-08 11:54:32 [FINEST] [ForgeModLoader] Found library file guava-14.0-rc3.jar present and correct in lib dir

2013-06-08 11:54:32 [FINEST] [ForgeModLoader] Found library file asm-all-4.1.jar present and correct in lib dir

2013-06-08 11:54:32 [FINEST] [ForgeModLoader] Found library file bcprov-jdk15on-148.jar present and correct in lib dir

2013-06-08 11:54:32 [FINEST] [ForgeModLoader] Found library file deobfuscation_data_1.5.2.zip present and correct in lib dir

2013-06-08 11:54:32 [FINEST] [ForgeModLoader] Found library file scala-library.jar present and correct in lib dir

2013-06-08 11:54:32 [FINEST] [ForgeModLoader] Running coremod plugins

2013-06-08 11:54:32 [FINEST] [ForgeModLoader] Running coremod plugin FMLCorePlugin

2013-06-08 11:54:33 [sEVERE] [ForgeModLoader] FML appears to be missing any signature data. This is not a good thing

2013-06-08 11:54:33 [FINEST] [ForgeModLoader] Coremod plugin FMLCorePlugin run successfully

2013-06-08 11:54:33 [FINEST] [ForgeModLoader] Running coremod plugin FMLForgePlugin

2013-06-08 11:54:33 [FINEST] [ForgeModLoader] Coremod plugin FMLForgePlugin run successfully

2013-06-08 11:54:33 [FINEST] [ForgeModLoader] Validating minecraft

2013-06-08 11:54:33 [FINEST] [ForgeModLoader] Minecraft validated, launching...

2013-06-08 11:54:35 [iNFO] [sTDOUT] 229 recipes

2013-06-08 11:54:35 [iNFO] [sTDOUT] 27 achievements

2013-06-08 11:54:36 [iNFO] [Minecraft-Client] Setting user: xcraftminebob

2013-06-08 11:54:36 [iNFO] [sTDOUT] (Session ID is 7151008192496395923)

2013-06-08 11:54:36 [iNFO] [Minecraft-Client] LWJGL Version: 2.4.2

2013-06-08 11:54:36 [iNFO] [MinecraftForge] Attempting early MinecraftForge initialization

2013-06-08 11:54:36 [iNFO] [sTDOUT] MinecraftForge v7.8.0.725 Initialized

2013-06-08 11:54:36 [iNFO] [ForgeModLoader] MinecraftForge v7.8.0.725 Initialized

2013-06-08 11:54:36 [iNFO] [sTDOUT] Replaced 85 ore recipies

2013-06-08 11:54:36 [iNFO] [MinecraftForge] Completed early MinecraftForge initialization

2013-06-08 11:54:36 [iNFO] [ForgeModLoader] Reading custom logging properties from C:\Users\Xavier Donnellon\AppData\Roaming\.minecraft\config\logging.properties

2013-06-08 11:54:36 [OFF] [ForgeModLoader] Logging level for ForgeModLoader logging is set to ALL

2013-06-08 11:54:36 [FINE] [ForgeModLoader] Building injected Mod Containers [cpw.mods.fml.common.FMLDummyContainer, net.minecraftforge.common.ForgeDummyContainer]

2013-06-08 11:54:36 [FINE] [ForgeModLoader] Attempting to load mods contained in the minecraft jar file and associated classes

2013-06-08 11:54:36 [FINER] [ForgeModLoader] Skipping known library file C:\Users\Xavier Donnellon\AppData\Roaming\.minecraft\bin\lwjgl.jar

2013-06-08 11:54:36 [FINER] [ForgeModLoader] Skipping known library file C:\Users\Xavier Donnellon\AppData\Roaming\.minecraft\bin\jinput.jar

2013-06-08 11:54:36 [FINER] [ForgeModLoader] Skipping known library file C:\Users\Xavier Donnellon\AppData\Roaming\.minecraft\bin\lwjgl_util.jar

2013-06-08 11:54:36 [FINE] [ForgeModLoader] Found a minecraft related file at C:\Users\Xavier Donnellon\AppData\Roaming\.minecraft\bin\minecraft.jar, examining for mod candidates

2013-06-08 11:54:36 [FINER] [ForgeModLoader] Skipping known library file C:\Users\Xavier Donnellon\AppData\Roaming\.minecraft\lib\argo-small-3.2.jar

2013-06-08 11:54:36 [FINER] [ForgeModLoader] Skipping known library file C:\Users\Xavier Donnellon\AppData\Roaming\.minecraft\lib\guava-14.0-rc3.jar

2013-06-08 11:54:36 [FINER] [ForgeModLoader] Skipping known library file C:\Users\Xavier Donnellon\AppData\Roaming\.minecraft\lib\asm-all-4.1.jar

2013-06-08 11:54:36 [FINER] [ForgeModLoader] Skipping known library file C:\Users\Xavier Donnellon\AppData\Roaming\.minecraft\lib\bcprov-jdk15on-148.jar

2013-06-08 11:54:36 [FINER] [ForgeModLoader] Skipping known library file C:\Users\Xavier Donnellon\AppData\Roaming\.minecraft\lib\deobfuscation_data_1.5.2.zip

2013-06-08 11:54:36 [FINER] [ForgeModLoader] Skipping known library file C:\Users\Xavier Donnellon\AppData\Roaming\.minecraft\lib\scala-library.jar

2013-06-08 11:54:36 [FINE] [ForgeModLoader] Minecraft jar mods loaded successfully

2013-06-08 11:54:36 [iNFO] [ForgeModLoader] Searching C:\Users\Xavier Donnellon\AppData\Roaming\.minecraft\mods for mods

2013-06-08 11:54:36 [FINE] [ForgeModLoader] Examining file minecraft.jar for potential mods

2013-06-08 11:54:36 [FINE] [ForgeModLoader] The mod container minecraft.jar appears to be missing an mcmod.info file

2013-06-08 11:54:36 [FINE] [ForgeModLoader] Identified an FMLMod type mod JibletMod.JibletMod

2013-06-08 11:54:37 [FINEST] [JibletMod] Parsed dependency info : [] [] []

2013-06-08 11:54:37 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 4 mods to load

2013-06-08 11:54:37 [FINER] [ForgeModLoader] Received a system property request ''

2013-06-08 11:54:37 [FINER] [ForgeModLoader] System property request managing the state of 0 mods

2013-06-08 11:54:37 [FINE] [ForgeModLoader] After merging, found state information for 0 mods

2013-06-08 11:54:37 [FINE] [ForgeModLoader] Reloading logging properties from C:\Users\Xavier Donnellon\AppData\Roaming\.minecraft\config\logging.properties

2013-06-08 11:54:37 [FINE] [ForgeModLoader] Reloaded logging properties

2013-06-08 11:54:37 [FINE] [mcp] Mod Logging channel mcp configured at default level.

2013-06-08 11:54:37 [iNFO] [mcp] Activating mod mcp

2013-06-08 11:54:37 [FINE] [FML] Mod Logging channel FML configured at default level.

2013-06-08 11:54:37 [iNFO] [FML] Activating mod FML

2013-06-08 11:54:37 [FINE] [Forge] Mod Logging channel Forge configured at default level.

2013-06-08 11:54:37 [iNFO] [Forge] Activating mod Forge

2013-06-08 11:54:37 [FINE] [JibletMod] Enabling mod JibletMod

2013-06-08 11:54:37 [FINE] [JibletMod] Mod Logging channel JibletMod configured at default level.

2013-06-08 11:54:37 [iNFO] [JibletMod] Activating mod JibletMod

2013-06-08 11:54:37 [FINER] [ForgeModLoader] Verifying mod requirements are satisfied

2013-06-08 11:54:37 [FINER] [ForgeModLoader] All mod requirements are satisfied

2013-06-08 11:54:37 [FINER] [ForgeModLoader] Sorting mods into an ordered list

2013-06-08 11:54:37 [FINER] [ForgeModLoader] Mod sorting completed successfully

2013-06-08 11:54:37 [FINE] [ForgeModLoader] Mod sorting data

2013-06-08 11:54:37 [FINE] [ForgeModLoader] JibletMod(Jiblet Mod:1.0): minecraft.jar ()

2013-06-08 11:54:37 [FINEST] [mcp] Sending event FMLConstructionEvent to mod mcp

2013-06-08 11:54:37 [FINEST] [mcp] Sent event FMLConstructionEvent to mod mcp

2013-06-08 11:54:37 [FINEST] [FML] Sending event FMLConstructionEvent to mod FML

2013-06-08 11:54:37 [FINEST] [FML] Sent event FMLConstructionEvent to mod FML

2013-06-08 11:54:37 [FINEST] [Forge] Sending event FMLConstructionEvent to mod Forge

2013-06-08 11:54:37 [iNFO] [ForgeModLoader] Registering Forge Packet Handler

2013-06-08 11:54:37 [FINEST] [ForgeModLoader] Testing mod Forge to verify it accepts its own version in a remote connection

2013-06-08 11:54:37 [FINEST] [ForgeModLoader] The mod Forge accepts its own version (7.8.0.725)

2013-06-08 11:54:37 [iNFO] [ForgeModLoader] Succeeded registering Forge Packet Handler

2013-06-08 11:54:37 [FINEST] [Forge] Sent event FMLConstructionEvent to mod Forge

2013-06-08 11:54:37 [FINEST] [JibletMod] Sending event FMLConstructionEvent to mod JibletMod

2013-06-08 11:54:37 [FINEST] [ForgeModLoader] Testing mod JibletMod to verify it accepts its own version in a remote connection

2013-06-08 11:54:37 [FINEST] [ForgeModLoader] The mod JibletMod accepts its own version (1.0)

2013-06-08 11:54:37 [FINE] [fml.ItemTracker] Adding item JibletMod.ItemChunkOfJiblet(1156) owned by JibletMod

2013-06-08 11:54:37 [iNFO] [sTDERR] Exception in thread "Minecraft main thread" java.lang.NoSuchFieldError: JIBLET

2013-06-08 11:54:37 [iNFO] [sTDERR] at JibletMod.JibletMod.<init>(JibletMod.java:49)

2013-06-08 11:54:37 [iNFO] [sTDERR] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

2013-06-08 11:54:37 [iNFO] [sTDERR] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

2013-06-08 11:54:37 [iNFO] [sTDERR] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

2013-06-08 11:54:37 [iNFO] [sTDERR] at java.lang.reflect.Constructor.newInstance(Unknown Source)

2013-06-08 11:54:37 [iNFO] [sTDERR] at java.lang.Class.newInstance0(Unknown Source)

2013-06-08 11:54:37 [iNFO] [sTDERR] at java.lang.Class.newInstance(Unknown Source)

2013-06-08 11:54:37 [iNFO] [sTDERR] at cpw.mods.fml.common.ILanguageAdapter$JavaAdapter.getNewInstance(ILanguageAdapter.java:168)

2013-06-08 11:54:37 [iNFO] [sTDERR] at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:466)

2013-06-08 11:54:37 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2013-06-08 11:54:37 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

2013-06-08 11:54:37 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

2013-06-08 11:54:37 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Unknown Source)

2013-06-08 11:54:37 [iNFO] [sTDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

2013-06-08 11:54:37 [iNFO] [sTDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

2013-06-08 11:54:37 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)

2013-06-08 11:54:37 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

2013-06-08 11:54:37 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:267)

2013-06-08 11:54:37 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:186)

2013-06-08 11:54:37 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:166)

2013-06-08 11:54:37 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2013-06-08 11:54:37 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

2013-06-08 11:54:37 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

2013-06-08 11:54:37 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Unknown Source)

2013-06-08 11:54:37 [iNFO] [sTDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

2013-06-08 11:54:37 [iNFO] [sTDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

2013-06-08 11:54:37 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)

2013-06-08 11:54:37 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

2013-06-08 11:54:37 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:267)

2013-06-08 11:54:37 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:103)

2013-06-08 11:54:37 [iNFO] [sTDERR] at cpw.mods.fml.common.Loader.loadMods(Loader.java:504)

2013-06-08 11:54:37 [iNFO] [sTDERR] at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:163)

2013-06-08 11:54:37 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:411)

2013-06-08 11:54:37 [iNFO] [sTDERR] at net.minecraft.client.MinecraftAppletImpl.func_71384_a(SourceFile:56)

2013-06-08 11:54:37 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:733)

2013-06-08 11:54:37 [iNFO] [sTDERR] at java.lang.Thread.run(Unknown Source)

 

Thanks,

 

         Bob

Link to comment
Share on other sites

And as I said there were no errors (Just 4 warnings like always)

Oh really?

2013-06-08 11:54:37 [iNFO] [sTDERR] Exception in thread "Minecraft main thread" java.lang.NoSuchFieldError: JIBLET

2013-06-08 11:54:37 [iNFO] [sTDERR] at JibletMod.JibletMod.<init>(JibletMod.java:49)

There's no such field as EnumToolMaterial.JIBLET, and, if there is, there shouldn't be, as you shouldn't be editing base classes.

BEWARE OF GOD

---

Co-author of Pentachoron Labs' SBFP Tech.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.