类 ClickEvent


  • public class ClickEvent
    extends Object
    Mappings:
    Namespace Name
    official ol
    intermediary net/minecraft/class_2558
    named net/minecraft/text/ClickEvent
    • 字段详细资料

      • action

        private final ClickEvent.Action action
        Mappings:
        Namespace Name Mixin selector
        official a Lol;a:Lol$a;
        intermediary field_11741 Lnet/minecraft/class_2558;field_11741:Lnet/minecraft/class_2558$class_2559;
        named action Lnet/minecraft/text/ClickEvent;action:Lnet/minecraft/text/ClickEvent$Action;
      • value

        private final String value
        Mappings:
        Namespace Name Mixin selector
        official b Lol;b:Ljava/lang/String;
        intermediary field_11740 Lnet/minecraft/class_2558;field_11740:Ljava/lang/String;
        named value Lnet/minecraft/text/ClickEvent;value:Ljava/lang/String;
    • 构造器详细资料

      • ClickEvent

        public ClickEvent​(ClickEvent.Action action,
                          String value)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lol;<init>(Lol$a;Ljava/lang/String;)V
        intermediary <init> Lnet/minecraft/class_2558;<init>(Lnet/minecraft/class_2558$class_2559;Ljava/lang/String;)V
        named <init> Lnet/minecraft/text/ClickEvent;<init>(Lnet/minecraft/text/ClickEvent$Action;Ljava/lang/String;)V
    • 方法详细资料

      • getAction

        public ClickEvent.Action getAction()
        Mappings:
        Namespace Name Mixin selector
        official a Lol;a()Lol$a;
        intermediary method_10845 Lnet/minecraft/class_2558;method_10845()Lnet/minecraft/class_2558$class_2559;
        named getAction Lnet/minecraft/text/ClickEvent;getAction()Lnet/minecraft/text/ClickEvent$Action;
      • getValue

        public String getValue()
        Mappings:
        Namespace Name Mixin selector
        official b Lol;b()Ljava/lang/String;
        intermediary method_10844 Lnet/minecraft/class_2558;method_10844()Ljava/lang/String;
        named getValue Lnet/minecraft/text/ClickEvent;getValue()Ljava/lang/String;
      • equals

        public boolean equals​(Object obj)
        覆盖:
        equals 在类中 Object
        Mappings:
        Namespace Name Mixin selector
        official equals Lol;equals(Ljava/lang/Object;)Z
        intermediary equals Lnet/minecraft/class_2558;equals(Ljava/lang/Object;)Z
        named equals Lnet/minecraft/text/ClickEvent;equals(Ljava/lang/Object;)Z
      • toString

        public String toString()
        覆盖:
        toString 在类中 Object
        Mappings:
        Namespace Name Mixin selector
        official toString Lol;toString()Ljava/lang/String;
        intermediary toString Lnet/minecraft/class_2558;toString()Ljava/lang/String;
        named toString Lnet/minecraft/text/ClickEvent;toString()Ljava/lang/String;
      • hashCode

        public int hashCode()
        覆盖:
        hashCode 在类中 Object
        Mappings:
        Namespace Name Mixin selector
        official hashCode Lol;hashCode()I
        intermediary hashCode Lnet/minecraft/class_2558;hashCode()I
        named hashCode Lnet/minecraft/text/ClickEvent;hashCode()I