Uses of Interface
net.minecraft.text.ClickEvent
Packages that use ClickEvent
-
Uses of ClickEvent in net.minecraft.text
Classes in net.minecraft.text that implement ClickEventModifier and TypeClassDescriptionstatic final record
static final record
static final record
static final record
static final record
static final record
Fields in net.minecraft.text declared as ClickEventFields in net.minecraft.text with type parameters of type ClickEventModifier and TypeFieldDescription(package private) final com.mojang.serialization.MapCodec
<? extends ClickEvent> ClickEvent.Action.codec
static final com.mojang.serialization.Codec
<ClickEvent> ClickEvent.CODEC
Methods in net.minecraft.text that return ClickEventMethods in net.minecraft.text with parameters of type ClickEventModifier and TypeMethodDescriptionStyle.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 ClickEventModifierConstructorDescriptionprivate
Style
(@Nullable TextColor color, @Nullable Integer shadowColor, @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) Constructor parameters in net.minecraft.text with type arguments of type ClickEventModifierConstructorDescriptionprivate
Action
(String name, boolean userDefinable, com.mojang.serialization.MapCodec<? extends ClickEvent> codec)