Package net.minecraft.text
Class HoverEvent
java.lang.Object
net.minecraft.text.HoverEvent
- Mappings:
Namespace Name named net/minecraft/text/HoverEventintermediary net/minecraft/class_2568official xf
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classprivate static final recordstatic classstatic interface -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<HoverEvent> private final HoverEvent.EventData<?> -
Constructor Summary
ConstructorsModifierConstructorDescriptionHoverEvent(HoverEvent.Action<T> action, T contents) privateHoverEvent(HoverEvent.EventData<?> data) -
Method Summary
Modifier and TypeMethodDescriptionboolean<T> TgetValue(HoverEvent.Action<T> action) inthashCode()toString()
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/text/HoverEvent;CODEC:Lcom/mojang/serialization/Codec;intermediary field_46601Lnet/minecraft/class_2568;field_46601:Lcom/mojang/serialization/Codec;official aLxf;a:Lcom/mojang/serialization/Codec;
-
data
- Mappings:
Namespace Name Mixin selector named dataLnet/minecraft/text/HoverEvent;data:Lnet/minecraft/text/HoverEvent$EventData;intermediary field_46602Lnet/minecraft/class_2568;field_46602:Lnet/minecraft/class_2568$class_8826;official bLxf;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;)Vintermediary <init>Lnet/minecraft/class_2568;<init>(Lnet/minecraft/class_2568$class_5247;Ljava/lang/Object;)Vofficial <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;)Vintermediary <init>Lnet/minecraft/class_2568;<init>(Lnet/minecraft/class_2568$class_8826;)Vofficial <init>Lxf;<init>(Lxf$e;)V
-
-
Method Details
-
getAction
- Mappings:
Namespace Name Mixin selector named getActionLnet/minecraft/text/HoverEvent;getAction()Lnet/minecraft/text/HoverEvent$Action;intermediary method_10892Lnet/minecraft/class_2568;method_10892()Lnet/minecraft/class_2568$class_5247;official aLxf;a()Lxf$a;
-
getValue
- Mappings:
Namespace Name Mixin selector named getValueLnet/minecraft/text/HoverEvent;getValue(Lnet/minecraft/text/HoverEvent$Action;)Ljava/lang/Object;intermediary method_10891Lnet/minecraft/class_2568;method_10891(Lnet/minecraft/class_2568$class_5247;)Ljava/lang/Object;official aLxf;a(Lxf$a;)Ljava/lang/Object;
-
equals
-
toString
-
hashCode
public int hashCode()
-