Package net.minecraft.text
Class HoverEvent
java.lang.Object
net.minecraft.text.HoverEvent
public class HoverEvent extends Object
- Mappings:
Namespace Name official om
intermediary net/minecraft/class_2568
named net/minecraft/text/HoverEvent
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HoverEvent.Action<T>
static class
HoverEvent.EntityContent
static class
HoverEvent.ItemStackContent
-
Field Summary
-
Constructor Summary
Constructors Constructor Description HoverEvent(HoverEvent.Action<T> action, T contents)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object obj)
static HoverEvent
fromJson(JsonObject json)
HoverEvent.Action<?>
getAction()
<T> T
getValue(HoverEvent.Action<T> action)
int
hashCode()
JsonObject
toJson()
String
toString()
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official a
Lom;a:Lorg/apache/logging/log4j/Logger;
intermediary field_24341
Lnet/minecraft/class_2568;field_24341:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/text/HoverEvent;LOGGER:Lorg/apache/logging/log4j/Logger;
-
action
- Mappings:
Namespace Name Mixin selector official b
Lom;b:Lom$a;
intermediary field_11756
Lnet/minecraft/class_2568;field_11756:Lnet/minecraft/class_2568$class_5247;
named action
Lnet/minecraft/text/HoverEvent;action:Lnet/minecraft/text/HoverEvent$Action;
-
contents
- Mappings:
Namespace Name Mixin selector official c
Lom;c:Ljava/lang/Object;
intermediary field_11755
Lnet/minecraft/class_2568;field_11755:Ljava/lang/Object;
named contents
Lnet/minecraft/text/HoverEvent;contents:Ljava/lang/Object;
-
-
Constructor Details
-
HoverEvent
- Mappings:
Namespace Name Mixin selector official <init>
Lom;<init>(Lom$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
-
-
Method Details
-
getAction
- Mappings:
Namespace Name Mixin selector official a
Lom;a()Lom$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
Lom;a(Lom$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() -
fromJson
- Mappings:
Namespace Name Mixin selector official a
Lom;a(Lcom/google/gson/JsonObject;)Lom;
intermediary method_27664
Lnet/minecraft/class_2568;method_27664(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_2568;
named fromJson
Lnet/minecraft/text/HoverEvent;fromJson(Lcom/google/gson/JsonObject;)Lnet/minecraft/text/HoverEvent;
-
toJson
- Mappings:
Namespace Name Mixin selector official b
Lom;b()Lcom/google/gson/JsonObject;
intermediary method_27665
Lnet/minecraft/class_2568;method_27665()Lcom/google/gson/JsonObject;
named toJson
Lnet/minecraft/text/HoverEvent;toJson()Lcom/google/gson/JsonObject;
-