• 0

    posted a message on AleXndrTheGr8st's Mods (SimpleCore API, SimpleOres, Fusion, Netherrocks)
    I figured out what the problem with the achievements is:
    They are coded badly/the achievement loader is coded badly
    all you have to do is increment the achievement #s in the config file. Yes, I know this isn't a perfect fix, but it's the simplest
    Posted in: Minecraft Mods
  • 0

    posted a message on AleXndrTheGr8st's Mods (SimpleCore API, SimpleOres, Fusion, Netherrocks)
    Quote from crossfox_95_98

    great mod but I Have just one problem. I cant seem to figure out why my minecraft is crashing. here's the crash report. Also It worked fine the day before.

    Time: 4/6/13 2:53 PM
    Description: Failed to start game

    java.lang.RuntimeException: Duplicate stat id: "Unknown stat" and "achievement.simpleOresAchievement" at id 5243960
    at net.minecraft.stats.StatBase.func_75971_g(SourceFile:32)
    at net.minecraft.stats.Achievement.func_75985_c(SourceFile:51)
    at SimpleOres.code.SimpleOres.doAchievements(SimpleOres.java:913)
    at SimpleOres.code.SimpleOres.Load(SimpleOres.java:445)
    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 cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:515)
    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.EventHandler.handleEvent(EventHandler.java:74)
    at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
    at com.google.common.eventbus.EventBus.post(EventBus.java:267)
    at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:165)
    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.EventHandler.handleEvent(EventHandler.java:74)
    at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
    at com.google.common.eventbus.EventBus.post(EventBus.java:267)
    at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:98)
    at cpw.mods.fml.common.Loader.initializeMods(Loader.java:689)
    at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:206)
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:444)
    at net.minecraft.client.MinecraftAppletImpl.func_71384_a(SourceFile:56)
    at net.minecraft.client.Minecraft.run(Minecraft.java:729)
    at java.lang.Thread.run(Unknown Source
    Quote from ryan_is_cool1

    worked fine for a day. next day it kept crashing on startup. i have other mods, but not any new ones. i took out simple ores and it worked


    ---- Minecraft Crash Report ----
    // Why is it breaking :(

    Time: 4/6/13 12:08 PM
    Description: Failed to start game

    java.lang.RuntimeException: Duplicate stat id: "Unknown stat" and "achievement.simpleOresAchievement" at id 5243960
    at net.minecraft.stats.StatBase.func_75971_g(SourceFile:32)
    at net.minecraft.stats.Achievement.func_75985_c(SourceFile:51)
    at SimpleOres.code.SimpleOres.doAchievements(SimpleOres.java:913)
    at SimpleOres.code.SimpleOres.Load(SimpleOres.java:445)
    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 cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:515)
    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.EventHandler.handleEvent(EventHandler.java:74)
    at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
    at com.google.common.eventbus.EventBus.post(EventBus.java:267)
    at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:165)
    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.EventHandler.handleEvent(EventHandler.java:74)
    at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
    at com.google.common.eventbus.EventBus.post(EventBus.java:267)
    at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:98)
    at cpw.mods.fml.common.Loader.initializeMods(Loader.java:689)
    at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:206)
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:444)
    at net.minecraft.client.MinecraftAppletImpl.func_71384_a(SourceFile:56)
    at net.minecraft.client.Minecraft.run(Minecraft.java:729)
    at java.lang.Thread.run(Unknown Source)


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

    -- System Details --
    Details:
    Minecraft Version: 1.5.1
    Operating System: Windows 8 (amd64) version 6.2
    Java Version: 1.7.0_17, Oracle Corporation
    Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 263111568 bytes (250 MB) / 987496448 bytes (941 MB) up to 987496448 bytes (941 MB)
    JVM Flags: 2 total; -Xms512m -Xmx1024m
    AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    Suspicious classes: FML and Forge are installed
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP v7.44 FML v5.1.8.611 Minecraft Forge 7.7.1.611 Optifine OptiFine_1.5.1_HD_U_B1 7 mods loaded, 7 mods active
    mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized
    FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized
    Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized
    mod_ReiMinimap [mod_ReiMinimap] ([1.5.1]ReiMinimap_v3.3_04 (1).zip) Unloaded->Constructed->Pre-initialized->Initialized
    BiblioCraft [BiblioCraft] (BiblioCraft[v1.1.5].zip) Unloaded->Constructed->Pre-initialized->Initialized
    SimpleOres [SimpleOres] (SimpleOres 1.5.1.zip) Unloaded->Constructed->Pre-initialized->Errored
    SimplyHorses [Simply Horses] (SimplyHorses_1.5.1_pre6.2.zip) Unloaded->Constructed->Pre-initialized->Initialized
    LWJGL: 2.4.2
    OpenGL: GeForce GTX 650/PCIe/SSE2 GL version 4.3.0, NVIDIA Corporation
    Is Modded: Definitely; Client brand changed to 'forge,fml'
    Type: Client (map_client.txt)
    Texture Pack: Sphax PureBDcraft 128x MC15.zip
    Profiler Position: N/A (disabled)
    Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
    When you post an error message, you should really do it through something like pastebin, like this.
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.5.2 / 1.5.1 / 1.4.7 / 1.3.2] Creating Mods - Modloader/Forge ~SCMowns [Src & Video]
    Quote from neonownz

    Minecraft has crashed!
    ----------------------

    Minecraft has stopped running because it encountered a problem; Exception occured in ModLoader

    A full error report has been saved to C:\Users\Collin\Desktop\Minecraft Modding\mcp726a\jars\.\crash-reports\crash-2013-03-11_17.36.43-client.txt - Please include a copy of that file (Not this screen!) if you report this crash to anyone; without it, they will not be able to help fix the crash :(



    --- BEGIN ERROR REPORT 6b79f9b6 --------
    Full report at:
    C:\Users\Collin\Desktop\Minecraft Modding\mcp726a\jars\.\crash-reports\crash-2013-03-11_17.36.43-client.txt
    Please show that file to Mojang, NOT just this screen!

    Generated 3/11/13 5:36 PM

    -- System Details --
    Details:
    Minecraft Version: 1.4.7
    Operating System: Windows 8 (amd64) version 6.2
    Java Version: 1.7.0_17, Oracle Corporation
    Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 947212208 bytes (903 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
    Suspicious classes: Start[net.minecraft.src.IPlayerUsage, MinecraftError, ReportedException, ...]
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    ModLoader: Mods loaded: 1
    ModLoader 1.4.7


    java.lang.Error: Unresolved compilation problem:
    The method setItemName(String) is undefined for the type ItemGreenGem

    at net.minecraft.src.mod_minecraft.<init>(mod_minecraft.java:7)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at net.minecraft.src.ModLoader.addMod(ModLoader.java:395)
    at net.minecraft.src.ModLoader.readFromClassPath(ModLoader.java:1406)
    at net.minecraft.src.ModLoader.init(ModLoader.java:952)
    at net.minecraft.src.ModLoader.addAllRenderers(ModLoader.java:190)
    at net.minecraft.src.RenderManager.<init>(RenderManager.java:93)
    at net.minecraft.src.RenderManager.<clinit>(RenderManager.java:14)
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:421)
    at net.minecraft.src.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:41)
    at net.minecraft.client.Minecraft.run(Minecraft.java:741)
    at java.lang.Thread.run(Unknown Source)
    --- END ERROR REPORT 5ac4ea57 ----------
    Can anyone help?

    Did you make ItemGreenGem extend Item?
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on [1.5.2 / 1.5.1 / 1.4.7 / 1.3.2] Creating Mods - Modloader/Forge ~SCMowns [Src & Video]
    Quote from aharond3

    whenever i type this line:
    : (this == cheese ? mod_UsefullMilk.cheesegem.itemID

    eclipse says: Syntax error on token "itemID", : expected after this token

    This is how the ? operator works:
    boolExp ? doStuff : (otherBoolExp ? doStuff : otherwiseDoStuff)

    hopefully that makes it clear to you
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on I sprite it you mod it!

    you are going to give me a stone stick, an iron stick, a diamond stick, and a gold stick.
    Posted in: Requests / Ideas For Mods
  • 0

    posted a message on I sprite it you mod it!
    I need sprites for all five basic tools with stone through diamond/gold handles and wood through diamond/gold heads. I will also need just the handles, and just the heads.
    One more thing: I need a iron bow, stone bow, diamond bow, and a gold bow.
    Posted in: Requests / Ideas For Mods
  • 0

    posted a message on [1.4] [Forge] Modding Tutorials - Taking Requests - Advanced Tutorials Included
    Note: You do not need to download MCP or the MC client and server. ForgeML installer does it for you.
    Posted in: Tutorials
  • 0

    posted a message on [1.5.2 / 1.5.1 / 1.4.7 / 1.3.2] Creating Mods - Modloader/Forge ~SCMowns [Src & Video]
    Quote from CyberFromLU

    An int? You mean as in I need to place an ID in the place of the String as in the name of the mob? or the public string needs to be public int?

    Ignore what I said before, I looked at the code for minecraft and found that a mob ID is actually a String, which seems strange to me.
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on [1.5.2 / 1.5.1 / 1.4.7 / 1.3.2] Creating Mods - Modloader/Forge ~SCMowns [Src & Video]
    Quote from CyberFromLU

    Hey SCMowns, I keep getting this error when my custom structure generates:




    http://java.lang.NullPointerException at net.minecraft.src.TileEntity.func_85027_a(TileEntity.java:245) at net.minecraft.src.World.updateEntities(World.java:2021) at net.minecraft.src.WorldServer.updateEntities(WorldServer.java:444) at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:667) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:590) at net.minecraft.src.IntegratedServer.tick(IntegratedServer.java:124) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:500) at net.minecraft.src.ThreadMinecraftServer.run(ThreadMinecraftServer.java:18) --- END ERROR REPORT fbd596e0 ----------


    My generate code located within my mod_ file:

    //This generates Restructed pillers, these contain useful items and materials.
    public void generateSurface(World world, Random random, int i, int j)
    {
    if (random.nextInt(200) == 0)
    {
    int k = 0;
    for (int l = 86; l > 1; l--)
    {
    if (world.getBlockId(i, l, j) == 0 && world.getBlockId(i, l - 1, j) != 0)
    {
    k = l;
    }
    }
    for (int i1 = k; i1 < k + 40; i1++)
    {
    for (int l1 = 0; l1 < 10; l1++)
    {
    for (int k2 = 0; k2 < 10; k2++)
    {
    int j3 = Block.waterMoving.blockID;
    if (random.nextInt(4) == 0)
    {
    j3 = Block.oreRedstone.blockID;
    }
    world.setBlock(i + l1, i1, j + k2, j3);
    }
    }
    }
    for (int j1 = k + 1; j1 < k + 39; j1++)
    {
    for (int i2 = 1; i2 < 9; i2++)
    {
    for (int l2 = 1; l2 < 9; l2++)
    {
    world.setBlock(i + i2, j1, j + l2, 0);
    }
    }
    }
    for (int k1 = 0; k1 < 7; k1++)
    {
    world.setBlock(i + 1, k + 38, j + 1, Block.torchWood.blockID);
    world.setBlock(i + 8, k + 38, j + 8, Block.torchWood.blockID);
    world.setBlock(i + 8, k + 38, j + 1, Block.torchWood.blockID);
    world.setBlock(i + 1, k + 38, j + 8, Block.torchWood.blockID);
    }
    world.setBlock(i + 5, k + 1, j + 5, Block.chest.blockID);
    world.setBlock(i + 5, k + 2, j + 5, Block.mobSpawner.blockID);
    TileEntityChest tileentitychest = new TileEntityChest();
    world.setBlockTileEntity(i + 5, k + 1, j + 5, tileentitychest);
    tileentitychest.setInventorySlotContents(1, new ItemStack(CronoRiggers.shiftedIndex, 1, 0));
    tileentitychest.setInventorySlotContents(2, new ItemStack(Item.diamond.shiftedIndex, 8, 0));
    tileentitychest.setInventorySlotContents(3, new ItemStack(Item.porkCooked.shiftedIndex, 30, 0));
    tileentitychest.setInventorySlotContents(4, new ItemStack(Block.planks.blockID, 30, 0));
    TileEntityMobSpawner tileentitymobspawner = new TileEntityMobSpawner();
    world.setBlockTileEntity(i + 5, k + 8, j + 5, tileentitymobspawner);
    tileentitymobspawner.setMobID(pickMobSpawner(random));}
    }
    private String pickMobSpawner(Random random)
    {
    int i = random.nextInt(4);
    if (i == 0)
    {
    return "Kyurem";
    }
    if (i == 1)
    {
    return "Shrival";
    }
    if (i == 2)
    {
    return "Zombie";
    }
    if (i == 3)
    {
    return "Skeleton";
    }
    else
    {
    return "";
    }

    Do you know of anything how to fix this? I can get the chest to work but not the spawner, if I change it comes up as a pig spawner, is there anyway to make it just one type of spawner without crashing or becoming a pig spawner? or is this just unfix-able?

    One problem with your code is that a mob id an int, not a String.
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on [1.5.2 / 1.5.1 / 1.4.7 / 1.3.2] Creating Mods - Modloader/Forge ~SCMowns [Src & Video]
    Quote from omar2513

    i have the same problem

    Both of you, post your mod_* code (in spoiler and code tags).
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on [1.5.2 / 1.5.1 / 1.4.7 / 1.3.2] Creating Mods - Modloader/Forge ~SCMowns [Src & Video]
    Quote from Alfihz

    But sir.... My Sword and Pickaxe shows in the creative tab even without the code.. why is that?

    Because ItemSword.java and ItemPickaxe.java both include that code in their constructors.
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on [1.5.2 / 1.5.1 / 1.4.7 / 1.3.2] Creating Mods - Modloader/Forge ~SCMowns [Src & Video]
    Quote from Alfihz

    Sir, I Enjoy watching your modding tutorials and others.. then i tried out modding.. the first thing we did was making the green gem.. i did what u said no error came up but when i started minecraft it doesnt show the green gem.. i mean there was no green gem at all ..

    Would you please help me?
    Tnx, Alfihz

    PS: I'm using MC1.4.6 and i know a lil bit about java programming since im studying it. :D


    Do you have the green gem in the directory that you told minecraft it would be?
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on [1.5.2 / 1.5.1 / 1.4.7 / 1.3.2] Creating Mods - Modloader/Forge ~SCMowns [Src & Video]
    Quote from monkeymonk788
    http://www.minecraft.../1603905-error/ can you tell me what my error is please?
    You are trying to assign an object to an int.You should change it to
    new Object[]{"* *", "***", "***", '*', mod_UltiTools.CopperIngot}
    or
    new Object[]{"* *", "***", "***", Character.valueOf('*'), mod_UltiTools.CopperIngot.shiftedIndex}
    for all your armors
    Posted in: Mapping and Modding Tutorials
  • 0

    posted a message on ERROR
    You are trying to assign an object to an int.
    You should change it to
    new Object[]{"* *", "***", "***", '*', mod_UltiTools.CopperIngot}
    or
    new Object[]{"* *", "***", "***", Character.valueOf('*'), mod_UltiTools.CopperIngot.shiftedIndex}
    Posted in: Mods Discussion
  • 0

    posted a message on [1.5.2 / 1.5.1 / 1.4.7 / 1.3.2] Creating Mods - Modloader/Forge ~SCMowns [Src & Video]
    Quote from preachy86

    where would i find out if it is?

    Are you using Eclipse?
    1) If you are, is modNAME(2085) underlined in your mod_NAME?
    2) If not (yes, I know you probably are, but just in case you aren't), go to your src/net/minecraft/src folder and see if you have a file modNAME.java
    a. If you do, is it defined as
    public class modNAME extends Item {
    public modNAME(int i) {
    super(i);
    //other item-specific stuff
    }
    
    //other item-specific methods
    }

    b. If you don't, create one.

    (Obviously you would replace all the NAMEs with the name of your item)
    Posted in: Mapping and Modding Tutorials
  • To post a comment, please .