Jump to content

[1.7.10] Eclipse just can't detect my mod


OlliTV

Recommended Posts

Yes, I was modding something (this is my modding for the first time)

And I got to test out if my mod was working, so i build minecraft, and saw...

<3 mods Available>

You know, forge comes with 3 basic mods (Such as Minecraft Coder Pack)

But Forge & Eclipse can't Detect my mod.

This is my code for the mod.(TropicanaSparkling is the mod name)

Spoiler

package olligaming1107.TropicanaSparkling;

import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.Mod.Instance;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.registry.GameRegistry;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.init.Blocks;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;

public class TropicanaSparkling {
    public static final String MODID = "tropicana";
    public static final String MODNAME = "TropicanaSparkling";
    public static final String MODVER = "1.0.0";
    
    @Instance(value = TropicanaSparkling.MODID)
    public static TropicanaSparkling instance;
    
    public static Item ApplePowder;
    
    public static Block AppleBlock;
    
    @EventHandler
    public void preInit(FMLPreInitializationEvent event)
    {
        ApplePowder = new ApplePowder(64, CreativeTabs.tabMisc, "ApplePowder").setUnlocalizedName("ingotDirt").setTextureName("TropicanaSparkling:applepowder");
        AppleBlock = new AppleBlock(Material.wood,0.5F,CreativeTabs.tabMisc).setBlockName("AppleBlock").setBlockName("Apple");
        
        
        GameRegistry.registerItem(ApplePowder, "ApplePowder");
        GameRegistry.registerBlock(AppleBlock, AppleBlock.getUnlocalizedName().substring(5));
    }
    
    @EventHandler
    public void load(FMLInitializationEvent event)
    {
        GameRegistry.addShapedRecipe(new ItemStack(ApplePowder), new Object[] {"PAP"," H ","  ",'P',Blocks.piston,'A',AppleBlock,'D',Blocks.hopper});
    }
    
    @EventHandler
    public void postInit(FMLPostInitializationEvent evnet)
    {
        
    }
    
    
    
}

This is the code for AppleBlock.java

Spoiler

package olligaming1107.TropicanaSparkling;

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

public class AppleBlock extends Block{

    protected AppleBlock(Material material, float hardness, CreativeTabs tab) {
        super(material);
        setHardness(hardness);
        setCreativeTab(tab);
    }

}
 

And this is for ApplePowder.java

Spoiler

package olligaming1107.TropicanaSparkling;

import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;

public class ApplePowder extends Item{
    public ApplePowder (int maxStackSize, CreativeTabs tab, String name) {
        setMaxStackSize(maxStackSize);
        setCreativeTab(tab);
        setUnlocalizedName(name);
    }
}

Finally, this is the build log

Spoiler

[22:26:07] [main/INFO]: Extra: []
[22:26:07] [main/INFO]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Administrator/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[22:26:07] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[22:26:07] [main/INFO]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[22:26:07] [main/INFO]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[22:26:07] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
[22:26:07] [main/INFO]: Forge Mod Loader version 7.99.36.1558 for Minecraft 1.7.10 loading
[22:26:07] [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_152, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre1.8.0_152
[22:26:07] [main/INFO]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[22:26:07] [main/INFO]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[22:26:07] [main/INFO]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin
[22:26:07] [main/INFO]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[22:26:07] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[22:26:07] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[22:26:07] [main/INFO]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[22:26:07] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[22:26:07] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[22:26:07] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[22:26:07] [main/ERROR]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[22:26:09] [main/ERROR]: FML appears to be missing any signature data. This is not a good thing
[22:26:09] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[22:26:09] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[22:26:09] [main/INFO]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[22:26:09] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
[22:26:09] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
[22:26:09] [main/INFO]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[22:26:10] [main/INFO]: Setting user: Player160
[22:26:12] [Client thread/INFO]: LWJGL Version: 2.9.1
[22:26:13] [Client thread/INFO]: Could not load splash.properties, will create a default one
[22:26:13] [Client thread/INFO]: [cpw.mods.fml.client.SplashProgress:start:188]: ---- Minecraft Crash Report ----
// This is a token for 1 free hug. Redeem at your nearest Mojangsta: [~~HUG~~]

Time: 17. 11. 8 오후 10:26
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.7.10
    Operating System: Windows 7 (amd64) version 6.1
    Java Version: 1.8.0_152, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 751073528 bytes (716 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
    JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: 
    GL info: ' Vendor: 'Intel' Version: '4.2.0 - Build 10.18.10.3412' Renderer: 'Intel(R) HD Graphics 4400'
[22:26:13] [Client thread/INFO]: Attempting early MinecraftForge initialization
[22:26:13] [Client thread/INFO]: MinecraftForge v10.13.4.1558 Initialized
[22:26:13] [Client thread/INFO]: Replaced 183 ore recipies
[22:26:14] [Client thread/INFO]: Completed early MinecraftForge initialization
[22:26:14] [Client thread/INFO]: Found 0 mods from the command line. Injecting into mod discoverer
[22:26:14] [Client thread/INFO]: Searching C:\Users\Administrator\eclipse\forge-1.7.10-10.13.4.1558-1.7.10-src\eclipse\mods for mods
[22:26:23] [Client thread/INFO]: Forge Mod Loader has identified 3 mods to load
[22:26:23] [Client thread/INFO]: Attempting connection with missing mods [mcp, FML, Forge] at CLIENT
[22:26:23] [Client thread/INFO]: Attempting connection with missing mods [mcp, FML, Forge] at SERVER
[22:26:24] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge
[22:26:24] [Client thread/INFO]: Processing ObjectHolder annotations
[22:26:24] [Client thread/INFO]: Found 341 ObjectHolder annotations
[22:26:24] [Client thread/INFO]: Identifying ItemStackHolder annotations
[22:26:24] [Client thread/INFO]: Found 0 ItemStackHolder annotations
[22:26:24] [Client thread/INFO]: Configured a dormant chunk cache size of 0
[22:26:24] [Client thread/INFO]: Applying holder lookups
[22:26:24] [Client thread/INFO]: Holder lookups applied
[22:26:24] [Client thread/INFO]: Injecting itemstacks
[22:26:24] [Client thread/INFO]: Itemstack injection complete
[22:26:24] [Sound Library Loader/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: 
[22:26:24] [Sound Library Loader/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem...
[22:26:24] [Thread-8/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
[22:26:24] [Thread-8/INFO]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[22:26:27] [Client thread/INFO]: Created: 16x16 textures/blocks-atlas
[22:26:27] [Client thread/INFO]: Created: 16x16 textures/items-atlas
[22:26:27] [Client thread/INFO]: Injecting itemstacks
[22:26:27] [Client thread/INFO]: Itemstack injection complete
[22:26:27] [Client thread/INFO]: Forge Mod Loader has successfully loaded 3 mods
[22:26:27] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge
[22:26:28] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
[22:26:28] [Client thread/INFO]: Created: 256x256 textures/items-atlas
[22:26:28] [Sound Library Loader/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: 
[22:26:28] [Sound Library Loader/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem...
[22:26:32] [Thread-8/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
[22:26:32] [Thread-10/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
[22:26:32] [Thread-10/INFO]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[22:26:32] [Thread-10/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]: java.lang.IllegalStateException: Only one OpenAL context may be instantiated at any one time.
[22:26:32] [Thread-10/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at org.lwjgl.openal.AL.create(AL.java:113)
[22:26:32] [Thread-10/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at org.lwjgl.openal.AL.create(AL.java:102)
[22:26:32] [Thread-10/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at org.lwjgl.openal.AL.create(AL.java:201)
[22:26:32] [Thread-10/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at paulscode.sound.libraries.LibraryLWJGLOpenAL.init(LibraryLWJGLOpenAL.java:164)
[22:26:32] [Thread-10/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at paulscode.sound.SoundSystem.CommandNewLibrary(SoundSystem.java:1576)
[22:26:32] [Thread-10/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at paulscode.sound.SoundSystem.CommandQueue(SoundSystem.java:2572)
[22:26:32] [Thread-10/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at paulscode.sound.CommandThread.run(CommandThread.java:121)

[22:26:07] [main/INFO]: Extra: []
[22:26:07] [main/INFO]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Administrator/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[22:26:07] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[22:26:07] [main/INFO]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[22:26:07] [main/INFO]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[22:26:07] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
[22:26:07] [main/INFO]: Forge Mod Loader version 7.99.36.1558 for Minecraft 1.7.10 loading
[22:26:07] [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_152, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre1.8.0_152
[22:26:07] [main/INFO]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[22:26:07] [main/INFO]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[22:26:07] [main/INFO]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin
[22:26:07] [main/INFO]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[22:26:07] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[22:26:07] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[22:26:07] [main/INFO]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[22:26:07] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[22:26:07] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[22:26:07] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[22:26:07] [main/ERROR]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[22:26:09] [main/ERROR]: FML appears to be missing any signature data. This is not a good thing
[22:26:09] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[22:26:09] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[22:26:09] [main/INFO]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[22:26:09] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
[22:26:09] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
[22:26:09] [main/INFO]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[22:26:10] [main/INFO]: Setting user: Player160
[22:26:12] [Client thread/INFO]: LWJGL Version: 2.9.1
[22:26:13] [Client thread/INFO]: Could not load splash.properties, will create a default one
[22:26:13] [Client thread/INFO]: [cpw.mods.fml.client.SplashProgress:start:188]: ---- Minecraft Crash Report ----
// This is a token for 1 free hug. Redeem at your nearest Mojangsta: [~~HUG~~]

Time: 17. 11. 8 오후 10:26
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.7.10
    Operating System: Windows 7 (amd64) version 6.1
    Java Version: 1.8.0_152, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 751073528 bytes (716 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
    JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: 
    GL info: ' Vendor: 'Intel' Version: '4.2.0 - Build 10.18.10.3412' Renderer: 'Intel(R) HD Graphics 4400'
[22:26:13] [Client thread/INFO]: Attempting early MinecraftForge initialization
[22:26:13] [Client thread/INFO]: MinecraftForge v10.13.4.1558 Initialized
[22:26:13] [Client thread/INFO]: Replaced 183 ore recipies
[22:26:14] [Client thread/INFO]: Completed early MinecraftForge initialization
[22:26:14] [Client thread/INFO]: Found 0 mods from the command line. Injecting into mod discoverer
[22:26:14] [Client thread/INFO]: Searching C:\Users\Administrator\eclipse\forge-1.7.10-10.13.4.1558-1.7.10-src\eclipse\mods for mods
[22:26:23] [Client thread/INFO]: Forge Mod Loader has identified 3 mods to load
[22:26:23] [Client thread/INFO]: Attempting connection with missing mods [mcp, FML, Forge] at CLIENT
[22:26:23] [Client thread/INFO]: Attempting connection with missing mods [mcp, FML, Forge] at SERVER
[22:26:24] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge
[22:26:24] [Client thread/INFO]: Processing ObjectHolder annotations
[22:26:24] [Client thread/INFO]: Found 341 ObjectHolder annotations
[22:26:24] [Client thread/INFO]: Identifying ItemStackHolder annotations
[22:26:24] [Client thread/INFO]: Found 0 ItemStackHolder annotations
[22:26:24] [Client thread/INFO]: Configured a dormant chunk cache size of 0
[22:26:24] [Client thread/INFO]: Applying holder lookups
[22:26:24] [Client thread/INFO]: Holder lookups applied
[22:26:24] [Client thread/INFO]: Injecting itemstacks
[22:26:24] [Client thread/INFO]: Itemstack injection complete
[22:26:24] [Sound Library Loader/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: 
[22:26:24] [Sound Library Loader/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem...
[22:26:24] [Thread-8/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
[22:26:24] [Thread-8/INFO]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[22:26:27] [Client thread/INFO]: Created: 16x16 textures/blocks-atlas
[22:26:27] [Client thread/INFO]: Created: 16x16 textures/items-atlas
[22:26:27] [Client thread/INFO]: Injecting itemstacks
[22:26:27] [Client thread/INFO]: Itemstack injection complete
[22:26:27] [Client thread/INFO]: Forge Mod Loader has successfully loaded 3 mods
[22:26:27] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge
[22:26:28] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
[22:26:28] [Client thread/INFO]: Created: 256x256 textures/items-atlas
[22:26:28] [Sound Library Loader/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: 
[22:26:28] [Sound Library Loader/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem...
[22:26:32] [Thread-8/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
[22:26:32] [Thread-10/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
[22:26:32] [Thread-10/INFO]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[22:26:32] [Thread-10/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]: java.lang.IllegalStateException: Only one OpenAL context may be instantiated at any one time.
[22:26:32] [Thread-10/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at org.lwjgl.openal.AL.create(AL.java:113)
[22:26:32] [Thread-10/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at org.lwjgl.openal.AL.create(AL.java:102)
[22:26:32] [Thread-10/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at org.lwjgl.openal.AL.create(AL.java:201)
[22:26:32] [Thread-10/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at paulscode.sound.libraries.LibraryLWJGLOpenAL.init(LibraryLWJGLOpenAL.java:164)
[22:26:32] [Thread-10/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at paulscode.sound.SoundSystem.CommandNewLibrary(SoundSystem.java:1576)
[22:26:32] [Thread-10/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at paulscode.sound.SoundSystem.CommandQueue(SoundSystem.java:2572)
[22:26:32] [Thread-10/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]:     at paulscode.sound.CommandThread.run(CommandThread.java:121)

That is it. Thank you.

Link to comment
Share on other sites

  • Guest locked this topic
Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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