Invalid leaf directive! `since`

JeiDrawableAnimation

Link to jeidrawableanimation

Represents the type of animation that an animated JeiDrawable should apply.

This class was added by a mod with mod-id jeitweaker. So you need to have this mod installed if you want to use this feature.

Importing the class

Link to importing-the-class

It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.

ZenScript
Copy
import mods.jei.component.JeiDrawableAnimation;

JeiDrawableAnimation is an enum. It has 8 enum constants. They are accessible using the code below.

ZenScript
Copy
JeiDrawableAnimation.SHOW_TOP_TO_BOTTOM
JeiDrawableAnimation.SHOW_BOTTOM_TO_TOP
JeiDrawableAnimation.SHOW_LEFT_TO_RIGHT
JeiDrawableAnimation.SHOW_RIGHT_TO_LEFT
JeiDrawableAnimation.HIDE_TOP_TO_BOTTOM
JeiDrawableAnimation.HIDE_BOTTOM_TO_TOP
JeiDrawableAnimation.HIDE_LEFT_TO_RIGHT
JeiDrawableAnimation.HIDE_RIGHT_TO_LEFT