Jump to content

Recommended Posts

Posted (edited)

As i was working on making a custom chest, every time I run my game i get this error for a dark_stonechest, but to my knowledge nowhere in my code do i mention it or my JSON mention it????

Exception loading model for variant dfm:dark_stonechest#inventory for item "dfm:dark_stonechest", normal location exception: 

 

// link to the full error

https://pastebin.com/aJw4rsZU 

 

I am also im noob when it comes to minecraft... but I have been taking classes in java! so im more of Advance noob lol

 

  Reveal hidden contents

 

  Reveal hidden contents

 

  Reveal hidden contents

 

  Reveal hidden contents

 

  Reveal hidden contents

 

let me know if you need any other classes or  other information

 

Also some other Thought i wanted to know was if i still need a block state for the custom Chest or if it dosn't need one like the vanilla chest

 

Edited by darkfire123
Solved
Posted
  On 10/3/2018 at 8:15 AM, darkfire123 said:

DFM_Main.proxy.RegisterItemRenderer(Item.getItemFromBlock(this), 0, "inventory");

Expand  

Hmmm, I wonder. By the way just for clarification you're getting this error for two reasons. You dont have an item model at the correct location and B you didn't specify the "inventory" variant in your blockstate json.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Posted

Well i f-ed lol looking though my code i relized that the model of dark_stonechest was missing for my item...

DarkStone chest..plate....

 

as for the IHasModel Register i found out that its not needed because i was creating a model using TESR ...

thanks for the help! @Animefan8888

 

next on my list why my item texture for my chest is in-viable ?

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.