Class ProfessorDialogue.Builder
java.lang.Object
com.pixelmonmod.pixelmon.api.dialogue.professor.ProfessorDialogue.Builder
- Enclosing class:
- ProfessorDialogue
-
Method Summary
Modifier and TypeMethodDescriptionbackgroundColor
(Color color) build()
void
buildAndShow
(net.minecraft.server.level.ServerPlayer... players) Consumer<net.minecraft.server.level.ServerPlayer>
closeHandler
(@NotNull Consumer<net.minecraft.server.level.ServerPlayer> closeHandler) floatingUpTicks
(int floatingUpTicks) icon
(ResourceWithFallback icon) icon
(net.minecraft.resources.ResourceLocation icon) page
(net.minecraft.network.chat.Component title, net.minecraft.network.chat.Component text) pages
(Collection<ChatPage> pages) renderingHandler
(RenderingHandler renderingHandler) watermark
(ResourceWithFallback watermark) watermark
(net.minecraft.resources.ResourceLocation watermark)
-
Method Details
-
page
public ProfessorDialogue.Builder page(net.minecraft.network.chat.Component title, net.minecraft.network.chat.Component text) -
page
-
pages
-
pages
-
floatingUpTicks
-
renderingHandler
-
textColor
-
backgroundColor
-
icon
-
icon
-
watermark
-
watermark
-
closeHandler
public ProfessorDialogue.Builder closeHandler(@NotNull @NotNull Consumer<net.minecraft.server.level.ServerPlayer> closeHandler) -
closeHandler
-
buildAndShow
public void buildAndShow(net.minecraft.server.level.ServerPlayer... players) -
build
-