Builder

class Builder

Builder for PackMeta.

Since

1.15.2

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
@NotNull
open fun build(): @NotNull PackMeta
Builds the PackMeta instance.
Link copied to clipboard
@NotNull
open fun description(@NotNull description: @NotNull String): @NotNull PackMeta.Builder
Sets the pack description.
Link copied to clipboard
@NotNull
open fun format(format: Int): @NotNull PackMeta.Builder
Sets the pack format.
Link copied to clipboard
@NotNull
open fun maxFormat(@NotNull version: @NotNull PackMeta.PackVersion): @NotNull PackMeta.Builder
Sets the maximum supported format.
Link copied to clipboard
@NotNull
open fun minFormat(@NotNull version: @NotNull PackMeta.PackVersion): @NotNull PackMeta.Builder
Sets the minimum supported format.
Link copied to clipboard
@NotNull
open fun overlayEntry(@NotNull overlayEntry: @NotNull PackMeta.OverlayEntry): @NotNull PackMeta.Builder
Adds an overlay entry.
Link copied to clipboard
@NotNull
open fun supportedFormats(@NotNull range: @NotNull PackMeta.VersionRange): @NotNull PackMeta.Builder
Sets the supported formats range.