Jump to content

Recommended Posts

Posted (edited)

I can't figure out how to use IContainerListener. Essentially, I want maybe an event or a way to be able to listen to whenever the output slot of a crafting table is clicked. Simple as that, not much more to it.

Edited by SavageOPress
grammar error
Posted

I'm trying to add recipes that are unrecognizable by both jei and other mods similar to it. I'd like an event that fires that I can use to know when to clear input crafting table slots.

Posted (edited)
On 3/17/2022 at 4:00 AM, diesieben07 said:

I think you need to use the JEI API for that.

There's no way I can find out when a player left clicks output slot as an alternative? There are more mods than just jei that allow recipe sight

Edited by SavageOPress
grammar error
Posted
On 3/21/2022 at 5:43 PM, diesieben07 said:

Do not attempt to do with with some hacky "when the player clicks a slot" behavior. You will fail and it will feel janky and not work.

You're right, I was messing with it and it did feel pretty janky. Will find another solution, thanks though.

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.