类 HoverEvent.EntityContent

  • 封闭类:
    HoverEvent

    public static class HoverEvent.EntityContent
    extends Object
    Mappings:
    Namespace Name
    official or$b
    intermediary net/minecraft/class_2568$class_5248
    named net/minecraft/text/HoverEvent$EntityContent
    • 字段详细资料

      • entityType

        public final EntityType<?> entityType
        Mappings:
        Namespace Name Mixin selector
        official a Lor$b;a:Lasp;
        intermediary field_24351 Lnet/minecraft/class_2568$class_5248;field_24351:Lnet/minecraft/class_1299;
        named entityType Lnet/minecraft/text/HoverEvent$EntityContent;entityType:Lnet/minecraft/entity/EntityType;
      • uuid

        public final UUID uuid
        Mappings:
        Namespace Name Mixin selector
        official b Lor$b;b:Ljava/util/UUID;
        intermediary field_24352 Lnet/minecraft/class_2568$class_5248;field_24352:Ljava/util/UUID;
        named uuid Lnet/minecraft/text/HoverEvent$EntityContent;uuid:Ljava/util/UUID;
      • name

        @Nullable
        public final @Nullable Text name
        Mappings:
        Namespace Name Mixin selector
        official c Lor$b;c:Lon;
        intermediary field_24353 Lnet/minecraft/class_2568$class_5248;field_24353:Lnet/minecraft/class_2561;
        named name Lnet/minecraft/text/HoverEvent$EntityContent;name:Lnet/minecraft/text/Text;
      • tooltip

        @Nullable
        private @Nullable List<Text> tooltip
        Mappings:
        Namespace Name Mixin selector
        official d Lor$b;d:Ljava/util/List;
        intermediary field_24354 Lnet/minecraft/class_2568$class_5248;field_24354:Ljava/util/List;
        named tooltip Lnet/minecraft/text/HoverEvent$EntityContent;tooltip:Ljava/util/List;
    • 构造器详细资料

      • EntityContent

        public EntityContent​(EntityType<?> entityType,
                             UUID uuid,
                             @Nullable
                             @Nullable Text name)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lor$b;<init>(Lasp;Ljava/util/UUID;Lon;)V
        intermediary <init> Lnet/minecraft/class_2568$class_5248;<init>(Lnet/minecraft/class_1299;Ljava/util/UUID;Lnet/minecraft/class_2561;)V
        named <init> Lnet/minecraft/text/HoverEvent$EntityContent;<init>(Lnet/minecraft/entity/EntityType;Ljava/util/UUID;Lnet/minecraft/text/Text;)V
    • 方法详细资料

      • parse

        @Nullable
        public static @Nullable HoverEvent.EntityContent parse​(JsonElement json)
        Mappings:
        Namespace Name Mixin selector
        official a Lor$b;a(Lcom/google/gson/JsonElement;)Lor$b;
        intermediary method_27680 Lnet/minecraft/class_2568$class_5248;method_27680(Lcom/google/gson/JsonElement;)Lnet/minecraft/class_2568$class_5248;
        named parse Lnet/minecraft/text/HoverEvent$EntityContent;parse(Lcom/google/gson/JsonElement;)Lnet/minecraft/text/HoverEvent$EntityContent;
      • parse

        @Nullable
        public static @Nullable HoverEvent.EntityContent parse​(Text text)
        Mappings:
        Namespace Name Mixin selector
        official a Lor$b;a(Lon;)Lor$b;
        intermediary method_27681 Lnet/minecraft/class_2568$class_5248;method_27681(Lnet/minecraft/class_2561;)Lnet/minecraft/class_2568$class_5248;
        named parse Lnet/minecraft/text/HoverEvent$EntityContent;parse(Lnet/minecraft/text/Text;)Lnet/minecraft/text/HoverEvent$EntityContent;
      • toJson

        public JsonElement toJson()
        Mappings:
        Namespace Name Mixin selector
        official a Lor$b;a()Lcom/google/gson/JsonElement;
        intermediary method_27679 Lnet/minecraft/class_2568$class_5248;method_27679()Lcom/google/gson/JsonElement;
        named toJson Lnet/minecraft/text/HoverEvent$EntityContent;toJson()Lcom/google/gson/JsonElement;
      • asTooltip

        public List<Text> asTooltip()
        Mappings:
        Namespace Name Mixin selector
        official b Lor$b;b()Ljava/util/List;
        intermediary method_27682 Lnet/minecraft/class_2568$class_5248;method_27682()Ljava/util/List;
        named asTooltip Lnet/minecraft/text/HoverEvent$EntityContent;asTooltip()Ljava/util/List;
      • equals

        public boolean equals​(Object object)
        覆盖:
        equals 在类中 Object
        Mappings:
        Namespace Name Mixin selector
        official equals Lor$b;equals(Ljava/lang/Object;)Z
        intermediary equals Lnet/minecraft/class_2568$class_5248;equals(Ljava/lang/Object;)Z
        named equals Lnet/minecraft/text/HoverEvent$EntityContent;equals(Ljava/lang/Object;)Z
      • hashCode

        public int hashCode()
        覆盖:
        hashCode 在类中 Object
        Mappings:
        Namespace Name Mixin selector
        official hashCode Lor$b;hashCode()I
        intermediary hashCode Lnet/minecraft/class_2568$class_5248;hashCode()I
        named hashCode Lnet/minecraft/text/HoverEvent$EntityContent;hashCode()I