AnimatedDye

fun AnimatedDye(defaultTicksPerColor: Int? = null, defaultColors: List<Color>? = null): ItemBehaviorFactory<AnimatedDye>

Creates a factory for AnimatedDye behaviors using the given values, if not specified otherwise in the config.

Parameters

defaultTicksPerColor

The default value for the amount of ticks between each color. Used when ticks_per_color is not specified in the config, or null to require the presence of a config entry.

defaultColors

The default value for the list of colors to cycle through, to be used when colors is not specified in the config, or null to require the presence of a config entry.