Animated Texture Support for Custom GUI, Custom Effects, Script Items, Abilities

This commit is contained in:
Kam committed 2026-02-28 18:34:10 -05:00
1 parent ae98d12faf
commit e504fc4b4a
3 files changed
+85

No files matched your search

@@ -245,4 +245,46 @@ public interface IItemCustomizable extends IItemStack {
* @return The Z-axis translation
*/
Float getTranslateZ();
/**
* Returns whether the item texture has animation enabled.
*
* @return True if the texture is animated, false otherwise
*/
Boolean isTextureAnimated();
/**
* Sets whether the item texture should be animated.
*
* @param animated True to enable animation
*/
void setTextureAnimated(Boolean animated);
/**
* Gets the number of animation frames in the texture strip.
*
* @return The frame count
*/
Integer getFrameCount();
/**
* Sets the number of animation frames.
*
* @param frameCount The frame count
*/
void setFrameCount(Integer frameCount);
/**
* Gets the ticks per animation frame.
*
* @return The frame time in ticks
*/
Integer getFrameTime();
/**
* Sets the ticks per animation frame.
*
* @param frametime The frame time in ticks
*/
void setFrameTime(Integer frametime);
}