Search:

Type: Posts; User: matthewpipie

Search: Search took 0.20 seconds.

  1. Re: Whats wrong with my java code? I really need help!

    Now heres what it says:

    Cannot invoke setHardness(float) on the primitive type int
    and my code:

    package net.minecraft.src;

    public class mod_MOO extends BaseMod
    {
    static int MOOthing =...
  2. Re: Whats wrong with my java code? I really need help!

    So heres my new mod_MOO:

    package net.minecraft.src;

    public class mod_MOO extends BaseMod
    {
    public static final Block MOOBlock = new MOO(123,...
  3. Re: Whats wrong with my java code? I really need help!

    can you try this with eclipse and see if it gives you an error? Or will that not work?
  4. Re: Whats wrong with my java code? I really need help!

    like this?


    package net.minecraft.src;

    public class mod_MOO extends BaseMod
    {
    public static final Block MOOBlock = new MOO(123, ModLoader.addOverride("/terrain.png", "/MOO/MOOBlock.png")...
  5. Re: Whats wrong with my java code? I really need help!

    this is what i was supposed to type(replacing some things with MOO and MOOBlock):

    public static final Block oreTitanium = new CamelOreBlockOre(123, ModLoader.addOverride("/terrain.png",...
  6. Re: Whats wrong with my java code? I really need help!

    What it already is: setBlockName("MOO"); and when i do this: setBlockName("MOO")); basically the whole line goes crazy
    I separated each property thing into its own separate line, and it still says...
  7. Re: Whats wrong with my java code? I really need help!

    for the "new MOO(123," there is no closing parenthesis, but everywhere I try on that line will give me another error.

    Otherwise, everything matches up!
  8. Re: Whats wrong with my java code? I really need help!

    I've found that the parenthesis after "MOO" is underlined red, and the one matching with it (before "MOO") is not underlined, so now I am just confused.
    Please don't get too complicated, Im very new...
  9. Re: Whats wrong with my java code? I really need help!

    heres what it says on eclipse in the console thing when I run it:

    27 achievements
    174 recipes
    ModLoader 1.1 Initializing...
    Failed to load mod from "mod_MOO.class"
    Done.
    Loading:...
  10. Whats wrong with my java code? I really need help!

    So i was working on my code for a game called Minecraft and so here is my first code, titled mod_MOO.java.

    package net.minecraft.src;

    public class mod_MOO extends BaseMod
    {
    public...
Results 1 to 10 of 10