Class PaperNoticeDialog
java.lang.Object
io.github.projectunified.unidialog.paper.dialog.PaperDialog<PaperNoticeDialog>
io.github.projectunified.unidialog.paper.dialog.PaperNoticeDialog
- All Implemented Interfaces:
AdventureDialog<org.bukkit.inventory.ItemStack,,PaperDialogBodyBuilder, PaperDialogInputBuilder, PaperNoticeDialog> AdventureSupport,Dialog<org.bukkit.inventory.ItemStack,,PaperDialogBodyBuilder, PaperDialogInputBuilder, PaperNoticeDialog> NoticeDialog<org.bukkit.inventory.ItemStack,PaperDialogBodyBuilder, PaperDialogInputBuilder, PaperDialog<?>, PaperDialogActionBuilder, PaperNoticeDialog>
public class PaperNoticeDialog
extends PaperDialog<PaperNoticeDialog>
implements NoticeDialog<org.bukkit.inventory.ItemStack,PaperDialogBodyBuilder,PaperDialogInputBuilder,PaperDialog<?>,PaperDialogActionBuilder,PaperNoticeDialog>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.github.projectunified.unidialog.core.dialog.Dialog
Dialog.AfterAction -
Constructor Summary
ConstructorsConstructorDescriptionPaperNoticeDialog(String defaultNamespace, Function<String, net.kyori.adventure.text.Component> componentDeserializer) -
Method Summary
Modifier and TypeMethodDescriptionaction(Consumer<PaperDialogActionBuilder> action) Set the action of the notice dialogprotected io.papermc.paper.registry.data.dialog.type.DialogTypeMethods inherited from class io.github.projectunified.unidialog.paper.dialog.PaperDialog
afterAction, body, canCloseWithEscape, externalTitle, getAction, getComponentDeserializer, getDialog, getDialogBuilder, input, opener, pause, register, register, register, register, register, register, titleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.projectunified.unidialog.adventure.dialog.AdventureDialog
externalTitle, titleMethods inherited from interface io.github.projectunified.unidialog.adventure.support.AdventureSupport
deserializeMethods inherited from interface io.github.projectunified.unidialog.core.dialog.Dialog
afterAction, body, body, canCloseWithEscape, input, input, opener, pause
-
Constructor Details
-
PaperNoticeDialog
-
-
Method Details
-
action
Description copied from interface:NoticeDialogSet the action of the notice dialog- Specified by:
actionin interfaceNoticeDialog<org.bukkit.inventory.ItemStack,PaperDialogBodyBuilder, PaperDialogInputBuilder, PaperDialog<?>, PaperDialogActionBuilder, PaperNoticeDialog> - Parameters:
action- the action to be performed- Returns:
- the notice dialog itself for method chaining
-
getDialogType
protected io.papermc.paper.registry.data.dialog.type.DialogType getDialogType()- Specified by:
getDialogTypein classPaperDialog<PaperNoticeDialog>
-