枚举的使用
net.md_5.bungee.api.chat.HoverEvent.Action
-
net.md_5.bungee.api.chat中HoverEvent.Action的使用
修饰符和类型方法说明static HoverEvent.Action
返回带有指定名称的该类型的枚举常量。static HoverEvent.Action[]
HoverEvent.Action.values()
按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。修饰符和类型方法说明static Class<?>
HoverEvent.getClass
(HoverEvent.Action action, boolean array) Gets the appropriateContent
class for anHoverEvent.Action
for the GSON serialization限定符构造器说明HoverEvent
(HoverEvent.Action action, BaseComponent[] value) 已过时。HoverEvent
(HoverEvent.Action action, Content... contents) Creates event with an action and a list of contents. -
net.md_5.bungee.api.chat.hover.content中HoverEvent.Action的使用
修饰符和类型方法说明abstract HoverEvent.Action
Content.requiredAction()
Required action for this content type.Entity.requiredAction()
Item.requiredAction()
Text.requiredAction()
修饰符和类型方法说明void
Content.assertAction
(HoverEvent.Action input) Tests this content against an action
HoverEvent(Action, Content[])