Jump to content

(1.12.2) Minecraft Crashing: java.lang.NullPointerException: Initializing game


Recommended Posts

Posted

Minecraft crashes after the forge loading screen.

Crash Report:

Spoiler

---- Minecraft Crash Report ----

WARNING: coremods are present:
  ForgelinPlugin (Forgelin-1.8.3.jar)
  Inventory Tweaks Coremod (InventoryTweaks-1.63.jar)
  Snow! Real Magic! Core Mod (SnowRealMagic-0.3.2-coremod.jar)
  MicdoodlePlugin (MicdoodleCore-1.12.2-4.0.2.210.jar)
  Quark Plugin (Quark-r1.5-167.jar)
  OTGCorePlugin (OTG-Core.jar)
  SSLoadingPlugin (SereneSeasons-1.12.2-1.2.16-universal.jar)
  Snow! Real Magic! Core Mod (SnowRealMagic-0.3.1-coremod.jar)
  FarseekCoreMod (Farseek-1.12-2.3.2.jar)
  CTMCorePlugin (CTM-MC1.12.2-0.3.3.22.jar)
  LoadingPlugin (Bloodmoon-MC1.12.2-1.5.3.jar)
Contact their authors BEFORE contacting forge

// Oh - I know what I did wrong!

Time: 7/8/19 10:30 PM
Description: Initializing game

java.lang.NullPointerException: Initializing game
    at com.tfar.extraanvils.Setup.registerBlocks(Setup.java:120)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_46_Setup_registerBlocks_Register.invoke(.dynamic)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
    at net.minecraftforge.fml.common.eventhandler.EventBus$1.invoke(EventBus.java:144)
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
    at net.minecraftforge.registries.GameData.fireRegistryEvents(GameData.java:845)
    at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:628)
    at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:252)
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:467)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:378)
    at net.minecraft.client.main.Main.main(SourceFile:123)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)


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

-- Head --
Thread: Client thread
Stacktrace:
    at com.tfar.extraanvils.Setup.registerBlocks(Setup.java:120)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_46_Setup_registerBlocks_Register.invoke(.dynamic)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
    at net.minecraftforge.fml.common.eventhandler.EventBus$1.invoke(EventBus.java:144)
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
    at net.minecraftforge.registries.GameData.fireRegistryEvents(GameData.java:845)
    at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:628)
    at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:252)
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:467)

-- Initialization --
Details:
Stacktrace:
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:378)
    at net.minecraft.client.main.Main.main(SourceFile:123)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

-- System Details --
Details:
    Minecraft Version: 1.12.2
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_51, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 662562048 bytes (631 MB) / 1591214080 bytes (1517 MB) up to 2863661056 bytes (2731 MB)
    JVM Flags: 4 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx3072m -Xms256m -XX:PermSize=256m
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP 9.42 Powered by Forge 14.23.5.2838 Optifine OptiFine_1.12.2_HD_U_E3 79 mods loaded, 79 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

    | State | ID                   | Version                  | Source                                               | Signature                                |
    |:----- |:-------------------- |:------------------------ |:---------------------------------------------------- |:---------------------------------------- |
    | LCH   | minecraft            | 1.12.2                   | minecraft.jar                                        | None                                     |
    | LCH   | mcp                  | 9.42                     | minecraft.jar                                        | None                                     |
    | LCH   | FML                  | 8.0.99.99                | forge-1.12.2-14.23.5.2838.jar                        | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    | LCH   | forge                | 14.23.5.2838             | forge-1.12.2-14.23.5.2838.jar                        | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    | LCH   | micdoodlecore        |                          | minecraft.jar                                        | None                                     |
    | LCH   | otgcore              | 1.12.2 - v7              | minecraft.jar                                        | None                                     |
    | LCH   | actuallyadditions    | 1.12.2-r148              | ActuallyAdditions-1.12.2-r148.jar                    | None                                     |
    | LCH   | baubles              | 1.5.2                    | Baubles-1.12-1.5.2.jar                               | None                                     |
    | LCH   | actuallybaubles      | 1.1                      | ActuallyBaubles-1.12-1.1.jar                         | None                                     |
    | LCH   | craftstudioapi       | 1.0.0                    | CraftStudioAPI-universal-1.0.1.95-mc1.12-alpha.jar   | None                                     |
    | LCH   | openterraingenerator | v6                       | OpenTerrainGenerator-1.12.2 - v6.jar                 | e9f7847a78c5342af5b0a9e04e5abc0b554d69e0 |
    | LCH   | harvestcraft         | 1.12.2zb                 | Pam's HarvestCraft 1.12.2zd Surprise for Yogcast.jar | None                                     |
    | LCH   | animania             | 1.6.2                    | animania-1.12.2-1.6.2.jar                            | None                                     |
    | LCH   | jei                  | 4.15.0.268               | jei_1.12.2-4.15.0.268.jar                            | None                                     |
    | LCH   | appleskin            | 1.0.9                    | AppleSkin-mc1.12-1.0.9.jar                           | None                                     |
    | LCH   | quark                | r1.5-167                 | Quark-r1.5-167.jar                                   | None                                     |
    | LCH   | autoreglib           | 1.3-31                   | AutoRegLib-1.3-31.jar                                | None                                     |
    | LCH   | betterbuilderswands  | 0.11.1                   | BetterBuildersWands-1.12-0.11.1.245+69d0d70.jar      | None                                     |
    | LCH   | bettervillagers      | 1.12.2-0.2.0.0           | BetterVillagers-1.12.2-0.2.0.0.jar                   | None                                     |
    | LCH   | bibliocraft          | 2.4.5                    | BiblioCraft[v2.4.5][MC1.12.2].jar                    | None                                     |
    | LCH   | biomebundle          | 5.1                      | Biome_Bundle-1.12.2-v6.1.jar                         | None                                     |
    | LCH   | bloodmoon            | 1.5.3                    | Bloodmoon-MC1.12.2-1.5.3.jar                         | d72e0dd57935b3e9476212aea0c0df352dd76291 |
    | LCH   | cdm                  | 0.4.1                    | cdm-0.4.1-mc1.12.2.jar                               | None                                     |
    | LCH   | ceramics             | 1.12-1.3.7               | Ceramics-1.12-1.3.7.jar                              | None                                     |
    | LCH   | chameleon            | 1.12-4.1.3               | Chameleon-1.12-4.1.3.jar                             | None                                     |
    | LCH   | chancecubes          | 1.12.2-4.0.0.271         | ChanceCubes-1.12.2-4.0.0.271.jar                     | None                                     |
    | LCH   | ctm                  | MC1.12.2-0.3.3.22        | CTM-MC1.12.2-0.3.3.22.jar                            | None                                     |
    | LCH   | chisel               | MC1.12.2-0.2.1.35        | Chisel-MC1.12.2-0.2.1.35.jar                         | None                                     |
    | LCH   | clumps               | 3.1.2                    | Clumps-3.1.2.jar                                     | None                                     |
    | LCH   | extendedrenderer     | v1.0                     | coroutil-1.12.1-1.2.32.jar                           | None                                     |
    | LCH   | coroutil             | 1.12.1-1.2.32            | coroutil-1.12.1-1.2.32.jar                           | None                                     |
    | LCH   | configmod            | v1.0                     | coroutil-1.12.1-1.2.32.jar                           | None                                     |
    | LCH   | extraanvils          | @VERSION@                | extraanvils-0.8b.jar                                 | None                                     |
    | LCH   | extrautils2          | 1.0                      | extrautils2-1.12-1.9.9.jar                           | None                                     |
    | LCH   | farseek              | 2.3.2                    | Farseek-1.12-2.3.2.jar                               | None                                     |
    | LCH   | forgelin             | 1.8.3                    | Forgelin-1.8.3.jar                                   | None                                     |
    | LCH   | fpsreducer           | mc1.12.2-1.12.4          | FpsReducer-mc1.12.2-1.12.4.jar                       | None                                     |
    | LCH   | cfm                  | 6.3.0                    | furniture-6.3.0-1.12.2.jar                           | None                                     |
    | LCH   | mantle               | 1.12-1.3.3.55            | Mantle-1.12-1.3.3.55.jar                             | None                                     |
    | LCH   | galacticraftcore     | 4.0.2.210                | GalacticraftCore-1.12.2-4.0.2.210.jar                | None                                     |
    | LCH   | galacticraftplanets  | 4.0.2.210                | Galacticraft-Planets-1.12.2-4.0.2.210.jar            | None                                     |
    | LCH   | ichunutil            | 7.2.1                    | iChunUtil-1.12.2-7.2.1.jar                           | 4db5c2bd1b556f252a5b8b54b256d381b2a0a6b8 |
    | LCH   | hats                 | 7.0.0                    | Hats-1.12.2-7.0.2.jar                                | None                                     |
    | LCH   | waila                | 1.8.26                   | Hwyla-1.8.26-B41_1.12.2.jar                          | None                                     |
    | LCH   | lunatriuscore        | 1.2.0.42                 | LunatriusCore-1.12.2-1.2.0.42-universal.jar          | None                                     |
    | LCH   | ingameinfoxml        | 2.8.2.94                 | InGameInfoXML-1.12.2-2.8.2.94-universal.jar          | None                                     |
    | LCH   | sereneseasons        | 1.2.16                   | SereneSeasons-1.12.2-1.2.16-universal.jar            | None                                     |
    | LCH   | igisereneseasons     | 1.0.0.1                  | igisereneseasons-1.0.0.1.jar                         | None                                     |
    | LCH   | infinitefluids       | 1.2.0                    | infinitefluids-1.11-1.2.0.jar                        | None                                     |
    | LCH   | inventorypets        | 2.0.1                    | inventorypets-1.12-2.0.1.jar                         | None                                     |
    | LCH   | inventorytweaks      | 1.63+release.109.220f184 | InventoryTweaks-1.63.jar                             | 55d2cd4f5f0961410bf7b91ef6c6bf00a766dcbe |
    | LCH   | ironbackpacks        | 1.12.2-3.0.8-12          | IronBackpacks-1.12.2-3.0.8-12.jar                    | None                                     |
    | LCH   | ironchest            | 1.12.2-7.0.67.844        | ironchest-1.12.2-7.0.69.845.jar                      | None                                     |
    | LCH   | journeymap           | 1.12.2-5.5.4             | journeymap-1.12.2-5.5.4.jar                          | None                                     |
    | LCH   | leatherprocessing    | 1.1.0                    | leatherprocessing-1.1.0.jar                          | None                                     |
    | LCH   | shadowmc             | 3.8.0                    | ShadowMC-1.12-3.8.0.jar                              | None                                     |
    | LCH   | leveluphp            | 1.12.2-1.4.0             | leveluphp-1.12.2-1.4.0.jar                           | None                                     |
    | LCH   | lootbags             | 2.5.8.5                  | LootBags-1.12.2-2.5.8.5.jar                          | None                                     |
    | LCH   | mcjtylib_ng          | 3.5.3                    | mcjtylib-1.12-3.5.3.jar                              | None                                     |
    | LCH   | mjrlegendslib        | 1.12.2-1.1.8             | MJRLegendsLib-1.12.2-1.1.8.jar                       | b02331787272ec3515ebe63ecdeea0d746653468 |
    | LCH   | morph                | 7.1.3                    | Morph-1.12.2-7.1.3.jar                               | 4db5c2bd1b556f252a5b8b54b256d381b2a0a6b8 |
    | LCH   | mousetweaks          | 2.10                     | MouseTweaks-2.10-mc1.12.2.jar                        | None                                     |
    | LCH   | neat                 | 1.4-17                   | Neat 1.4-17.jar                                      | None                                     |
    | LCH   | oreexcavation        | 1.4.140                  | OreExcavation-1.4.140.jar                            | None                                     |
    | LCH   | osmw                 | 0.1.1                    | osmw-0.1.1.jar                                       | None                                     |
    | LCH   | simplerecipes        | 1.12.2c                  | Pam's Simple Recipes 1.12.2c.jar                     | None                                     |
    | LCH   | realdrops            | 1.2.14                   | RealisticItemDrops-1.2.14.jar                        | None                                     |
    | LCH   | soundfilters         | 0.11_for_1.12            | SoundFilters-0.11_for_1.12.jar                       | None                                     |
    | LCH   | stg                  | 1.12.2-1.2.3             | stg-1.12.2-1.2.3.jar                                 | None                                     |
    | LCH   | storagedrawers       | 1.12-5.3.5               | StorageDrawers-1.12.2-5.3.8.jar                      | None                                     |
    | LCH   | streams              | 0.4.7                    | Streams-1.12-0.4.7.jar                               | None                                     |
    | LCH   | thaumcraft           | 6.1.BETA26               | Thaumcraft-1.12.2-6.1.BETA26.jar                     | None                                     |
    | LCH   | thaumicjei           | 1.6.0                    | ThaumicJEI-1.12.2-1.6.0-27.jar                       | None                                     |
    | LCH   | toughasnails         | 3.1.0.139                | ToughAsNails-1.12.2-3.1.0.139-universal.jar          | None                                     |
    | LCH   | wawla                | 2.5.273                  | Wawla-1.12.2-2.5.273.jar                             | d476d1b22b218a10d845928d1665d45fce301b27 |
    | LCH   | waystones            | 4.0.72                   | Waystones_1.12.2-4.0.72.jar                          | None                                     |
    | LCH   | weather2             | 1.12.1-2.6.12            | weather2-1.12.1-2.6.12.jar                           | None                                     |
    | LCH   | orelib               | 3.5.2.2                  | OreLib-1.12.2-3.5.2.2.jar                            | 7a2128d395ad96ceb9d9030fbd41d035b435753a |
    | LCH   | snowrealmagic        | 0.3.2                    | SnowRealMagic-0.3.2.jar                              | None                                     |

    Loaded coremods (and transformers):
ForgelinPlugin (Forgelin-1.8.3.jar)
 
Inventory Tweaks Coremod (InventoryTweaks-1.63.jar)
  invtweaks.forge.asm.ContainerTransformer
Snow! Real Magic! Core Mod (SnowRealMagic-0.3.2-coremod.jar)
  snownee.snow.asm.ASMTransformer
MicdoodlePlugin (MicdoodleCore-1.12.2-4.0.2.210.jar)
  micdoodle8.mods.miccore.MicdoodleTransformer
Quark Plugin (Quark-r1.5-167.jar)
  vazkii.quark.base.asm.ClassTransformer
OTGCorePlugin (OTG-Core.jar)
  com.pg85.otg.forge.asm.OTGClassTransformer
SSLoadingPlugin (SereneSeasons-1.12.2-1.2.16-universal.jar)
  sereneseasons.asm.transformer.EntityRendererTransformer
  sereneseasons.asm.transformer.WorldTransformer
Snow! Real Magic! Core Mod (SnowRealMagic-0.3.1-coremod.jar)
  snownee.snow.asm.ASMTransformer
FarseekCoreMod (Farseek-1.12-2.3.2.jar)
  farseek.core.FarseekClassTransformer
CTMCorePlugin (CTM-MC1.12.2-0.3.3.22.jar)
  team.chisel.ctm.client.asm.CTMTransformer
LoadingPlugin (Bloodmoon-MC1.12.2-1.5.3.jar)
  lumien.bloodmoon.asm.ClassTransformer
    GL info: ' Vendor: 'Intel' Version: '4.4.0 - Build 21.20.16.4821' Renderer: 'Intel(R) HD Graphics 520'
    Launched Version: forge-14.23.5.2838
    LWJGL: 2.9.4
    OpenGL: Intel(R) HD Graphics 520 GL version 4.4.0 - Build 21.20.16.4821, Intel
    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: Yes
    Is Modded: Definitely; Client brand changed to 'fml,forge'
    Type: Client (map_client.txt)
    Resource Packs: VanillaTweaks_r521828.zip
    Current Language: English (US)
    Profiler Position: N/A (disabled)
    CPU: 4x Intel(R) Core(TM) i3-6100U CPU @ 2.30GHz
    OptiFine Version: OptiFine_1.12.2_HD_U_E3
    OptiFine Build: 20181210-121000
    Render Distance Chunks: 5
    Mipmaps: 4
    Anisotropic Filtering: 1
    Antialiasing: 0
    Multitexture: false
    Shaders: null
    OpenGlVersion: 4.4.0 - Build 21.20.16.4821
    OpenGlRenderer: Intel(R) HD Graphics 520
    OpenGlVendor: Intel
    CpuCount: 4

 

 

  • Derfey changed the title to (1.12.2) Minecraft Crashing: java.lang.NullPointerException: Initializing game
Posted

Extra Anvils is broken, update to the latest version, if you are using the latest version report it to the author.

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

Spoiler

Logs (Most issues require logs to diagnose):

Spoiler

Please post logs using one of the following sites (Thank you Lumber Wizard for the list):

https://gist.github.com/100MB Requires member (Free)

https://pastebin.com/: 512KB as guest, 10MB as Pro ($$$)

https://hastebin.com/: 400KB

Do NOT use sites like Mediafire, Dropbox, OneDrive, Google Drive, or a site that has a countdown before offering downloads.

 

What to provide:

...for Crashes and Runtime issues:

Minecraft 1.14.4 and newer:

Post debug.log

Older versions:

Please update...

 

...for Installer Issues:

Post your installer log, found in the same place you ran the installer

This log will be called either installer.log or named the same as the installer but with .log on the end

Note for Windows users:

Windows hides file extensions by default so the installer may appear without the .jar extension then when the .log is added the log will appear with the .jar extension

 

Where to get it:

Mojang Launcher: When using the Mojang launcher debug.log is found in .minecraft\logs.

 

Curse/Overwolf: If you are using the Curse Launcher, their configurations break Forge's log settings, fortunately there is an easier workaround than I originally thought, this works even with Curse's installation of the Minecraft launcher as long as it is not launched THROUGH Twitch:

Spoiler
  1. Make sure you have the correct version of Forge installed (some packs are heavily dependent on one specific build of Forge)
  2. Make a launcher profile targeting this version of Forge.
  3. Set the launcher profile's GameDir property to the pack's instance folder (not the instances folder, the folder that has the pack's name on it).
  4. Now launch the pack through that profile and follow the "Mojang Launcher" instructions above.

Video:

Spoiler

 

 

 

or alternately, 

 

Fallback ("No logs are generated"):

If you don't see logs generated in the usual place, provide the launcher_log.txt from .minecraft

 

Server Not Starting:

Spoiler

If your server does not start or a command window appears and immediately goes away, run the jar manually and provide the output.

 

Reporting Illegal/Inappropriate Adfocus Ads:

Spoiler

Get a screenshot of the URL bar or copy/paste the whole URL into a thread on the General Discussion board with a description of the Ad.

Lex will need the Ad ID contained in that URL to report it to Adfocus' support team.

 

Posting your mod as a GitHub Repo:

Spoiler

When you have an issue with your mod the most helpful thing you can do when asking for help is to provide your code to those helping you. The most convenient way to do this is via GitHub or another source control hub.

When setting up a GitHub Repo it might seem easy to just upload everything, however this method has the potential for mistakes that could lead to trouble later on, it is recommended to use a Git client or to get comfortable with the Git command line. The following instructions will use the Git Command Line and as such they assume you already have it installed and that you have created a repository.

 

  1. Open a command prompt (CMD, Powershell, Terminal, etc).
  2. Navigate to the folder you extracted Forge’s MDK to (the one that had all the licenses in).
  3. Run the following commands:
    1. git init
    2. git remote add origin [Your Repository's URL]
      • In the case of GitHub it should look like: https://GitHub.com/[Your Username]/[Repo Name].git
    3. git fetch
    4. git checkout --track origin/master
    5. git stage *
    6. git commit -m "[Your commit message]"
    7. git push
  4. Navigate to GitHub and you should now see most of the files.
    • note that it is intentional that some are not synced with GitHub and this is done with the (hidden) .gitignore file that Forge’s MDK has provided (hence the strictness on which folder git init is run from)
  5. Now you can share your GitHub link with those who you are asking for help.

[Workaround line, please ignore]

 

Posted

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Posted

Oh my god, Cadiboo does that look like dynamic registration code to you?

  • Haha 1

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

Spoiler

Logs (Most issues require logs to diagnose):

Spoiler

Please post logs using one of the following sites (Thank you Lumber Wizard for the list):

https://gist.github.com/100MB Requires member (Free)

https://pastebin.com/: 512KB as guest, 10MB as Pro ($$$)

https://hastebin.com/: 400KB

Do NOT use sites like Mediafire, Dropbox, OneDrive, Google Drive, or a site that has a countdown before offering downloads.

 

What to provide:

...for Crashes and Runtime issues:

Minecraft 1.14.4 and newer:

Post debug.log

Older versions:

Please update...

 

...for Installer Issues:

Post your installer log, found in the same place you ran the installer

This log will be called either installer.log or named the same as the installer but with .log on the end

Note for Windows users:

Windows hides file extensions by default so the installer may appear without the .jar extension then when the .log is added the log will appear with the .jar extension

 

Where to get it:

Mojang Launcher: When using the Mojang launcher debug.log is found in .minecraft\logs.

 

Curse/Overwolf: If you are using the Curse Launcher, their configurations break Forge's log settings, fortunately there is an easier workaround than I originally thought, this works even with Curse's installation of the Minecraft launcher as long as it is not launched THROUGH Twitch:

Spoiler
  1. Make sure you have the correct version of Forge installed (some packs are heavily dependent on one specific build of Forge)
  2. Make a launcher profile targeting this version of Forge.
  3. Set the launcher profile's GameDir property to the pack's instance folder (not the instances folder, the folder that has the pack's name on it).
  4. Now launch the pack through that profile and follow the "Mojang Launcher" instructions above.

Video:

Spoiler

 

 

 

or alternately, 

 

Fallback ("No logs are generated"):

If you don't see logs generated in the usual place, provide the launcher_log.txt from .minecraft

 

Server Not Starting:

Spoiler

If your server does not start or a command window appears and immediately goes away, run the jar manually and provide the output.

 

Reporting Illegal/Inappropriate Adfocus Ads:

Spoiler

Get a screenshot of the URL bar or copy/paste the whole URL into a thread on the General Discussion board with a description of the Ad.

Lex will need the Ad ID contained in that URL to report it to Adfocus' support team.

 

Posting your mod as a GitHub Repo:

Spoiler

When you have an issue with your mod the most helpful thing you can do when asking for help is to provide your code to those helping you. The most convenient way to do this is via GitHub or another source control hub.

When setting up a GitHub Repo it might seem easy to just upload everything, however this method has the potential for mistakes that could lead to trouble later on, it is recommended to use a Git client or to get comfortable with the Git command line. The following instructions will use the Git Command Line and as such they assume you already have it installed and that you have created a repository.

 

  1. Open a command prompt (CMD, Powershell, Terminal, etc).
  2. Navigate to the folder you extracted Forge’s MDK to (the one that had all the licenses in).
  3. Run the following commands:
    1. git init
    2. git remote add origin [Your Repository's URL]
      • In the case of GitHub it should look like: https://GitHub.com/[Your Username]/[Repo Name].git
    3. git fetch
    4. git checkout --track origin/master
    5. git stage *
    6. git commit -m "[Your commit message]"
    7. git push
  4. Navigate to GitHub and you should now see most of the files.
    • note that it is intentional that some are not synced with GitHub and this is done with the (hidden) .gitignore file that Forge’s MDK has provided (hence the strictness on which folder git init is run from)
  5. Now you can share your GitHub link with those who you are asking for help.

[Workaround line, please ignore]

 

Posted
19 hours ago, DaemonUmbra said:

Oh my god, Cadiboo does that look like dynamic registration code to you?

Unfortunately thats exactly what it is. They're also (mis)using their own config system for it.

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Posted (edited)

https://github.com/Tfarcenim/Extra-Anvils/issues/15#issuecomment-509888840

Oops. @Derfey I guess you should ditch that mod then.

Edited by DavidM

Some tips:

Spoiler

Modder Support:

Spoiler

1. Do not follow tutorials on YouTube, especially TechnoVision (previously called Loremaster) and HarryTalks, due to their promotion of bad practice and usage of outdated code.

2. Always post your code.

3. Never copy and paste code. You won't learn anything from doing that.

4. 

Quote

Programming via Eclipse's hotfixes will get you nowhere

5. Learn to use your IDE, especially the debugger.

6.

Quote

The "picture that's worth 1000 words" only works if there's an obvious problem or a freehand red circle around it.

Support & Bug Reports:

Spoiler

1. Read the EAQ before asking for help. Remember to provide the appropriate log(s).

2. Versions below 1.11 are no longer supported due to their age. Update to a modern version of Minecraft to receive support.

 

 

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



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • This is the last line before the crash: [ebwizardry]: Synchronising spell emitters for PixelTraveler But I have no idea what this means
    • What in particular? I barely used that mod this time around, and it's never been a problem in the past.
    • Im trying to build my mod using shade since i use the luaj library however i keep getting this error Reason: Task ':reobfJar' uses this output of task ':shadowJar' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. So i try adding reobfJar.dependsOn shadowJar  Could not get unknown property 'reobfJar' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. my gradle file plugins { id 'eclipse' id 'idea' id 'maven-publish' id 'net.minecraftforge.gradle' version '[6.0,6.2)' id 'com.github.johnrengelman.shadow' version '7.1.2' id 'org.spongepowered.mixin' version '0.7.+' } apply plugin: 'net.minecraftforge.gradle' apply plugin: 'org.spongepowered.mixin' apply plugin: 'com.github.johnrengelman.shadow' version = mod_version group = mod_group_id base { archivesName = mod_id } // Mojang ships Java 17 to end users in 1.18+, so your mod should target Java 17. java.toolchain.languageVersion = JavaLanguageVersion.of(17) //jarJar.enable() println "Java: ${System.getProperty 'java.version'}, JVM: ${System.getProperty 'java.vm.version'} (${System.getProperty 'java.vendor'}), Arch: ${System.getProperty 'os.arch'}" minecraft { mappings channel: mapping_channel, version: mapping_version copyIdeResources = true runs { configureEach { workingDirectory project.file('run') property 'forge.logging.markers', 'REGISTRIES' property 'forge.logging.console.level', 'debug' arg "-mixin.config=derp.mixin.json" mods { "${mod_id}" { source sourceSets.main } } } client { // Comma-separated list of namespaces to load gametests from. Empty = all namespaces. property 'forge.enabledGameTestNamespaces', mod_id } server { property 'forge.enabledGameTestNamespaces', mod_id args '--nogui' } gameTestServer { property 'forge.enabledGameTestNamespaces', mod_id } data { workingDirectory project.file('run-data') args '--mod', mod_id, '--all', '--output', file('src/generated/resources/'), '--existing', file('src/main/resources/') } } } sourceSets.main.resources { srcDir 'src/generated/resources' } repositories { flatDir { dirs './libs' } maven { url = "https://jitpack.io" } } configurations { shade implementation.extendsFrom shade } dependencies { minecraft "net.minecraftforge:forge:${minecraft_version}-${forge_version}" implementation 'org.luaj:luaj-jse-3.0.2' implementation fg.deobf("com.github.Virtuoel:Pehkui:${pehkui_version}") annotationProcessor 'org.spongepowered:mixin:0.8.5:processor' minecraftLibrary 'luaj:luaj-jse:3.0.2' shade 'luaj:luaj-jse:3.0.2' } // Example for how to get properties into the manifest for reading at runtime. tasks.named('jar', Jar).configure { manifest { attributes([ 'Specification-Title' : mod_id, 'Specification-Vendor' : mod_authors, 'Specification-Version' : '1', // We are version 1 of ourselves 'Implementation-Title' : project.name, 'Implementation-Version' : project.jar.archiveVersion, 'Implementation-Vendor' : mod_authors, 'Implementation-Timestamp': new Date().format("yyyy-MM-dd'T'HH:mm:ssZ"), "TweakClass" : "org.spongepowered.asm.launch.MixinTweaker", "TweakOrder" : 0, "MixinConfigs" : "derp.mixin.json" ]) } rename 'mixin.refmap.json', 'derp.mixin-refmap.json' } shadowJar { archiveClassifier = '' configurations = [project.configurations.shade] finalizedBy 'reobfShadowJar' } assemble.dependsOn shadowJar reobf { re shadowJar {} } publishing { publications { mavenJava(MavenPublication) { artifact jar } } repositories { maven { url "file://${project.projectDir}/mcmodsrepo" } } }  
    • All versions of Minecraft Forge suddenly black screen even without mods (tried reinstalling original Minecraft, Java, updating drivers doesn't work)
  • Topics

×
×
  • Create New...

Important Information

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