Posted June 16, 20223 yr 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.