Button Builder
A builder class for creating a GuiButton with various configuration options.
This class allows you to define the behavior, appearance, and additional properties of a button in a GUI. You can customize the button's item, click actions, animations, and other properties using this builder.
Properties
A list of item frames for animating the button.
The interval (in ticks) between animation frames.
The metadata associated with the button.
The event scope that defines the conditions for this button's action to be triggered.
Functions
Sets up a chain redirection from this button to another GUI builder when clicked.
Adds frames for animating the button.
Sets the interval (in ticks) between animation frames.
Sets up a redirection from this button to another GUI builder when clicked.
Sets up a redirection with metadata from this button to another GUI builder when clicked.