ChamoItemSkins
Toggle table of contents
1.0.0
java
Target filter
java
Switch theme
Search in API
Skip to content
ChamoItemSkins
plugin
/
net.chamosmp.chamoitemskins.util
/
ChatInputUtil
Chat
Input
Util
public
final
class
ChatInputUtil
implements
Listener
Utility for getting chat input from players.
Members
Constructors
Chat
Input
Util
Link copied to clipboard
public
void
ChatInputUtil
(
Plugin
plugin
,
DialogUtil
dialogUtil
,
MessageUtil
messageUtil
)
Functions
get
Input
Link copied to clipboard
public
void
getInput
(
Player
player
,
Component
prompt
,
Consumer
<
String
>
callback
,
String
key
,
Component
title
)
public
void
getInput
(
Player
player
,
Component
prompt
,
Consumer
<
String
>
callback
,
String
key
,
Component
title
,
String
defaultValue
)
"The util means, the dialog/chat thingy, not to be confused"
get
Yes
No
Link copied to clipboard
public
void
getYesNo
(
Player
player
,
Consumer
<
String
>
callback
,
String
key
,
Component
title
)
on
Chat
Link copied to clipboard
public
void
onChat
(
AsyncChatEvent
event
)
on
Tab
Complete
Link copied to clipboard
public
void
onTabComplete
(
TabCompleteEvent
event
)