Package io.papermc.paper.dialog
Interface Dialog
- All Superinterfaces:
DialogLike
,Keyed
,Keyed
Represents a dialog. Can be created during normal server operation via
create(Consumer)
.
Can also be created during bootstrap via RegistryEvents.DIALOG
.-
Field Summary
Fields -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic Dialog
create
(Consumer<RegistryBuilderFactory<Dialog, ? extends DialogRegistryEntry.Builder>> value) Creates a new dialog using the provided builder.
-
Field Details
-
CUSTOM_OPTIONS
-
QUICK_ACTIONS
-
SERVER_LINKS
-
-
Method Details
-
create
@Experimental static Dialog create(Consumer<RegistryBuilderFactory<Dialog, ? extends DialogRegistryEntry.Builder>> value) Creates a new dialog using the provided builder.- Parameters:
value
- the builder to use for creating the dialog- Returns:
- a new dialog instance
-