Interface BuilderProvider


  • public interface BuilderProvider
    • Method Detail

      • provide

        <T extends ResettableBuilder<?,​? super T>> T provide​(java.lang.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