Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.