Jump to content

LordMastodon

Forge Modder
  • Posts

    173
  • Joined

  • Last visited

Everything posted by LordMastodon

  1. It solved my Gradle problem, but the script is still throwing errors: Download https://plugins.gradle.org/m2/gradle/plugin/net/minecraftforge/gradle/ForgeGradle/2.0.1/ForgeGradle-2.0.1.pom Download https://plugins.gradle.org/m2/gradle/plugin/net/minecraftforge/gradle/ForgeGradle/2.0.1/ForgeGradle-2.0.1.jar ********************** Powered By MCP: http://modcoderpack.com/ Searge, ProfMobius, Fesh0r, R4wk, ZeuX, IngisKahn, bspkrs MCP Data version : 9.10 ********************** :deobfCompileDummyTask :deobfProvidedDummyTask :getVersionJson :extractUserdev Download http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.8-11.14.3.1506/forge-1.8-11.14.3.1506.pom Download http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.8-11.14.3.1506/forge-1.8-11.14.3.1506-userdev.jar :extractMcpData Download http://files.minecraftforge.net/maven/de/oceanlabs/mcp/mcp/1.8/mcp-1.8-srg.zip :extractMcpMappings :genSrgs :downloadClient SKIPPED :downloadServer SKIPPED :splitServerJar :mergeJars :deobfMcSRG Applying SpecialSource... Applying Exceptor... :getFernFlower SKIPPED :decompileMc :fixMcSources :applySourcePatches :remapMcSources :recompileMc Download https://libraries.minecraft.net/com/mojang/authlib/1.5.21/authlib-1.5.21.pom Download https://libraries.minecraft.net/com/mojang/authlib/1.5.21/authlib-1.5.21.jar [ant:javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6 [ant:javac] Note: Some input files use or override a deprecated API. [ant:javac] Note: Recompile with -Xlint:deprecation for details. [ant:javac] Note: Some input files use unchecked or unsafe operations. [ant:javac] Note: Recompile with -Xlint:unchecked for details. [ant:javac] 1 warning :extractNatives :getAssetIndex UP-TO-DATE :getAssets Current status: 16/734 2% Current status: 41/734 5% Current status: 118/734 16% Current status: 208/734 28% Current status: 313/734 42% Current status: 394/734 53% Current status: 483/734 65% Current status: 514/734 70% Current status: 585/734 79% Current status: 679/734 92% Current status: 733/734 99% :makeStart [ant:javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6 [ant:javac] C:\Users\<username>\Desktop\Projects\Minecraft\Robot Sculptures\build\tmp\makeStart\extracted\net\minecraftforge\gradle\tweakers\CoremodTweaker.java:35: error: cannot find symbol [ant:javac] Field coreModList = GradleStartCommon.getFmlClass("fml.relauncher.CoreModManager", classLoader).getDeclaredField("loadPlugins"); [ant:javac] ^ [ant:javac] symbol: method getFmlClass(String,LaunchClassLoader) [ant:javac] location: class GradleStartCommon [ant:javac] C:\Users\<username>\Desktop\Projects\Minecraft\Robot Sculptures\build\tmp\makeStart\extracted\net\minecraftforge\gradle\tweakers\CoremodTweaker.java:39: error: cannot find symbol [ant:javac] Class<ITweaker> clazz = (Class<ITweaker>) GradleStartCommon.getFmlClass("fml.relauncher.CoreModManager$FMLPluginWrapper", classLoader); [ant:javac] ^ [ant:javac] symbol: method getFmlClass(String,LaunchClassLoader) [ant:javac] location: class GradleStartCommon [ant:javac] C:\Users\<username>\Desktop\Projects\Minecraft\Robot Sculptures\build\tmp\makeStart\extracted\net\minecraftforge\gradle\tweakers\CoremodTweaker.java:61: error: cannot find symbol [ant:javac] File newFile = GradleStartCommon.coreMap.get(coreMod.getClass().getCanonicalName()); [ant:javac] ^ [ant:javac] symbol: variable coreMap [ant:javac] location: class GradleStartCommon [ant:javac] C:\Users\<username>\Desktop\Projects\Minecraft\Robot Sculptures\build\tmp\makeStart\extracted\net\minecraftforge\gradle\tweakers\CoremodTweaker.java:92: error: cannot find symbol [ant:javac] Field f = GradleStartCommon.getFmlClass(COREMOD_CLASS, classLoader).getDeclaredField(TWEAKER_SORT_FIELD); [ant:javac] ^ [ant:javac] symbol: method getFmlClass(String,LaunchClassLoader) [ant:javac] location: class GradleStartCommon [ant:javac] 4 errors [ant:javac] 1 warning :makeStart FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':makeStart'. > Compile failed; see the compiler error output for details. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 13 mins 53.221 secs No clue why that's not working...
  2. In that case I'm not sure what's wrong. Are you sure you're using the right versions of everything?
  3. I've downloaded the most recent version of Gradle (2.6) from the website and extracted it into my downloads folder, but how do I tell ForgeGradle where it is?
  4. Did what you said, and I got this crash report from the command: Download https://plugins.gradle.org/m2/gradle/plugin/net/minecraftforge/gradle/ForgeGradle/2.0.1/ForgeGradle-2.0.1.pom Download https://plugins.gradle.org/m2/gradle/plugin/net/minecraftforge/gradle/ForgeGradle/2.0.1/ForgeGradle-2.0.1.jar FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'Robot Sculptures'. > ForgeGradle 2.0 requires Gradle 2.3 or above. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 1 mins 18.115 secs So yeah...
  5. So for the new src should I also run the whole gradlew setupDecompWorkspace --refresh-dependencies and gradlew eclipse on it or just copy the file immediately after download?
  6. How do I refresh/regenerate my project (using Eclipse)? Also, how would I know what changes are being made (updating to 1506)?
  7. Have you tried the dev version from here: http://chickenbones.net/Pages/links.html? That's the version you're supposed to use for development instead of universal...
  8. So, I loaded up the dev environment and saw that there's a new version of Forge. I'm wondering if there's a way to update my version without downloading the new version from the website and setting up the whole thing again and just inserting all my class files. I'm pretty sure this existed in 1.7.10 because I saw a Pahimar video on it, but does it exist for 1.8? And if so, how can I use it?
  9. Do you know Java at all? Because if not then please go learn Java and then come back, because mods are literally coding. If you're not a coder, than become one, because otherwise you will not be able to create anything "cool" or such. Java is extremely helpful, seeing as mods and Minecraft is coded in Java. PLEASE learn Java.
  10. I'm not sure if this applies, and I could just be talking nonsense, but have you heard of TileEntitySpecialRenderer ? It applies to TileEntities and lets you custom render blocks through custom GL rendering code. Other than that, I suggest you use the .json. Mojang obviously seems intent upon switching to the .json system and might actually disable TileEntitySpecialRenderer in a later update. They're obviously trying to optimize it as best as possible, and while I agree that it's much easier to use TileEntitySpecialRenderer, it's better to switch now, instead of having to update everything later when you've already done all the GL stuff.
  11. So I'm attempting to make a user-configurable crafting recipe, and I'm running into this crash: [19:02:03] [main/INFO] [GradleStart]: Extra: [] [19:02:03] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --accessToken, {REDACTED}, --assetIndex, 1.8, --assetsDir, C:/Users/George/.gradle/caches/minecraft/assets, --version, 1.8, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker] [19:02:03] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [19:02:03] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [19:02:03] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker [19:02:03] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker [19:02:04] [main/INFO] [FML]: Forge Mod Loader version 8.99.205.1502 for Minecraft 1.8 loading [19:02:04] [main/INFO] [FML]: Java is Java HotSpot(TM) Client VM, version 1.7.0_79, running on Windows 8.1:x86:6.3, installed at C:\Program Files (x86)\Java\jre7 [19:02:04] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [19:02:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker [19:02:04] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin [19:02:04] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [19:02:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [19:02:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [19:02:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [19:02:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [19:02:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [19:02:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [19:02:05] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [19:02:14] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [19:02:14] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [19:02:14] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [19:02:15] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [19:02:15] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker [19:02:15] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker [19:02:15] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [19:02:17] [Client thread/INFO]: Setting user: Player562 [19:02:26] [Client thread/INFO]: LWJGL Version: 2.9.1 [19:02:28] [Client thread/INFO] [sTDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:235]: ---- Minecraft Crash Report ---- // This is a token for 1 free hug. Redeem at your nearest Mojangsta: [~~HUG~~] Time: 8/26/15 7:02 PM Description: Loading screen debug info This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.8 Operating System: Windows 8.1 (x86) version 6.3 Java Version: 1.7.0_79, Oracle Corporation Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation Memory: 852128488 bytes (812 MB) / 1046937600 bytes (998 MB) up to 1046937600 bytes (998 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: Loaded coremods (and transformers): GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.5.13399 Compatibility Profile Context 15.200.1062.1003' Renderer: 'AMD Radeon HD 8650G' [19:02:29] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization [19:02:29] [Client thread/INFO] [FML]: MinecraftForge v11.14.3.1502 Initialized [19:02:29] [Client thread/INFO] [FML]: Replaced 204 ore recipies [19:02:29] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization [19:02:30] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer [19:02:30] [Client thread/INFO] [FML]: Searching C:\Users\George\Desktop\Projects\Minecraft\Robot Sculptures\eclipse\mods for mods [19:02:37] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load [19:02:38] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, robotsculptures] at CLIENT [19:02:38] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, robotsculptures] at SERVER [19:02:40] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Robot Sculptures [19:02:40] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [19:02:40] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations [19:02:40] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations [19:02:40] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations [19:02:40] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [19:02:40] [Client thread/INFO] [sTDOUT]: [lordmastodon.robotsculptures.handler.ConfigurationHandler:loadConfiguration:35]: Loaded Configuration [19:02:40] [Client thread/INFO] [FML]: Applying holder lookups [19:02:40] [Client thread/INFO] [FML]: Holder lookups applied [19:02:40] [Client thread/INFO] [FML]: Injecting itemstacks [19:02:40] [Client thread/INFO] [FML]: Itemstack injection complete [19:02:42] [sound Library Loader/INFO]: Starting up SoundSystem... [19:02:42] [Thread-9/INFO]: Initializing LWJGL OpenAL [19:02:42] [Thread-9/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [19:02:43] [Thread-9/INFO]: OpenAL initialized. [19:02:43] [sound Library Loader/INFO]: Sound engine started [19:03:24] [Client thread/INFO] [FML]: Max texture size: 4096 [19:03:24] [Client thread/INFO]: Created: 16x16 textures-atlas [19:03:28] [Client thread/INFO] [FML]: Injecting itemstacks [19:03:28] [Client thread/INFO] [FML]: Itemstack injection complete [19:03:29] [Client thread/INFO] [sTDOUT]: [lordmastodon.robotsculptures.handler.ConfigurationHandler:loadConfiguration:35]: Loaded Configuration [19:03:29] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from POSTINITIALIZATION to AVAILABLE. Loading cannot continue [19:03:29] [Client thread/ERROR] [FML]: States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored UCHIJ mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) UCHIJ FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8-11.14.3.1502.jar) UCHIJ Forge{11.14.3.1502} [Minecraft Forge] (forgeSrc-1.8-11.14.3.1502.jar) UCHIE robotsculptures{1.0.0} [Robot Sculptures] (bin) [19:03:29] [Client thread/ERROR] [FML]: The following problems were captured during this phase [19:03:29] [Client thread/ERROR] [FML]: Caught exception from robotsculptures java.lang.NullPointerException at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:270) ~[forgeSrc-1.8-11.14.3.1502.jar:?] at net.minecraftforge.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:242) ~[forgeSrc-1.8-11.14.3.1502.jar:?] at net.minecraftforge.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:237) ~[forgeSrc-1.8-11.14.3.1502.jar:?] at lordmastodon.robotsculptures.crafting.RSCraftingRecipes.register(RSCraftingRecipes.java:12) ~[bin/:?] at lordmastodon.robotsculptures.RobotSculptures.postInit(RobotSculptures.java:51) ~[bin/:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_79] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_79] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_79] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_79] at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:537) ~[forgeSrc-1.8-11.14.3.1502.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_79] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_79] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_79] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_79] at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?] at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?] at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) ~[forgeSrc-1.8-11.14.3.1502.jar:?] at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[forgeSrc-1.8-11.14.3.1502.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_79] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_79] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_79] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_79] at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?] at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?] at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:119) [LoadController.class:?] at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:736) [Loader.class:?] at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:316) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:528) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:356) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:117) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_79] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_79] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_79] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_79] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?] at GradleStart.main(Unknown Source) [start/:?] [19:03:29] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:663]: ---- Minecraft Crash Report ---- // I blame Dinnerbone. Time: 8/26/15 7:03 PM Description: Initializing game java.lang.NullPointerException: Initializing game at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:270) at net.minecraftforge.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:242) at net.minecraftforge.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:237) at lordmastodon.robotsculptures.crafting.RSCraftingRecipes.register(RSCraftingRecipes.java:12) at lordmastodon.robotsculptures.RobotSculptures.postInit(RobotSculptures.java:51) 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.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:537) 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.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 net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:190) 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.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 net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:119) at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:736) at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:316) at net.minecraft.client.Minecraft.startGame(Minecraft.java:528) at net.minecraft.client.Minecraft.run(Minecraft.java:356) at net.minecraft.client.main.Main.main(Main.java:117) 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:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) at GradleStart.main(Unknown Source) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:270) at net.minecraftforge.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:242) at net.minecraftforge.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:237) at lordmastodon.robotsculptures.crafting.RSCraftingRecipes.register(RSCraftingRecipes.java:12) at lordmastodon.robotsculptures.RobotSculptures.postInit(RobotSculptures.java:51) 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.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:537) 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.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 net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:190) 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.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 net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:119) at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:736) at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:316) at net.minecraft.client.Minecraft.startGame(Minecraft.java:528) -- Initialization -- Details: Stacktrace: at net.minecraft.client.Minecraft.run(Minecraft.java:356) at net.minecraft.client.main.Main.main(Main.java:117) 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:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) at GradleStart.main(Unknown Source) -- System Details -- Details: Minecraft Version: 1.8 Operating System: Windows 8.1 (x86) version 6.3 Java Version: 1.7.0_79, Oracle Corporation Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation Memory: 818333080 bytes (780 MB) / 1046937600 bytes (998 MB) up to 1046937600 bytes (998 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v9.10 FML v8.0.99.99 Minecraft Forge 11.14.3.1502 4 mods loaded, 4 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored UCHIJ mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) UCHIJ FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8-11.14.3.1502.jar) UCHIJ Forge{11.14.3.1502} [Minecraft Forge] (forgeSrc-1.8-11.14.3.1502.jar) UCHIE robotsculptures{1.0.0} [Robot Sculptures] (bin) Loaded coremods (and transformers): GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.5.13399 Compatibility Profile Context 15.200.1062.1003' Renderer: 'AMD Radeon HD 8650G' Launched Version: 1.8 LWJGL: 2.9.1 OpenGL: AMD Radeon HD 8650G GL version 4.5.13399 Compatibility Profile Context 15.200.1062.1003, ATI Technologies Inc. GL Caps: Using GL 1.3 multitexturing. Using GL 1.3 texture combiners. Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported. Shaders are available because OpenGL 2.1 is supported. VBOs are available because OpenGL 1.5 is supported. Using VBOs: No Is Modded: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Resource Packs: [] Current Language: English (US) Profiler Position: N/A (disabled) [19:03:29] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:663]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\George\Desktop\Projects\Minecraft\Robot Sculptures\eclipse\.\crash-reports\crash-2015-08-26_19.03.29-client.txt AL lib: (EE) alc_cleanup: 1 device not closed Sorry if that's a really friggin' long crash report, but it's just the whole log because there's a bunch of messages that show the debugging in action. Here's the class that registers the crafting recipe: package lordmastodon.robotsculptures.crafting; import lordmastodon.robotsculptures.block.RSBlocks; import lordmastodon.robotsculptures.handler.ConfigurationHandler; import net.minecraft.item.ItemStack; import net.minecraftforge.fml.common.registry.GameRegistry; public class RSCraftingRecipes { public static void register() { //Ken Sculpture Recipe GameRegistry.addRecipe(new ItemStack(RSBlocks.ken_sculpture), "ABC", "DEF", "GHI", 'A', ConfigurationHandler.kenSculptureRecipeItems[0], 'B', ConfigurationHandler.kenSculptureRecipeItems[1], 'C', ConfigurationHandler.kenSculptureRecipeItems[2], 'D', ConfigurationHandler.kenSculptureRecipeItems[3], 'E', ConfigurationHandler.kenSculptureRecipeItems[4], 'F', ConfigurationHandler.kenSculptureRecipeItems[5], 'G', ConfigurationHandler.kenSculptureRecipeItems[6], 'H', ConfigurationHandler.kenSculptureRecipeItems[7], 'I', ConfigurationHandler.kenSculptureRecipeItems[8]); } } Here's the class that actually uses RSCraftingRecipes: package lordmastodon.robotsculptures; import lordmastodon.robotsculptures.block.RSBlocks; import lordmastodon.robotsculptures.constants.ModConstants; import lordmastodon.robotsculptures.crafting.RSCraftingRecipes; import lordmastodon.robotsculptures.creativetab.SculpturesTab; import lordmastodon.robotsculptures.handler.ConfigurationHandler; import lordmastodon.robotsculptures.proxy.CommonProxy; import lordmastodon.robotsculptures.tileentity.RSTileEntities; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.ItemStack; import net.minecraftforge.fml.common.FMLCommonHandler; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.Mod.EventHandler; import net.minecraftforge.fml.common.Mod.Instance; import net.minecraftforge.fml.common.SidedProxy; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.common.event.FMLPostInitializationEvent; import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; import net.minecraftforge.fml.common.registry.GameRegistry; @Mod(modid = ModConstants.MOD_ID, name = ModConstants.MOD_NAME, version = ModConstants.MOD_VERSION, acceptedMinecraftVersions = ModConstants.ACCEPTED_MINECRAFT_VERSIONS, guiFactory = ModConstants.GUI_FACTORY_PATH) public class RobotSculptures { @SidedProxy(clientSide = ModConstants.CLIENT_PROXY_PATH, serverSide = ModConstants.COMMON_PROXY_PATH) public static CommonProxy proxy; @Instance(ModConstants.MOD_ID) public static RobotSculptures instance; public static final SculpturesTab modTab = new SculpturesTab("tabSculptures"); @EventHandler public void preInit(FMLPreInitializationEvent event) { RSBlocks.init(); RSBlocks.register(); ConfigurationHandler.init(); FMLCommonHandler.instance().bus().register(new ConfigurationHandler()); } @EventHandler public void init(FMLInitializationEvent event) { proxy.registerRenders(); RSTileEntities.register(); } @EventHandler public void postInit(FMLPostInitializationEvent event) { ConfigurationHandler.loadConfiguration(); RSCraftingRecipes.register(); } } And finally here's ConfigurationHandler: package lordmastodon.robotsculptures.handler; import java.util.ArrayList; import java.util.List; import lordmastodon.robotsculptures.block.RSBlocks; import lordmastodon.robotsculptures.client.gui.RSGuiConfig; import lordmastodon.robotsculptures.constants.ModConstants; import net.minecraft.item.Item; import net.minecraftforge.fml.client.event.ConfigChangedEvent; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; import net.minecraftforge.fml.common.registry.GameRegistry; public class ConfigurationHandler { public static boolean kenSculptureExplosions = true; public static boolean kenSculptureFuse = true; public static int kenSculptureFuseLength = 60; public static double kenSculptureExplosionStrength = 3; public static Item[] kenSculptureRecipeItems = new Item[9]; public static void init () { loadConfiguration(); } @SubscribeEvent public void onConfigurationChangedEvent(ConfigChangedEvent.OnConfigChangedEvent event) { if (event.modID.equalsIgnoreCase(ModConstants.MOD_ID)) { loadConfiguration(); } } public static void loadConfiguration() { System.out.println("Loaded Configuration"); //KEN_SCULPTURE_CATEGORY kenSculptureExplosions = (Boolean) RSGuiConfig.kenSculptureExplosions.get(); kenSculptureFuse = (Boolean) RSGuiConfig.kenSculptureFuse.get(); kenSculptureFuseLength = (Integer) RSGuiConfig.kenSculptureFuseLength.get(); kenSculptureExplosionStrength = (Double) RSGuiConfig.kenSculptureExplosionStrength.get(); //KEN_SCULPTURE_RECIPE_CATEGORY for(int i = 0; i < kenSculptureRecipeItems.length; i++) { Object[] list = RSGuiConfig.kenSculptureRecipeIngredients.getList(); if(list[i].toString() != "") { String listString = (String) list[i].toString(); String modid = ""; if (listString.indexOf(":") != -1) { modid = listString.substring(0, listString.indexOf(":")); } else { System.out.println("Item modid: " + listString.indexOf(":")); throw new IllegalArgumentException("You haven't provided a modid for your item."); } kenSculptureRecipeItems[i] = GameRegistry.findItem(modid, list[i].toString()); } } } } Some final notes: 1. If you need the RSGuiConfig, let me know. 2. The problem is a NullPointerException here: GameRegistry.addRecipe(new ItemStack(RSBlocks.ken_sculpture) . Thanks in advance!
  12. I suppose it doesn't really matter what the unlocalized name is if I make all of mine the same, and I can simply refer the user to the wiki entry. Thank you everyone!
  13. OK, thanks! EDIT 1 Minecraft's unlocalized names are the same as its item names, right? I can't speak about any items from other mods, and I suppose users will have to use those at their own discretion, but Minecraft and my own mod are what I'm hoping to target here.
  14. So the item name is the name that I used to register the item with GameRegistry#registerItem ?
  15. So what's the point of adding modid to the findItem method if it already includes it?
  16. Got it. Thank you very much, but I'd still like to know if there's a way in which I can include both GameRegistry#findItem and GameRegistry#findBlock . What's the difference? How do I switch over to that? There doesn't appear to be any setItemId in the Block or Item class...
  17. Thank you very much. That has helped tremendously, but are you sure that applies to vanilla items as well? The class GameRegistry seems to have been registered by Forge, and unless Forge has included vanilla items in it, I'm not sure that would work. However, I'd also like to know if it can encompass items and blocks as well, because I wouldn't want it to only support items or only blocks.
  18. So, I'm trying to implement a customizable crafting recipe system (going pretty well) but I've hit one hitch. I've included this in the config system as string formatted like this: "<modid (would be minecraft for a vanilla item)>:<unlocalized name>" which means that the user has an easy way to configure crafting recipes in the event of a recipe conflict or the user simply wants to change it around. However, as of yet I've not found a way with which I can search the blockRegistry for a block using an unlocalized name. I imagine it wouldn't be that hard, and I've implemented a system for searching this way in my mod: List<Item> itemList = new ArrayList<Item>(); public Item getItemByUnlocalizedName(String unlocalizedName) { for (int i = 0; i < itemList.size(); i++) { if (itemList.get(i).getUnlocalizedName().substring(5).equals(unlocalizedName) { return itemList.get(i); } } return ""; } And I think that works pretty well. Any help would be greatly appreciated, thanks in advance!
  19. I highly doubt there's a plugin that's going to let you create a GUI without relaunching Minecraft, and your image editor is sort of a preview anyway. There almost certainly isn't a plugin for Eclipse, but an external program could exist. You can pretty much say for certain that there isn't going to be a program that generates the code for you, because every GUI is used differently and you'd have to create the code to use it anyway. As far as the creation of the image, version seriously doesn't matter at all. The image of the furnace GUI has not at all changed since its creation to the best of my knowledge, and it certainly hasn't since 1.6.4. Code-wise, as we discussed, this probably doesn't exist, but theoretically the GUI system changed a lot between 1.6.4 and 1.7.2, and since it was released about 1 and a half years ago, you'd be hard pressed to find a program that actually works for 1.6.4, and a player who's even still playing on 1.6.4. With all that in mind, I've never stumbled across something like this, and I've never heard of one, other than simply using something such as MCreator.
  20. Looked at the tutorial, I've decided I'm just going to use DummyCategoryElement. It seems to work quite well, with no obvious drawbacks.
  21. Have you any idea the normal equivalent to DummyCategoryElement? I can't quite find it and I'm pretty sure it's bad practice to use the Forge Dummy classes, although I have seen https://github.com/NovaViper/ZeroQuest/blob/master/src/main/java/net/novaviper/zeroquest/common/config/ConfigGuiFactory.java using them... EDIT 1 Also not so sure if ConfigCategory is the way to go...
  22. UPDATE Also wondering how to pass multiple config categories to the GuiConfig class: public RSGuiConfig(GuiScreen screen) { super(screen, //need multiple categories new ConfigElement(ConfigurationHandler.config.getCategory(ConfigCategories.KEN_SCULPTURE.toString())).getChildElements(), ModConstants.MOD_ID, false, false, GuiConfig.getAbridgedConfigPath(ConfigurationHandler.config.toString())))); }
  23. So I'm making a GuiFactory, and I have some questions about some of the functions. I'm watching Pahimar's tutorial on this, and he says that he's got no idea what the point of initialize, runtimeGuiCategories or getHandlerFor is, but that tutorial is for 1.7.10. Now I'm wondering if anything has changed for 1.8, and whether there is an actual point to these functions, and if so how to utilize them. Thanks in advance!
  24. I suppose it doesn't matter that much. I'm guessing absolutely no-one's going to put the model in a hole, and if they do they probably won't care about lighting glitches. Nobody puts something in a hole to get a better view of it.
×
×
  • Create New...

Important Information

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