Jump to content

Recommended Posts

Posted

Some of the blocks I wish to add don't fit any of the available block materials. For example, I want a block that is like Web but is not destroyed on push: i.e. I want .noCollider().notSolidBlocking() but not .destroyOnPush(). I tried to define my own materials, but some of the necessary functions in Material are not public, preventing me from using them. (notSolidBlocking(), flammable(), destroyOnPush(), and notPushable() are either protected, or - in SolidBlocking's case - have no keyword at all.) Is there a way to get around this?

I am modding 1.19 with the 41.0.17 version of the Forge mdk.

(Also, is there a resource anywhere that explains and differentiates the various material and block properties? I'm curious about things like the difference between a material being 'solid', 'solidBlocking', and/or 'blocksMotion', while a block's Properties also include 'hasCollision'.)

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.