Jump to content

Recommended Posts

Posted (edited)

This post is an aftemath/same issue than my old post here

 

since then my laptop died so I decided to invest in my first pc.

regardless, I took advice from choonster in that thread and use the event buss to register my items, but I have the same issue as last time
here is a Gist of the latest log, and a github link of my mod. I only have 1 block in there so it'll be easy :) . Literally, the only difference is the mdk version.


edit: I pushed the gradle configs to that everyone can clone it and build it.
edit 2: I also tried on windows, the issue is the same, here is the gist for windows

 

I'd really appreciate if anyone could help me 

 

Edited by Delupara

When they say your code doesn't follow convention but ur edgy so u dont care

d-d-d-dab on them haterz

 

Posted (edited)
16 minutes ago, diesieben07 said:

ModelLoader.setCustomModelResourceLocation (or any other registration method in ModelLoader) must be used in ModelRegistryEvent. You are doing it in FMLInitializationEvent. Also, you cannot reference client-only classes like ModelLoader from common code like your BlockInit class.

Didn't knew about the model registry, Ill take a look at the buss events to see what else I can use!

 

Also I'm assuming I can put that handler in my eventhandler class or would it mess up the sides? I'm not sure how the event bus is implemented that's why I'm asking.

Lastly the official docs explains briefly what sides are but they don't specify what they are in charge of... If you knew that last one you could help me a bunch

Edited by Delupara

When they say your code doesn't follow convention but ur edgy so u dont care

d-d-d-dab on them haterz

 

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.