Jump to content

Recommended Posts

Posted

First test of this mod (stupidly) so i don't know which segment is causing the problems.

if you can pin point the line and class.

 

 

  Reveal hidden contents

 

 

 

Posted

The report says what the error is, you're trying to call part of an array that doesn't exist. Plus, since I don't see any code, we can't help you.

if (user.hasKnowledgeOfJava) {

    if (user.question.hasCode) {

        return interpetHelpfulResponse(user.getQuestion());

    } else {

        return "Could you post your code please?";

    }

} else {

    return "Learn some freaking Java!";

}

Posted

okay here:

 

main

 

  Reveal hidden contents

 

 

wire

 

  Reveal hidden contents

 

 

 

Another Issue is my custom model block isn't in game

 

Main

 

  Reveal hidden contents

 

 

Block

 

  Reveal hidden contents

 

 

tile Entity

 

  Reveal hidden contents

 

 

Render

 

  Reveal hidden contents

 

 

Model

 

  Reveal hidden contents

 

Posted

yeah it was.

 

I didn't really state the other problem well it's unrelated to the recipe. But i followed a tutorial on custom block models and got the code above but in game the item doesn't appear to exist at all, can be crafted but doesn't appear in creative tabs. Also the block doesn't register its texture.

Posted

I suspect you should put something like this in your main class:

@EventHandler
public static void init(FMLPreinitializationEvent event) {
      your code ... // It looks like you expect your class "main" (with lower case 'm') to be called magically
}

 

In 1.6, you would use FMLInitializationEvent. But for 1.7 blocks and items start out as above.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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