Package-level declarations

Types

Link copied to clipboard
data class AlignComponent(val child: GuiComponent, val horizontal: Supplier<HorizontalAlign>, val vertical: Supplier<VerticalAlign>) : GuiComponent
Link copied to clipboard
Link copied to clipboard
class ButtonComponent(element: GuiComponent, insets: Int, val onClick: Runnable) : PanelComponent
Link copied to clipboard
A gui element centers another gui element
Link copied to clipboard
class CollapsibleComponent(val title: Supplier<GuiComponent>, val body: Supplier<GuiComponent>, val collapsedState: GetSetter<Boolean> = GetSetter.floating( true )) : GuiComponent
Link copied to clipboard
Link copied to clipboard
A gui element composing multiple other gui elements by stacking them vertically.
Link copied to clipboard
class HoverComponent(val child: GuiComponent, val hoverLines: Supplier<List<String>>) : GuiComponent
Link copied to clipboard
open class IndirectComponent(val component: Supplier<out GuiComponent>) : GuiComponent
Link copied to clipboard
open class ItemStackComponent(val itemStack: GetSetter<IItemStack>) : GuiComponent
Link copied to clipboard
class MetaComponent(val beforeClose: Supplier<CloseEventListener.CloseAction>? = null, val afterClose: Runnable? = null, val requestClose: GetSetter<Runnable>? = null) : GuiComponent, CloseEventListener

Component providing XML wrappers and such the ability to wrap meta operations that operate on the entire screen. This component should be permanently mounted and does not impact layouting or rendering.

Link copied to clipboard
Renders an element with a floating rect.
Link copied to clipboard
A gui element composing multiple other gui elements by stacking them horizontally.
Link copied to clipboard
class ScaleComponent(val child: GuiComponent, val scaleFactor: Supplier<Float>) : GuiComponent
Link copied to clipboard
Link copied to clipboard
open class SliderComponent(val value: GetSetter<Float>, val minValue: Float, val maxValue: Float, val minStep: Float, width: Int) : GuiComponent
Link copied to clipboard
class SpacerComponent(val width: Supplier<Int>, val height: Supplier<Int>) : GuiComponent
Link copied to clipboard
A gui element displaying a switch to represent a boolean value.
Link copied to clipboard
data class TabComponent(val tabs: List<TabComponent.Tab>, val selectedTabIndex: GetSetter<Int>) : GuiComponent
Link copied to clipboard
A gui element which renders a string in a single line
Link copied to clipboard
open class TextFieldComponent(val text: GetSetter<String>, preferredWidth: Int, val editable: Supplier<Boolean> = GetSetter.constant(true), val suggestion: String = "", val font: IFontRenderer = IMinecraft.instance.defaultFontRenderer) : GuiComponent
Link copied to clipboard
class WhenComponent(val condition: Supplier<out Boolean>, val ifTrue: Supplier<out GuiComponent>, val ifFalse: Supplier<out GuiComponent>) : IndirectComponent