Class HoverEvent

java.lang.Object
net.minecraft.text.HoverEvent

public class HoverEvent
extends Object
Mappings:
Namespace Name
official ew
intermediary net/minecraft/class_1447
named net/minecraft/text/HoverEvent
  • Field Details

    • action

      private final HoverEvent.Action action
      Mappings:
      Namespace Name Mixin selector
      official a Lew;a:Lew$a;
      intermediary field_6010 Lnet/minecraft/class_1447;field_6010:Lnet/minecraft/class_1447$class_1448;
      named action Lnet/minecraft/text/HoverEvent;action:Lnet/minecraft/text/HoverEvent$Action;
    • value

      private final Text value
      Mappings:
      Namespace Name Mixin selector
      official b Lew;b:Leu;
      intermediary field_6011 Lnet/minecraft/class_1447;field_6011:Lnet/minecraft/class_1444;
      named value Lnet/minecraft/text/HoverEvent;value:Lnet/minecraft/text/Text;
  • Constructor Details

    • HoverEvent

      public HoverEvent​(HoverEvent.Action action, Text text)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lew;<init>(Lew$a;Leu;)V
      intermediary <init> Lnet/minecraft/class_1447;<init>(Lnet/minecraft/class_1447$class_1448;Lnet/minecraft/class_1444;)V
      named <init> Lnet/minecraft/text/HoverEvent;<init>(Lnet/minecraft/text/HoverEvent$Action;Lnet/minecraft/text/Text;)V
  • Method Details

    • getAction

      public HoverEvent.Action getAction()
      Mappings:
      Namespace Name Mixin selector
      official a Lew;a()Lew$a;
      intermediary method_5173 Lnet/minecraft/class_1447;method_5173()Lnet/minecraft/class_1447$class_1448;
      named getAction Lnet/minecraft/text/HoverEvent;getAction()Lnet/minecraft/text/HoverEvent$Action;
    • getValue

      public Text getValue()
      Mappings:
      Namespace Name Mixin selector
      official b Lew;b()Leu;
      intermediary method_5174 Lnet/minecraft/class_1447;method_5174()Lnet/minecraft/class_1444;
      named getValue Lnet/minecraft/text/HoverEvent;getValue()Lnet/minecraft/text/Text;
    • equals

      public boolean equals​(Object object)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      official equals Lew;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_1447;equals(Ljava/lang/Object;)Z
      named equals Lnet/minecraft/text/HoverEvent;equals(Ljava/lang/Object;)Z
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Mappings:
      Namespace Name Mixin selector
      official toString Lew;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_1447;toString()Ljava/lang/String;
      named toString Lnet/minecraft/text/HoverEvent;toString()Ljava/lang/String;
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
      Mappings:
      Namespace Name Mixin selector
      official hashCode Lew;hashCode()I
      intermediary hashCode Lnet/minecraft/class_1447;hashCode()I
      named hashCode Lnet/minecraft/text/HoverEvent;hashCode()I