public class PacketSignPromptFactory extends Object implements SignPromptFactory
SignPromptFactory using ProtocolLib.SignPromptFactory.Response, SignPromptFactory.ResponseHandler| Constructor and Description |
|---|
PacketSignPromptFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
openPrompt(Player player,
List<String> lines,
SignPromptFactory.ResponseHandler responseHandler)
Opens a sign prompt.
|
public void openPrompt(@Nonnull Player player, @Nonnull List<String> lines, @Nonnull SignPromptFactory.ResponseHandler responseHandler)
SignPromptFactoryopenPrompt in interface SignPromptFactoryplayer - the player to open the prompt forlines - the lines to fill the sign with initiallyresponseHandler - the response handler.Copyright © 2020. All rights reserved.