Class HoverEvent

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

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

    • action

      private final HoverEvent.Action action
      Mappings:
      Namespace Name Mixin selector
      official a Ley;a:Ley$a;
      intermediary field_8486 Lnet/minecraft/class_1984;field_8486:Lnet/minecraft/class_1984$class_1985;
      named action Lnet/minecraft/text/HoverEvent;action:Lnet/minecraft/text/HoverEvent$Action;
    • value

      private final Text value
      Mappings:
      Namespace Name Mixin selector
      official b Ley;b:Lew;
      intermediary field_8487 Lnet/minecraft/class_1984;field_8487:Lnet/minecraft/class_1982;
      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> Ley;<init>(Ley$a;Lew;)V
      intermediary <init> Lnet/minecraft/class_1984;<init>(Lnet/minecraft/class_1984$class_1985;Lnet/minecraft/class_1982;)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 Ley;a()Ley$a;
      intermediary method_7480 Lnet/minecraft/class_1984;method_7480()Lnet/minecraft/class_1984$class_1985;
      named getAction Lnet/minecraft/text/HoverEvent;getAction()Lnet/minecraft/text/HoverEvent$Action;
    • getValue

      public Text getValue()
      Mappings:
      Namespace Name Mixin selector
      official b Ley;b()Lew;
      intermediary method_7481 Lnet/minecraft/class_1984;method_7481()Lnet/minecraft/class_1982;
      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 Ley;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_1984;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 Ley;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_1984;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 Ley;hashCode()I
      intermediary hashCode Lnet/minecraft/class_1984;hashCode()I
      named hashCode Lnet/minecraft/text/HoverEvent;hashCode()I