Jump to content

Forge 1.12.2 Resource not loading


Keepsedge

Recommended Posts

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

Link to comment
Share on other sites

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
  • Like 1
Link to comment
Share on other sites

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.

×
×
  • Create New...

Important Information

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