Uses of Interface
net.minecraft.text.ClickEvent
Packages that use ClickEvent
Package
Description
-
Uses of ClickEvent in net.minecraft.client.gui.screen
Methods in net.minecraft.client.gui.screen with parameters of type ClickEventModifier and TypeMethodDescriptionprotected static void
Screen.handleBasicClickEvent
(ClickEvent clickEvent, MinecraftClient client, @Nullable Screen screenAfterRun) protected void
Screen.handleClickEvent
(MinecraftClient client, ClickEvent clickEvent) protected static void
Screen.handleClickEvent
(ClickEvent clickEvent, MinecraftClient client, @Nullable Screen screenAfterRun) -
Uses of ClickEvent in net.minecraft.client.gui.screen.dialog
Fields in net.minecraft.client.gui.screen.dialog with type parameters of type ClickEventModifier and TypeFieldDescriptionprivate Supplier
<Optional<ClickEvent>> DialogScreen.cancelAction
static final Supplier
<Optional<ClickEvent>> DialogControls.EMPTY_ACTION_CLICK_EVENT
Methods in net.minecraft.client.gui.screen.dialog that return types with arguments of type ClickEventMethods in net.minecraft.client.gui.screen.dialog with parameters of type ClickEventModifier and TypeMethodDescriptionprivate void
DialogScreen.handleClickEvent
(ClickEvent clickEvent, @Nullable Screen afterActionScreen) Method parameters in net.minecraft.client.gui.screen.dialog with type arguments of type ClickEventModifier and TypeMethodDescriptionvoid
DialogScreen.runAction
(Optional<ClickEvent> clickEvent) void
DialogScreen.runAction
(Optional<ClickEvent> clickEvent, AfterAction afterAction) -
Uses of ClickEvent in net.minecraft.client.gui.screen.ingame
Methods in net.minecraft.client.gui.screen.ingame with parameters of type ClickEventModifier and TypeMethodDescriptionprotected void
BookScreen.handleClickEvent
(MinecraftClient client, ClickEvent clickEvent) -
Uses of ClickEvent in net.minecraft.dialog.action
Fields in net.minecraft.dialog.action declared as ClickEventModifier and TypeFieldDescriptionprivate final ClickEvent
SimpleDialogAction.value
The field for thevalue
record component.Methods in net.minecraft.dialog.action that return ClickEventModifier and TypeMethodDescriptionSimpleDialogAction.value()
Returns the value of thevalue
record component.Methods in net.minecraft.dialog.action that return types with arguments of type ClickEventModifier and TypeMethodDescriptionDialogAction.createClickEvent
(Map<String, DialogAction.ValueGetter> valueGetters) DynamicCustomDialogAction.createClickEvent
(Map<String, DialogAction.ValueGetter> valueGetters) DynamicRunCommandDialogAction.createClickEvent
(Map<String, DialogAction.ValueGetter> valueGetters) SimpleDialogAction.createClickEvent
(Map<String, DialogAction.ValueGetter> valueGetters) Constructors in net.minecraft.dialog.action with parameters of type 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
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 that return types with arguments of type ClickEventModifier and TypeMethodDescriptioncom.mojang.serialization.MapCodec
<? extends ClickEvent> ClickEvent.Action.getCodec()
Methods 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)