Class ProfessorDialogue.Builder
java.lang.Object
com.pixelmonmod.pixelmon.api.dialogue.professor.ProfessorDialogue.Builder
- Enclosing class:
ProfessorDialogue
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
void
buildAndShow
(net.minecraft.server.level.ServerPlayer... players) void
buildAndShowWithContext
(StoredContext context, net.minecraft.server.level.ServerPlayer... players) Consumer
<net.minecraft.server.level.ServerPlayer> closeHandler
(@NotNull Consumer<net.minecraft.server.level.ServerPlayer> closeHandler) pages
(Collection<ChatPage> pages)
-
Method Details
-
page
-
pages
-
pages
-
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) -
buildAndShowWithContext
public void buildAndShowWithContext(StoredContext context, net.minecraft.server.level.ServerPlayer... players) -
build
-