Uses of Class
net.minecraft.text.ClickEvent
-
Uses of ClickEvent in net.minecraft.text
Modifier and TypeMethodDescription@Nullable ClickEvent
Style.getClickEvent()
Returns the click event of this style.private static @Nullable ClickEvent
Style.Serializer.getClickEvent
(com.google.gson.JsonObject root) Modifier and TypeMethodDescriptionStyle.withClickEvent
(@Nullable ClickEvent clickEvent) Returns a new style with the click event provided and all other attributes of this style.ModifierConstructorDescription(package private)
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)