Uses of Interface
net.minecraft.text.ClickEvent
Packages that use ClickEvent
Package
Description
The base package for all Minecraft classes.
-
Uses of ClickEvent in net.minecraft
Fields in net.minecraft with type parameters of type ClickEventModifier and TypeFieldDescriptionprivate final Optional<ClickEvent> class_11420.onCancelThe field for theonCancelrecord component.private final Optional<ClickEvent> class_11426.onCancelThe field for theonCancelrecord component.private final Optional<ClickEvent> class_11429.onCancelThe field for theonCancelrecord component.private final Optional<ClickEvent> class_11415.onClickThe field for theonClickrecord component.Methods in net.minecraft that return types with arguments of type ClickEventModifier and TypeMethodDescriptionclass_11418.onCancel()class_11419.onCancel()class_11420.onCancel()Returns the value of theonCancelrecord component.default Optional<ClickEvent> class_11423.onCancel()class_11426.onCancel()Returns the value of theonCancelrecord component.class_11428.onCancel()class_11429.onCancel()Returns the value of theonCancelrecord component.class_11415.onClick()Returns the value of theonClickrecord component.Method parameters in net.minecraft with type arguments of type ClickEventModifier and TypeMethodDescriptionprivate voidclass_11473.method_71868(Optional<ClickEvent> optional) Constructor parameters in net.minecraft with type arguments of type ClickEventModifierConstructorDescriptionclass_11415(class_11416 class_11416, Optional<ClickEvent> optional) class_11420(class_11417 class_11417, RegistryEntryList<class_11419> registryEntryList, Optional<ClickEvent> optional, int int2, int int3) class_11426(class_11417 class_11417, List<class_11415> list, Optional<ClickEvent> optional, int int2) class_11429(class_11417 class_11417, Optional<ClickEvent> optional, int int2, int int3) -
Uses of ClickEvent in net.minecraft.client.gui.screen
Methods in net.minecraft.client.gui.screen with parameters of type ClickEventModifier and TypeMethodDescriptionprotected booleanScreen.method_71846(ClickEvent clickEvent) protected static booleanScreen.method_71847(ClickEvent clickEvent, MinecraftClient minecraftClient, @Nullable Screen screen) -
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 booleanBookScreen.method_71846(ClickEvent clickEvent) -
Uses of ClickEvent in net.minecraft.text
Classes in net.minecraft.text that implement ClickEventModifier and TypeClassDescriptionstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordFields 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.codecstatic final com.mojang.serialization.Codec<ClickEvent> ClickEvent.CODECMethods 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 ClickEventModifierConstructorDescriptionprivateStyle(@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 ClickEventModifierConstructorDescriptionprivateAction(String name, boolean userDefinable, com.mojang.serialization.MapCodec<? extends ClickEvent> codec)