public interface SignPromptFactory
| Modifier and Type | Interface and Description |
|---|---|
static class |
SignPromptFactory.Response
Encapsulates a response to the players input.
|
static interface |
SignPromptFactory.ResponseHandler
Functional interface for handling responses to an active sign prompt.
|
| Modifier and Type | Method and Description |
|---|---|
void |
openPrompt(Player player,
List<String> lines,
SignPromptFactory.ResponseHandler responseHandler)
Opens a sign prompt.
|
void openPrompt(@Nonnull Player player, @Nonnull List<String> lines, @Nonnull SignPromptFactory.ResponseHandler responseHandler)
player - the player to open the prompt forlines - the lines to fill the sign with initiallyresponseHandler - the response handler.Copyright © 2020. All rights reserved.