Jump to content

Recommended Posts

Posted

I have just finished successfully loading a custom block into my world after many attempts (particularly with the textures). While naming the .JSON and .PNG files, I tried to give each a unique name, but this didn't always work.

The name of my mod was "examplemod", and my block instance was named "firstblock". I assume that the blockstate information for "firstblock" must be named "firstblock.json"- but what about the loot table, crafting, and texture files? Does minecraft look for files with a name matching the registry name of my block instance?

Also: For the block's item model, I referenced the block model using:

"parent": "examplemod:block/firstblock" 

But, how does minecraft know what specific folder "block/firstblock" is under? Why didn't I have to supply a full path? Is it because they are both under the "textures" folder?

Sorry for the unedited text, not sure how to write text as code.

Project_Explorer.png

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.