Class AbstractSoundAnimation

java.lang.Object
xyz.xenondevs.invui.animation.impl.AbstractAnimation
xyz.xenondevs.invui.animation.impl.AbstractSoundAnimation
All Implemented Interfaces:
Animation
Direct Known Subclasses:
ColumnAnimation, HorizontalSnakeAnimation, RandomAnimation, RowAnimation, SequentialAnimation, SplitSequentialAnimation, VerticalSnakeAnimation

public abstract class AbstractSoundAnimation extends AbstractAnimation
Abstract base class for animations that may use the entity pickup sound when displaying a slot.
  • Constructor Details

    • AbstractSoundAnimation

      public AbstractSoundAnimation(int tickDelay, boolean sound)
      Creates a new AbstractSoundAnimation.
      Parameters:
      tickDelay - The delay between each frame
      sound - Whether the entity pickup sound should be played when displaying a slot