Jump to content

[1.8] Help with blocks


MikaXD

Recommended Posts

I want to create a new block, let's say an amethyst block.

 

This line is what I already have (in the init):

Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(Item.getItemFromBlock(block_amethyst), 0, new ModelResourceLocation("mymodid:block_amethyst", "inventory"));

 

Is that correct?

 

Ok, if yes, which files do I need to create? And in which package(s)?

 

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.