Interface BuildableComponent.Builder<C extends BuildableComponent<C,B>,B extends BuildableComponent.Builder<C,B>>

Type Parameters:
C - the type of the component
B - the type of the builder
All Superinterfaces:
Buildable.Builder<C,B>
All Known Subinterfaces:
ListComponent.Builder, NumberComponent.Builder, TemporalComponent.Builder, TextComponent.Builder, TranslatableComponent.Builder
Enclosing interface:
BuildableComponent<C extends BuildableComponent<C,B>,B extends BuildableComponent.Builder<C,B>>

public static interface BuildableComponent.Builder<C extends BuildableComponent<C,B>,B extends BuildableComponent.Builder<C,B>> extends Buildable.Builder<C,B>
A builder for a buildable component.
  • Method Summary

    Modifier and Type
    Method
    Description
    Sets the text textStyle of the component.

    Methods inherited from interface com.xpdustry.distributor.api.util.Buildable.Builder

    build, modify
  • Method Details

    • setTextStyle

      B setTextStyle(TextStyle textStyle)
      Sets the text textStyle of the component.
      Parameters:
      textStyle - the text textStyle
      Returns:
      this builder