枚举的使用
net.md_5.bungee.api.chat.HoverEvent.Action
使用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 appropriateContentclass for anHoverEvent.Actionfor the GSON serialization参数类型为HoverEvent.Action的net.md_5.bungee.api.chat中的构造器限定符构造器说明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.ActionContent.requiredAction()Required action for this content type.Entity.requiredAction()Item.requiredAction()Text.requiredAction()修饰符和类型方法说明voidContent.assertAction(HoverEvent.Action input) Tests this content against an action
HoverEvent(Action, Content[])