Jump to content

Adding GUI to vanilla Cauldron vs New Cauldron item? (1.7.10)


Recommended Posts

Posted

I'm debating the pros and cons of trying to hook into the vanilla cauldron for some "brewing" recipes, as opposed to basically just making a copy of the item and programming it from scratch.

 

Right now the only way I know to do anything with the cauldron (other than the vanilla "hold water" function) is to require the player to right-click with a specific item (which seems a bit ridiculous since none of the other crafting blocks work that way) I'm pretty sure there are overrides I could use but...

 

Is there an easy way to hook a GUI and effect into the vanilla cauldron or should I just make my own? (I've noticed most mods go with the "make your own" method so I assume that's the best choice, but it seems a shame to waste the vanilla cauldron like that)

Posted

Subscribe to this event: 'PlayerInteractEvent',

You can open your custom Gui there.

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

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.