类的使用
net.minecraft.text.ClickEvent
-
使用ClickEvent的程序包 程序包 说明 net.minecraft.text -
-
net.minecraft.text中ClickEvent的使用
声明为ClickEvent的net.minecraft.text中的字段 修饰符和类型 字段 说明 private @Nullable ClickEventStyle. clickEvent返回ClickEvent的net.minecraft.text中的方法 修饰符和类型 方法 说明 @Nullable ClickEventStyle. getClickEvent()Returns the click event of this style.private static @Nullable ClickEventStyle.Serializer. getClickEvent(JsonObject root)参数类型为ClickEvent的net.minecraft.text中的方法 修饰符和类型 方法 说明 StyleStyle. withClickEvent(@Nullable ClickEvent clickEvent)Returns a new style with the click event provided and all other attributes of this style.参数类型为ClickEvent的net.minecraft.text中的构造器 构造器 说明 Style(@Nullable TextColor color, @Nullable Boolean bold, @Nullable Boolean italic, @Nullable Boolean underlined, @Nullable Boolean strikethrough, @Nullable Boolean obfuscated, @Nullable ClickEvent clickEvent, @Nullable HoverEvent hoverEvent, @Nullable String insertion, @Nullable Identifier font)
-