Package net.minecraft.text
Class HoverEvent
java.lang.Object
net.minecraft.text.HoverEvent
- Mappings:
Namespace Name official vl
intermediary net/minecraft/class_2568
named net/minecraft/text/HoverEvent
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
private static final record
static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<HoverEvent>
private final HoverEvent.EventData<?>
-
Constructor Summary
ModifierConstructorDescriptionHoverEvent
(HoverEvent.Action<T> action, T contents) private
HoverEvent
(HoverEvent.EventData<?> data) -
Method Summary
Modifier and TypeMethodDescriptionboolean
<T> T
getValue
(HoverEvent.Action<T> action) int
hashCode()
toString()
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lvl;a:Lcom/mojang/serialization/Codec;
intermediary field_46601
Lnet/minecraft/class_2568;field_46601:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/text/HoverEvent;CODEC:Lcom/mojang/serialization/Codec;
-
data
- Mappings:
Namespace Name Mixin selector official b
Lvl;b:Lvl$d;
intermediary field_46602
Lnet/minecraft/class_2568;field_46602:Lnet/minecraft/class_2568$class_8826;
named data
Lnet/minecraft/text/HoverEvent;data:Lnet/minecraft/text/HoverEvent$EventData;
-
-
Constructor Details
-
HoverEvent
- Mappings:
Namespace Name Mixin selector official <init>
Lvl;<init>(Lvl$a;Ljava/lang/Object;)V
intermediary <init>
Lnet/minecraft/class_2568;<init>(Lnet/minecraft/class_2568$class_5247;Ljava/lang/Object;)V
named <init>
Lnet/minecraft/text/HoverEvent;<init>(Lnet/minecraft/text/HoverEvent$Action;Ljava/lang/Object;)V
-
HoverEvent
- Mappings:
Namespace Name Mixin selector official <init>
Lvl;<init>(Lvl$d;)V
intermediary <init>
Lnet/minecraft/class_2568;<init>(Lnet/minecraft/class_2568$class_8826;)V
named <init>
Lnet/minecraft/text/HoverEvent;<init>(Lnet/minecraft/text/HoverEvent$EventData;)V
-
-
Method Details
-
getAction
- Mappings:
Namespace Name Mixin selector official a
Lvl;a()Lvl$a;
intermediary method_10892
Lnet/minecraft/class_2568;method_10892()Lnet/minecraft/class_2568$class_5247;
named getAction
Lnet/minecraft/text/HoverEvent;getAction()Lnet/minecraft/text/HoverEvent$Action;
-
getValue
- Mappings:
Namespace Name Mixin selector official a
Lvl;a(Lvl$a;)Ljava/lang/Object;
intermediary method_10891
Lnet/minecraft/class_2568;method_10891(Lnet/minecraft/class_2568$class_5247;)Ljava/lang/Object;
named getValue
Lnet/minecraft/text/HoverEvent;getValue(Lnet/minecraft/text/HoverEvent$Action;)Ljava/lang/Object;
-
equals
-
toString
-
hashCode
public int hashCode()
-