java.lang.IllegalArgumentException: Can’t add the name (compactedSnow) without a prefix, object jonasplays.snowmod.moditems.CompactedSnow@422f09ba

wuppy29.com | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Updating 1.7 to 1.8 Part 2: Basic Items | Minecraft Mods and Modding

    wuppy29.com | 8 months ago
    java.lang.IllegalArgumentException: Can’t add the name (compactedSnow) without a prefix, object jonasplays.snowmod.moditems.CompactedSnow@422f09ba

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Can’t add the name (compactedSnow) without a prefix, object jonasplays.snowmod.moditems.CompactedSnow@422f09ba

      at net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add()
    2. MC Forge
      GameRegistry.registerItem
      1. net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.add(FMLControlledNamespacedRegistry.java:359)[forgeSrc-1.8-11.14.0.1285-1.8.jar:?]
      2. net.minecraftforge.fml.common.registry.GameData.registerItem(GameData.java:747)[forgeSrc-1.8-11.14.0.1285-1.8.jar:?]
      3. net.minecraftforge.fml.common.registry.GameData.registerItem(GameData.java:711)[forgeSrc-1.8-11.14.0.1285-1.8.jar:?]
      4. net.minecraftforge.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:143)[forgeSrc-1.8-11.14.0.1285-1.8.jar:?]
      5. net.minecraftforge.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:131)[forgeSrc-1.8-11.14.0.1285-1.8.jar:?]
      5 frames
    3. jonasplays.snowmod.moditems
      ModItems.init
      1. jonasplays.snowmod.moditems.CompactedSnow.<init>(CompactedSnow.java:13)[Snow%20Mod/:?]
      2. jonasplays.snowmod.moditems.ModItems.init(ModItems.java:11)[Snow%20Mod/:?]
      2 frames
    4. jonasplays.snowmod.snowmod
      SnowMod.preInit
      1. jonasplays.snowmod.snowmod.SnowMod.preInit(SnowMod.java:21)[Snow%20Mod/:?]
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.7.0_67]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[?:1.7.0_67]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.7.0_67]
      4. java.lang.reflect.Method.invoke(Method.java:606)[?:1.7.0_67]
      4 frames
    6. MC Forge
      FMLModContainer.handleModStateEvent
      1. net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:515)[forgeSrc-1.8-11.14.0.1285-1.8.jar:?]
      1 frame
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.7.0_67]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[?:1.7.0_67]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.7.0_67]
      4. java.lang.reflect.Method.invoke(Method.java:606)[?:1.7.0_67]
      4 frames
    8. Guava
      EventBus.post
      1. com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)[guava-17.0.jar:?]
      2. com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)[guava-17.0.jar:?]
      3. com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)[guava-17.0.jar:?]
      4. com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)[guava-17.0.jar:?]
      5. com.google.common.eventbus.EventBus.post(EventBus.java:275)[guava-17.0.jar:?]
      5 frames
    9. MC Forge
      LoadController.propogateStateMessage
      1. net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:208)[forgeSrc-1.8-11.14.0.1285-1.8.jar:?]
      2. net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:187)[forgeSrc-1.8-11.14.0.1285-1.8.jar:?]
      2 frames
    10. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.7.0_67]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[?:1.7.0_67]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.7.0_67]
      4. java.lang.reflect.Method.invoke(Method.java:606)[?:1.7.0_67]
      4 frames
    11. Guava
      EventBus.post
      1. com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)[guava-17.0.jar:?]
      2. com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)[guava-17.0.jar:?]
      3. com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)[guava-17.0.jar:?]
      4. com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)[guava-17.0.jar:?]
      5. com.google.common.eventbus.EventBus.post(EventBus.java:275)[guava-17.0.jar:?]
      5 frames
    12. MC Forge
      FMLClientHandler.beginMinecraftLoading
      1. net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118)[LoadController.class:?]
      2. net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:514)[Loader.class:?]
      3. net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243)[FMLClientHandler.class:?]
      3 frames
    13. MC Client
      Main.main
      1. net.minecraft.client.Minecraft.startGame(Minecraft.java:412)[Minecraft.class:?]
      2. net.minecraft.client.Minecraft.run(Minecraft.java:325)[Minecraft.class:?]
      3. net.minecraft.client.main.Main.main(Main.java:117)[Main.class:?]
      3 frames
    14. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.7.0_67]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[?:1.7.0_67]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.7.0_67]
      4. java.lang.reflect.Method.invoke(Method.java:606)[?:1.7.0_67]
      4 frames
    15. Minecraft
      Launch.main
      1. net.minecraft.launchwrapper.Launch.launch(Launch.java:135)[launchwrapper-1.11.jar:?]
      2. net.minecraft.launchwrapper.Launch.main(Launch.java:28)[launchwrapper-1.11.jar:?]
      2 frames
    16. CelestiGradle
      GradleStartCommon.launch
      1. net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:78)[start/:?]
      1 frame
    17. Unknown
      GradleStart.main
      1. GradleStart.main(GradleStart.java:45)[start/:?]
      1 frame
    18. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.7.0_67]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[?:1.7.0_67]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.7.0_67]
      4. java.lang.reflect.Method.invoke(Method.java:606)[?:1.7.0_67]
      4 frames
    19. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)[idea_rt.jar:?]
      1 frame