Interface BuildableComponent<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:
Component, ComponentLike
All Known Subinterfaces:
ListComponent, NumberComponent, TemporalComponent, TextComponent, TranslatableComponent

public interface BuildableComponent<C extends BuildableComponent<C,B>,B extends BuildableComponent.Builder<C,B>> extends Component
A component that can be built and converted to a builder.
  • Method Details

    • toBuilder

      B toBuilder()
      Creates a new builder from this component.