Jump to content

Recommended Posts

Posted

Hello, Matt here. I'm not entirely sure why this is happening, but I've finally began touching up on my modding. Well, when trying to make it, I stumbled across an error that doesn't allow the game to start.

 

LOG/CONSOLE OUTPUT: http://pastebin.com/NButP9EA

 

MOD BASE CLASS: http://pastebin.com/p1x0btx0

 

GUN CLASS: http://pastebin.com/WxxDYFRw

 

GUN BULLET ENTITY CLASS: http://pastebin.com/JzCpUUPK

 

GUN BULLET ITEM (BETA, UNUSED): http://pastebin.com/5bS5E80u

 

Please, help me ASAP. I'm working on this to train for an upcoming modjam I'm doing.

 

Thanks in advance,

-Matt

Posted

Seems one of your crafting recipes have gone and malfunctioned, I'll post a few working recipes and hopefully you can check between them to fix your issue.

 

EDIT:

Let me look through I think you just coded it wrong.

 

Ok it looks like you just had a mishap on your item, your recipe:

 GameRegistry.addRecipe(new ItemStack(myItem, 10), new Object[]
                                {      
                             // Letter = Block, Space = Nothing
                                        " A ",
                                        " A ",
                                        " B ",
                                        'A', Items.potato, 'B', Items.stick
                                }
                );

is using myItem which is not defined as anything

 public static Item myItem;
        //public static // myItem2;
        //public static // myItem3;
        //public static // myItem4;
        //public static // myItem5;
    Item blasterRifle = new ItemBlasterRifle();

 

so you want to use "blasterRifle" not "myItem" as your return. That you make public static Item myItem = new ItemBlasterRifle();

or define "myItem" as bullets as I think that is what you are going for with that recipe.

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.