Package net.minecraft.text
Class HoverEvent
java.lang.Object
net.minecraft.text.HoverEvent
- Mappings:
Namespace Name official tr
intermediary net/minecraft/class_2568
named net/minecraft/text/HoverEvent
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
private static final record
static class
static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<HoverEvent>
private final HoverEvent.class_8826<?>
-
Constructor Summary
ConstructorsModifierConstructorDescriptionHoverEvent
(HoverEvent.Action<T> action, T contents) private
HoverEvent
(HoverEvent.class_8826<?> class_8826) -
Method Summary
Modifier and TypeMethodDescriptionboolean
<T> T
getValue
(HoverEvent.Action<T> action) int
hashCode()
toString()
-
Field Details
-
field_46601
- Mappings:
Namespace Name Mixin selector official a
Ltr;a:Lcom/mojang/serialization/Codec;
intermediary field_46601
Lnet/minecraft/class_2568;field_46601:Lcom/mojang/serialization/Codec;
named field_46601
Lnet/minecraft/text/HoverEvent;field_46601:Lcom/mojang/serialization/Codec;
-
field_46602
- Mappings:
Namespace Name Mixin selector official b
Ltr;b:Ltr$d;
intermediary field_46602
Lnet/minecraft/class_2568;field_46602:Lnet/minecraft/class_2568$class_8826;
named field_46602
Lnet/minecraft/text/HoverEvent;field_46602:Lnet/minecraft/text/HoverEvent$class_8826;
-
-
Constructor Details
-
HoverEvent
- Mappings:
Namespace Name Mixin selector official <init>
Ltr;<init>(Ltr$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
-
-
Method Details
-
getAction
- Mappings:
Namespace Name Mixin selector official a
Ltr;a()Ltr$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
Ltr;a(Ltr$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()
-