Home Commands Examples Getting Started With Scripts Global Keywords
Generic JSON Recipes

JeiDrawableAnimation

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

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.

script.zs
import mods.jei.component.JeiDrawableAnimation;

Enum Constants

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

script.zs
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