Jump to content

Recommended Posts

Posted

I know how to create blocks and that there are several ways to modify them with jsons. However, I tried to produce a Green Fire block by replicating a common block and using only jsons.

Is this possible, or would I have to make a custom block?
(I'm trying to replicate just the texture, without the other attributes of the fire block)

Posted

Hi,

Create a new class that extends "Block" class and you need json for it in resources/assets/modid/blockstates directory and resources/assets/modid/models. You can generate json for it using a tool like misodes model generator. Here, atleast, are blocks explained at forge docs. 

Don't forge to look at vanilla code, like Magma Block is a good reference if you're trying a "green fire block". 

Modid should be replaced with your actual forge mod namespace!

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.