Item Animations
Module to change the appearance of held items.
This module uses the EntityLivingBase and ItemRenderer Mixins to function. Because only this module and no others are supposed to modify their behavior direct references are used instead of forge events.
Author
Aton
Functions
Adds all settings in the input to the settings field of the module. This is required for saving and loading these settings to / from a file. Keep in mind, that these settings are passed by reference, which will get lost if the original setting is reassigned.
Triggers the module initialization.
Directly referenced hook for the itemTransform Inject in the ItemRenderer Mixin. Takes care of scaling and positioning the held item.
Loads self registering elements of the module such as hud elements.
This method will be run on the FMLLoadCompleteEvent on game startup after the config is loaded.
Directly referenced by the ItemRendereMixin. If enabled will scale the potion drink animation. Returns whether custom animation was performed.
Directly referenced by the ItemRendereMixin. If enabled will scale the item swing animation. Returns whether custom animation was performed.