Jump to content

1.16.5 - Changing all vanilla blocks properties


Nicknotname

Recommended Posts

7 minutes ago, Nicknotname said:

How would I change all vanilla blocks properties'. 

overwrite the block,
-> create a normal block but register it with the minecraft id

Also note that if the block you are overwriting is used in the world generation,
you must also overwrite the feature in which the block is used, otherwise errors can occur in the world generation

Link to comment
Share on other sites

13 minutes ago, Luis_ST said:

overwrite the block,
-> create a normal block but register it with the minecraft id

Also note that if the block you are overwriting is used in the world generation,
you must also overwrite the feature in which the block is used, otherwise errors can occur in the world generation

This should be the last resort.

Link to comment
Share on other sites

41 minutes ago, diesieben07 said:

This should be the last resort.

yes i know but it's a possible way, you can also change most of the properties of a block
 

22 minutes ago, Nicknotname said:

Sorry for the late reply, I mean the Item.Properties.

For Example, How would I change every vanilla block's slippiness or strength.

Item.Properties or AbstractBlock.Properties?
 

22 minutes ago, Nicknotname said:

slippiness

check if a player walk on the block and change the motion of the player
 

22 minutes ago, Nicknotname said:

strength

use the PlayerEvent.BreakSpeed to change the strength read the javadoc of the event for more informations

Edited by Luis_ST
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
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.