Jump to content

Recommended Posts

Posted

Just a list of possible events that would allow more freedom while making mods

 

- ItemBobbingEvent

    Located in EntityRenderer

 

  Reveal hidden contents

 

would be used for custom item bobbing (such as swords moving more realistically)

 

- OrientCameraEvent

    Located in EntityRenderer

 

  Reveal hidden contents

 

Used for interesting movements in the viewpoint camera (such as combat jolting/landing jolt)

 

- SetupFogEvent / UpdateFogColorEvent

    Located in EntityRenderer

 

  Reveal hidden contents

 

 

  Reveal hidden contents

 

Used for changing distance of fog in situations / color (such as having a blizzard with a closer fog line)

 

- WeatherEvent

    Located in World

 

  Reveal hidden contents

 

 

Also, a hook for mod options for ingame changes, a hook for custom dimension loading screens, and finally a way to create 3D gui's would be nice. (I have the mod options files already, working on custom dimension loading screen code as well. The 3D gui's may be a little complicated but I can get that done.)

 

I didn't really bother to sugar coat the whole thing, but I can certainly explain anything on this post. If possible, it would be very useful to have these events/hooks inside minecraft forge instead of creating my own separate api that really has no point.

Thank you

Posted

How about PlayerWakeUpEvent - pretty self-explanatory, but currently I use LivingUpdateEvent to check if the player is fully asleep instead.

 

InventorySlotClick event would be useful for intercepting inventory interactions, for example if you have a spell that creates magic armor that you don't want the player to be able to remove or that destroys itself if clicked.

Posted

Well I have just finished a Slot Render Event, but couldn't you just use the container.java method of slotClick for the SlotClickEvent? Also, thanks for the PlayerWakingEvent Idea! If anyone could tell me how to do a pr (noob at github) then that would be awesome!

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.