Jump to content

Recommended Posts

Posted

Hi I have been trying to get this to work for several days now, can't do it.. so I came here for some assistance.

 

How would I code so that when I drop an item (Q) it automatically spawns a primed TNT or simply explodes when it gets discarded onto the ground?

 

I just cannot for the life of me find anything about dropped items, or anything similar.

 

Please help!

Posted

Haven't used this in awhile, but there is a method to create a custom ItemEntity when and item is dropped instead of the standard. 

 

Look around for that and it will be your route.

Long time Bukkit & Forge Programmer

Happy to try and help

Posted

So I am trying that but it isn't working, anyone have an actual tutorial on ItemTossEvent?

or how to load a primed tnt in a specific location when a block is right clicked? or anything along those lines?

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.