Package studio.mevera.lotus.api.content
Class ContentBuilder
java.lang.Object
studio.mevera.lotus.api.content.ContentBuilder
Fluent builder for
Content. All mutation lives here so the runtime ContentEditor
surface stays small; user-facing layout DSL is contained to construction time.-
Method Summary
Modifier and TypeMethodDescription@NotNull ContentBuilder@NotNull Contentbuild()@NotNull ContentBuilder@NotNull Capacitycapacity()@NotNull ContentBuilder@NotNull ContentBuilder@NotNull ContentBuilder@NotNull ContentBuilder@NotNull ContentBuilderfillBorder(@NotNull Button button) @NotNull ContentBuilder@NotNull ContentBuilder
-
Method Details
-
capacity
-
set
@NotNull public @NotNull ContentBuilder set(@NotNull @NotNull Slot slot, @NotNull @NotNull Button button) -
set
-
fill
@NotNull public @NotNull ContentBuilder fill(@NotNull @NotNull SlotMask mask, @NotNull @NotNull Button button) -
fillAll
-
fillBorder
-
draw
@NotNull public @NotNull ContentBuilder draw(@NotNull @NotNull Slot start, @NotNull @NotNull Direction direction, @NotNull @NotNull Button button) -
draw
@NotNull public @NotNull ContentBuilder draw(@NotNull @NotNull Slot start, @NotNull @NotNull Slot end, @NotNull @NotNull Direction direction, @NotNull @NotNull Button button) -
buttons
-
apply
-
build
-