[SOLVED] The technical issues have been figured out.
You can find the mod source at: https://github.com/tgraupmann/MinecraftChromaMod
Is there a guide for hooking into item events?
I'm probably looking for the event API documentation...
AKA I'd like to have custom code when an item is in use so that I can call custom code.
For example, when the player picks up and selects a particular item. Is there an event when the bow or pickaxe or cobblestone is active in the players hands?
Is there an event for when Armor, Pants, Helmet are equipped?
The reason for this is I have a Java library for controlling hardware RGB lighting. I want to hook into the events to control the lighting and play various animations.
A keyboard animation looks like this:
Other useful events.
1. Event for when the game starts and in the main menu (to init lighting)
2. Event when the game is going to exit (to uninit lighting)
3. Event when the player spawns
4. Event when the player jumps
5. Event when the player opens a door
6. Event when the player closes a door
7. Event when the player breaks a block
8. Event when the player attacks with a sword
9. Event when the player attacks with a bow
10. Event when the player gets hit by a monster
11. Event when the player is on fire
12. Event when player is under water
13. Event when player gains XP
14. Event for player health (show healthbar on the F-keys)
15. Event for player armor (show armor on F-keys)
16. Event when player drinks a potion
17. Event when player eats food
Some pointers would be most appreciated.
My experience with Minecraft Forge comes from this tutorial series - https://www.udemy.com/minecraft-modding-java
So I can make custom items, pickaxe, shovel, sword, armor, creative tabs, etc. The course only covers making custom items, recipes, and skinning items. I'd like to take the next step into player events, door events, and item events.
Thank you!