Jump to content

Recommended Posts

Posted

Hi,

 

I'm writing a mod and am having a little problem:

I want the player being able to drag an item in their inventory, but instead of dropping it into another slot it gets deleted and I can add more code after that (like sending a chat message).

 

It would be REALLY useful, even if you might not understand why/how :)

 

I thought I could use an event (onPlayerDraggingItem or something) and abort it if the item ID fits, but there is no event for a player dragging/dropping an item. There is for deleting/throwing out of the inventory, but that's not very useful.

 

I have basic knowledge of Java, I had it in 10th grade.

 

greetings,

Tony!

 

PS: Sorry if my English sucks ._. I'm german.. But I hope you understand what my problem is :)

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.