Jump to content

[1.16.1] Can items be blocks?


beestrug

Recommended Posts

 Hi guys

   I would like to change input of using item from right click to F key and change item available to put as same as block such as pail that we can use right click to put the pail on a block

    it can do? please tell me

            Thank you in advance

 

Edited by beestrug
Link to comment
Share on other sites

13 minutes ago, diesieben07 said:

Sorry, but I have no idea what your question is.

 

Blocks and items are separate. Blocks exist only in the world, when placed. When you hold a "block" in your inventory (e.g. you have 64 Stone in your inventory) that is still an Item, namely a BlockItem, which is the item implementation that looks like a block and will place a block on right click.

For example, holding a bucket of water and right clicking will drop water, right? But I want it to be a bucket of water instead.

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