Vai al contenuto
Il server del mese è
Visita la nostra nuova lista server!

Archiviato

Questa discussione è archiviata e chiusa a future risposte.

  • 0
Ospite

Non riesco a far provare la mod creata in eclipse!

Domanda

Ospite

Ho un problema con la mod che non si carica:

[spoiler][19:15:05] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[19:15:05] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[19:15:05] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[19:15:05] [main/INFO] [FML]: Forge Mod Loader version 11.14.3.1515 for Minecraft 1.8 loading
[19:15:05] [main/INFO] [FML]: Java is Java HotSpot(TM) Client VM, version 1.8.0_60, running on Windows 7:x86:6.1, installed at C:\Program Files\Java\jre1.8.0_60
[19:15:05] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[19:15:05] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[19:15:05] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[19:15:05] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[19:15:05] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[19:15:10] [main/INFO] [FML]: Found valid fingerprint for Minecraft. Certificate fingerprint cd99959656f753dc28d863b46769f7f8fbaefcfc
[19:15:10] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[19:15:10] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[19:15:10] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[19:15:11] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[19:15:11] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[19:15:11] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[19:15:12] [Client thread/INFO]: Setting user: TheKirbyAbility
[19:15:19] [Client thread/INFO]: LWJGL Version: 2.9.1
[19:15:20] [Client thread/INFO] [STDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:246]: ---- Minecraft Crash Report ----
// Don't do that.

Time: 26/09/15 19.15
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 7 (x86) version 6.1
    Java Version: 1.8.0_60, Oracle Corporation
    Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
    Memory: 114251736 bytes (108 MB) / 223281152 bytes (212 MB) up to 523501568 bytes (499 MB)
    JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML:
    Loaded coremods (and transformers):
    GL info: ' Vendor: 'Intel' Version: '2.1.0 - Build 8.15.10.2302' Renderer: 'Mobile Intel(R) 4 Series Express Chipset Family'
[19:15:20] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
[19:15:20] [Client thread/INFO] [FML]: MinecraftForge v11.14.3.1515 Initialized
[19:15:20] [Client thread/INFO] [FML]: Replaced 204 ore recipies
[19:15:20] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
[19:15:21] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[19:15:21] [Client thread/INFO] [FML]: Searching C:\Users\User\AppData\Roaming\.minecraft\mods for mods
[19:15:24] [Client thread/INFO] [FML]: Forge Mod Loader has identified 5 mods to load
[19:15:24] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, Kirby, kirbymod] at CLIENT
[19:15:24] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, Kirby, kirbymod] at SERVER
[19:15:25] [Client thread/WARN] [FML]: The mod FMLMod:Kirby{1.0.0} is attempting to register a block whilst it it being constructed. This is bad modding practice - please use a proper mod lifecycle event.
[19:15:25] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Kirby, FMLFileResourcePack:KirbyMod, Canzoni
[19:15:25] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[19:15:25] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations
[19:15:25] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
[19:15:25] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[19:15:26] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[19:15:26] [Client thread/INFO] [FML]: Applying holder lookups
[19:15:26] [Client thread/INFO] [FML]: Holder lookups applied
[19:15:26] [Client thread/INFO] [FML]: Injecting itemstacks
[19:15:26] [Client thread/INFO] [FML]: Itemstack injection complete
[19:15:26] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from PREINITIALIZATION to INITIALIZATION. Loading cannot continue
[19:15:26] [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
    UCH    mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
    UCH    FML{8.0.99.99} [Forge Mod Loader] (forge-1.8-11.14.3.1515.jar)
    UCH    Forge{11.14.3.1515} [Minecraft Forge] (forge-1.8-11.14.3.1515.jar)
    UCH    Kirby{1.0.0} [Kirby] (Kirby.zip)
    UCE    kirbymod{1.0} [KirbyMod] (KirbyMod.zip)
[19:15:26] [Client thread/ERROR] [FML]: The following problems were captured during this phase
[19:15:26] [Client thread/ERROR] [FML]: Caught exception from kirbymod
java.lang.NoSuchFieldError: rock
    at thekirbyability.mods.KirbyBlock.initializeBlock(KirbyBlock.java:21) ~[KirbyBlock.class:?]
    at thekirbyability.mods.KirbyBlock.register(KirbyBlock.java:14) ~[KirbyBlock.class:?]
    at thekirbyability.mods.KirbyMod.preinit(KirbyMod.java:26) ~[KirbyMod.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_60]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_60]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_60]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_60]
    at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:537) ~[forge-1.8-11.14.3.1515.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_60]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_60]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_60]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_60]
    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) ~[forge-1.8-11.14.3.1515.jar:?]
    at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[forge-1.8-11.14.3.1515.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_60]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_60]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_60]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_60]
    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.preinitializeMods(Loader.java:550) [Loader.class:?]
    at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:249) [FMLClientHandler.class:?]
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:413) [bsu.class:?]
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:325) [bsu.class:?]
    at net.minecraft.client.main.Main.main(SourceFile:120) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_60]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_60]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_60]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_60]
    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:?]
[19:15:26] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:func_179870_a:571]: ---- Minecraft Crash Report ----
// Uh... Did I do that?

Time: 26/09/15 19.15
Description: There was a severe problem during mod loading that has caused the game to fail

net.minecraftforge.fml.common.LoaderException: java.lang.NoSuchFieldError: rock
    at net.minecraftforge.fml.common.LoadController.transition(LoadController.java:163)
    at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:553)
    at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:249)
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:413)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:325)
    at net.minecraft.client.main.Main.main(SourceFile:120)
    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)
Caused by: java.lang.NoSuchFieldError: rock
    at thekirbyability.mods.KirbyBlock.initializeBlock(KirbyBlock.java:21)
    at thekirbyability.mods.KirbyBlock.register(KirbyBlock.java:14)
    at thekirbyability.mods.KirbyMod.preinit(KirbyMod.java:26)
    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.preinitializeMods(Loader.java:550)
    ... 10 more


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 7 (x86) version 6.1
    Java Version: 1.8.0_60, Oracle Corporation
    Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
    Memory: 40264784 bytes (38 MB) / 245854208 bytes (234 MB) up to 523501568 bytes (499 MB)
    JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP v9.10 FML v8.0.99.99 Minecraft Forge 11.14.3.1515 5 mods loaded, 5 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
    UCH    mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
    UCH    FML{8.0.99.99} [Forge Mod Loader] (forge-1.8-11.14.3.1515.jar)
    UCH    Forge{11.14.3.1515} [Minecraft Forge] (forge-1.8-11.14.3.1515.jar)
    UCH    Kirby{1.0.0} [Kirby] (Kirby.zip)
    UCE    kirbymod{1.0} [KirbyMod] (KirbyMod.zip)
    Loaded coremods (and transformers):
    GL info: ' Vendor: 'Intel' Version: '2.1.0 - Build 8.15.10.2302' Renderer: 'Mobile Intel(R) 4 Series Express Chipset Family'
[19:15:26] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:func_179870_a:571]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\User\AppData\Roaming\.minecraft\crash-reports\crash-2015-09-26_19.15.26-client.txt[/spoiler]

 

Codice Java:

Mod:

[spoiler]package thekirbyability.mods;

import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventHandler;
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 thekirbyability.proxy.ServerProxy;

@Mod(modid = "kirbymod",name = "KirbyMod", version = "1.0")
public class KirbyMod {
    
    @SidedProxy(clientSide = "thekirbyability.proxy.ClientProxy", serverSide = "thekirbyability.proxy.ServerProxy")
    public static ServerProxy proxy;
    
    @EventHandler
    public void init(FMLInitializationEvent fmlinit) {
        
    }
    
    @EventHandler
    public void preinit(FMLPreInitializationEvent fmlpreinit) {
        KirbyBlock.register();
        proxy.registerRenderInfo();
    }
    
    @EventHandler
    public void postinit(FMLPostInitializationEvent fmlpostinit) {
        
    }
}[/spoiler]

Blocco:

[spoiler]package thekirbyability.mods;

import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.client.Minecraft;
import net.minecraft.client.resources.model.ModelResourceLocation;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;
import net.minecraftforge.fml.common.registry.GameRegistry;

public class KirbyBlock {
    
    public static void register() {
        initializeBlock();
        registerBlock();
    }
    
    public static Block KirbyBlock1;
    
    public static void initializeBlock() {
        KirbyBlock1 = new KirbyBlock1(Material.rock).setUnlocalizedName("kirby").setCreativeTab(CreativeTabs.tabDecorations);
    }
    
    public static void registerBlock() {
        GameRegistry.registerBlock(KirbyBlock1, KirbyBlock1.getUnlocalizedName());
    }
}[/spoiler]

Altro codice:

[spoiler]package thekirbyability.mods;

import net.minecraft.block.Block;
import net.minecraft.block.material.Material;

public class KirbyBlock1 extends Block {

    protected KirbyBlock1(Material rock) {
        super(Material.rock);
    }
}[/spoiler]

 

Se lo sapete come aiutarmi, chiedete come risolverlo.
 

Condividi questo messaggio


Link di questo messaggio
Condividi su altri siti

5 risposte a questa domanda

Recommended Posts

Possibile che la mod "KirbyMod" non sia compatibile con la 1.8?

Condividi questo messaggio


Link di questo messaggio
Condividi su altri siti
Ospite

Possibile che la mod "KirbyMod" non sia compatibile con la 1.8?

ma io ho usato forge-1.8-11.14.3.1450-src per creare la mod in eclipse ed è compatibile 1.8

Condividi questo messaggio


Link di questo messaggio
Condividi su altri siti

ma io ho usato forge-1.8-11.14.3.1450-src per creare la mod in eclipse ed è compatibile 1.8

Hai aggiunto gli spoiler dopo, non potevo sapere altro :D

La versione di Forge che hai utilizzato per il codice della mod, è diversa da quella con la quale la stai avviando, prova ad allinearle e vedi se il problema rimane!

Anche se comunque mi sembra un problema di offuscamento, ha completato con successo il "gradlew build"?

Condividi questo messaggio


Link di questo messaggio
Condividi su altri siti
Può essere che non va perchè sei sp. Forse

Condividi questo messaggio


Link di questo messaggio
Condividi su altri siti

Può essere che non va perchè sei sp. Forse

Non ha nulla a che vedere con la questione.

Condividi questo messaggio


Link di questo messaggio
Condividi su altri siti

×
×
  • Crea Nuovo...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.