Package net.minecraft.text
Class HoverEvent
java.lang.Object
net.minecraft.text.HoverEvent
- Mappings:
Namespace Name named net/minecraft/text/HoverEvent
intermediary net/minecraft/class_2568
official yb
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
private static final record
static class
static interface
-
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 named CODEC
Lnet/minecraft/text/HoverEvent;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_46601
Lnet/minecraft/class_2568;field_46601:Lcom/mojang/serialization/Codec;
official a
Lyb;a:Lcom/mojang/serialization/Codec;
-
data
- Mappings:
Namespace Name Mixin selector named data
Lnet/minecraft/text/HoverEvent;data:Lnet/minecraft/text/HoverEvent$EventData;
intermediary field_46602
Lnet/minecraft/class_2568;field_46602:Lnet/minecraft/class_2568$class_8826;
official b
Lyb;b:Lyb$e;
-
-
Constructor Details
-
HoverEvent
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/text/HoverEvent;<init>(Lnet/minecraft/text/HoverEvent$Action;Ljava/lang/Object;)V
intermediary <init>
Lnet/minecraft/class_2568;<init>(Lnet/minecraft/class_2568$class_5247;Ljava/lang/Object;)V
official <init>
Lyb;<init>(Lyb$a;Ljava/lang/Object;)V
-
HoverEvent
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/text/HoverEvent;<init>(Lnet/minecraft/text/HoverEvent$EventData;)V
intermediary <init>
Lnet/minecraft/class_2568;<init>(Lnet/minecraft/class_2568$class_8826;)V
official <init>
Lyb;<init>(Lyb$e;)V
-
-
Method Details
-
getAction
- Mappings:
Namespace Name Mixin selector named getAction
Lnet/minecraft/text/HoverEvent;getAction()Lnet/minecraft/text/HoverEvent$Action;
intermediary method_10892
Lnet/minecraft/class_2568;method_10892()Lnet/minecraft/class_2568$class_5247;
official a
Lyb;a()Lyb$a;
-
getValue
- Mappings:
Namespace Name Mixin selector named getValue
Lnet/minecraft/text/HoverEvent;getValue(Lnet/minecraft/text/HoverEvent$Action;)Ljava/lang/Object;
intermediary method_10891
Lnet/minecraft/class_2568;method_10891(Lnet/minecraft/class_2568$class_5247;)Ljava/lang/Object;
official a
Lyb;a(Lyb$a;)Ljava/lang/Object;
-
equals
-
toString
-
hashCode
public int hashCode()
-