Interface BuilderProvider


public interface BuilderProvider
  • Method Summary

    Modifier and Type
    Method
    Description
    <T extends ResettableBuilder<?, ? super T>>
    T
    provide(Class<T> builderClass)
    Gets a builder of the desired class type, examples may include: ItemStack.Builder, etc.
  • Method Details

    • provide

      <T extends ResettableBuilder<?, ? super T>> T provide(Class<T> builderClass) throws TypeNotFoundException
      Gets a builder of the desired class type, examples may include: ItemStack.Builder, etc.
      Type Parameters:
      T - The type of builder
      Parameters:
      builderClass - The class of the builder
      Returns:
      The builder, if available
      Throws:
      TypeNotFoundException - If the type provided has not been registered