Jump to content

[1.8] 'thin walls' blocks.


statphantom

Recommended Posts

Why not start by looking at slabs? Specifically, look at the model .json and Block class files.

 

In the model .json, you will have the block's rendering bounds described, as well as the rotations for different states (such as facing north-south or east-west).

 

Then in your Block class, you will need to make sure that the block's physical bounds match based on its current state, etc.

 

I recommend you Google a basic 1.8 block tutorial and make some basic blocks first, then practice making blocks with different sizes, such as a small cube. Just play with the values in the .json and Block class, fire up your IDE's test environment, and see how it looks in game. Then quit, change the values, see how it looks again, rinse and repeat. That is how modding generally works.

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.