Jump to content

Recommended Posts

Posted

Good day.

I would like to ask how to drop an item from an already existing block in the game (for example Stone). It would probably involve events, but I don't know what events.

Thank you.

Posted

if the block already has an item then you can use HarvestDropsEvent. you first add a chance float then add your item. if the block has no drops or you want the item to drop with any tool (such as allowing obsidian to drop from an iron pciaxe) then you can use BreakEvent and spawn the item in the world.

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.