Interface BaseBuilder<B extends BaseBuilder<B>>

Type Parameters:
B - the specific builder type extending this interface
All Known Subinterfaces:
BiBuilder<T,U,B>, Builder<T,B>, ChatComponent<C>, MultiComponent, TriBuilder<T,U,V,B>
All Known Implementing Classes:
ButtonBuilder, ChestBuilder, GuiBuilder, PaneBuilder

public interface BaseBuilder<B extends BaseBuilder<B>>
A foundational interface for builder patterns, ensuring a self-referential type.
  • Method Summary

    Modifier and Type
    Method
    Description
    Provides an instance of the builder, ensuring fluent-style method chaining.
  • Method Details

    • instance

      @NotNull B instance()
      Provides an instance of the builder, ensuring fluent-style method chaining.
      Returns:
      the builder instance