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

I have not written any code for Minecraft since 1.7.10 and my-my how things have changed. 

 

To brush up on the new way of doing things, I have been using a tutorial I found here=http://shadowfacts.net/tutorials/forge-modding-112/

I believe I have followed the tutorial correctly, however none of my mod's resources load when I test the client. In fact, the code found in the proxy doesn't even fire (i set a break point, and ran through debugging).


I assume that I am not using domains correctly, but after about attempt 15, I'm out of ideas

 

Attached is every file in src/main.java

Altaris.java

all resources are located at:

src/main/resources/assets/altaris/lang/en_us.lang

src/main/resources/assets/altaris/models/item/ingot_copper.json

src/main/resources/assets/altaris/textures/items/ingot_copper.png

 

Any help as to why none of the resources load in game would be greatly appreciated. - That is to say, the item has no texture, no language translation, incorrect 3D model (I believe it is defaulting to cube_all).

ClientProxy.java CommonProxy.java ItemBase.java ModItems.java TabAltarisBlocks.java TabAltarisItems.java

I can't see the part of code which should call registerItemModel from item class. I think, you've missed ModelRegistryEvent.
 

@Mod.EventBusSubscriber
public static class RegistrationHandler {

    // ...

    @SubscribeEvent
    public static void registerItems(ModelRegistryEvent event) {
        ModItems.registerModels();
    }

}

 

Edited by ZigTheHedge

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.