Uses of Class
net.minecraft.text.ClickEvent
-
Uses of ClickEvent in net.minecraft.text
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<ClickEvent> ClickEvent.CODEC
Modifier and TypeMethodDescriptionStyle.withClickEvent
(@Nullable ClickEvent clickEvent) Returns a new style with the click event provided and all other attributes of this style.ModifierConstructorDescriptionprivate
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)