Uses of Class
net.minecraft.text.ClickEvent
| Package | Description |
|---|---|
| net.minecraft.text |
-
Uses of ClickEvent in net.minecraft.text
Fields in net.minecraft.text declared as ClickEvent Modifier and Type Field Description private @Nullable ClickEventStyle. clickEventMethods in net.minecraft.text that return ClickEvent Modifier and Type Method Description @Nullable ClickEventStyle. getClickEvent()Returns the click event of this style.private static @Nullable ClickEventStyle.Serializer. getClickEvent(JsonObject root)Methods in net.minecraft.text with parameters of type ClickEvent Modifier and Type Method Description StyleStyle. withClickEvent(@Nullable ClickEvent clickEvent)Returns a new style with the click event provided and all other attributes of this style.Constructors in net.minecraft.text with parameters of type ClickEvent Constructor Description 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)