Class StatefulScreen.Builder
java.lang.Object
com.pixelmonmod.api.client.screen.StatefulScreen.Builder
- Enclosing class:
- StatefulScreen
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
close
(Consumer<StatefulScreen> close) closeOnEsc
(Predicate<StatefulScreen> closeOnEsc) init
(Consumer<StatefulScreen> init) palette
(ColorPalette palette) pauses
(boolean pauses) postRenderTick
(RenderConsumer postRenderTickTask) postTick
(Consumer<StatefulScreen> postTickTask) preRenderTick
(RenderConsumer preRenderTickTask) preTick
(Consumer<StatefulScreen> preTickTask) styles
(ScreenStyle... styles) styles
(Collection<ScreenStyle> styles) tabFocusChange
(boolean tabFocusChange) widgets
(int priority, Collection<Function<StatefulScreen, StatefulWidget<? extends StatefulWidget<?>>>> widgets) final StatefulScreen.Builder
widgets
(int priority, Function<StatefulScreen, StatefulWidget<? extends StatefulWidget<?>>>... widgets) widgets
(Collection<Function<StatefulScreen, StatefulWidget<? extends StatefulWidget<?>>>> widgets) final StatefulScreen.Builder
widgets
(Function<StatefulScreen, StatefulWidget<? extends StatefulWidget<?>>>... widgets)
-
Method Details
-
mathMode
-
init
-
close
-
preTick
-
postTick
-
preRenderTick
-
postRenderTick
-
closeOnEsc
-
bounds
-
pauses
-
tabFocusChange
-
widgets
@SafeVarargs public final StatefulScreen.Builder widgets(Function<StatefulScreen, StatefulWidget<? extends StatefulWidget<?>>>... widgets) -
widgets
@SafeVarargs public final StatefulScreen.Builder widgets(int priority, Function<StatefulScreen, StatefulWidget<? extends StatefulWidget<?>>>... widgets) -
widgets
public StatefulScreen.Builder widgets(Collection<Function<StatefulScreen, StatefulWidget<? extends StatefulWidget<?>>>> widgets) -
widgets
public StatefulScreen.Builder widgets(int priority, Collection<Function<StatefulScreen, StatefulWidget<? extends StatefulWidget<?>>>> widgets) -
styles
-
styles
-
palette
-
palette
-
build
-