Jump to content

About the event system


Recommended Posts

I am new to `java`, `idea`, `gradle` and I am learning to write `forge`.
I followed the official documentation and came across the `event system` and have some doubts about how I should know what events I should use.
Suppose: Steve drops an item, how do I know what event to use and the name of the event call without a cross reference.
Or, does `forge` have a cross-reference list of events
The entity picks up an item, and newbies can tell by the cross-reference list that

public void pickupItem(EntityItemPickupEvent event) 

represents the pickup of an item.

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.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.