Jump to content

[1.8] [Solved]Make block drop itself only if player breaks it with shears


Recommended Posts

Posted (edited)

Hello guys, I have made a new leaves block and I want to drop itself only if I break it with shears. I have tried using BreakEvent and check the held item and block state but when I replace the block that I have broken with shears, it let me break it with the hand and still drop the block. How can I fix this issue?

Thank you!

 

EDIT: I implemented IShearable and it worked!:D

Edited by Arionas_MC
solved

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.