Jump to content

Recommended Posts

Posted
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

Posted (edited)
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

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.