Jump to content

Item Block Texture Not Rendering


Ethansup2082

Recommended Posts

37 minutes ago, Animefan8888 said:

Where is your blockclear_glass? Is it in the same class? Or in a different one, if so you need to reference the class that it is in. And did you import ModelResourceLocation?

Forgot to quote you so Idk if you got the notification

Link to comment
Share on other sites

Don't use Reference use ModBlocks. Your reference contains a enum, not a Block which is what is causing this error. I suggest you learn Java before you try to make a mod, seeing as how Java can be quite complicated if you have never programmed before.

  • Like 1

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.

Link to comment
Share on other sites

9 minutes ago, Animefan8888 said:

Don't use Reference use ModBlocks. Your reference contains a enum, not a Block which is what is causing this error. I suggest you learn Java before you try to make a mod, seeing as how Java can be quite complicated if you have never programmed before.

Gotta learn sometime, And I only have trouble, trouble shooting

 

 

Edited by Ethansup2082
Link to comment
Share on other sites

12 minutes ago, Animefan8888 said:

Don't use Reference use ModBlocks. Your reference contains a enum, not a Block which is what is causing this error. I suggest you learn Java before you try to make a mod, seeing as how Java can be quite complicated if you have never programmed before.

Okay I used ModBlocks, and I have no errors everything is good, other than the original issue is still an issue, I still have no texture for the item block.....

Link to comment
Share on other sites

Just now, Ethansup2082 said:

So do I do the preint thing for all the items now, including the 2 I've already done or?

Yes use that method for all model registering. And you could also for your ItemBlock JSONs just set the parent to your Blocks 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.

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.

Announcements



×
×
  • Create New...

Important Information

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