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 xf
-
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
Lxf;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
Lxf;b:Lxf$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>
Lxf;<init>(Lxf$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>
Lxf;<init>(Lxf$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
Lxf;a()Lxf$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
Lxf;a(Lxf$a;)Ljava/lang/Object;
-
equals
-
toString
-
hashCode
public int hashCode()
-