Jump to content

[1.7.10] How to use UseHoeEvent


SteveKunG

Recommended Posts

To add to what Darkona said, why do you even use the Event when it's your own Hoe item? That's redundant.

I agree is redundat, except in the rare case when you'd like other mods to notice that you used a hoe, for example. By the looks of it, though, he uses a custom hoe on a custom block, so it doesn't appear to be necessary at all.

Link to comment
Share on other sites

To add to what Darkona said, why do you even use the Event when it's your own Hoe item? That's redundant.

 

What? We have a hoe event but no ItemEaten event?

We do, actually. Take a look at PlayerUseItemEvent.

I think i looked at that event, but it fired before i finished eating --> player could stop eating, get the effect and still keep the item.

 

Maybe he wants to create multiple items that use this code. Then it could be faster to use this instead of adding this to every single one of his items.

Here could be your advertisement!

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.

Announcements



×
×
  • Create New...

Important Information

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