Package net.minecraft.text
Class HoverEvent.EntityContent
java.lang.Object
net.minecraft.text.HoverEvent.EntityContent
- Enclosing class:
HoverEvent
- Mappings:
Namespace Name official vl$b
intermediary net/minecraft/class_2568$class_5248
named net/minecraft/text/HoverEvent$EntityContent
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<HoverEvent.EntityContent>
final EntityType<?>
final UUID
-
Constructor Summary
ConstructorDescriptionEntityContent
(EntityType<?> entityType, UUID uuid, Optional<Text> name) EntityContent
(EntityType<?> entityType, UUID uuid, @Nullable Text name) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
static com.mojang.serialization.DataResult<HoverEvent.EntityContent>
legacySerializer
(Text text)
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lvl$b;a:Lcom/mojang/serialization/Codec;
intermediary field_46607
Lnet/minecraft/class_2568$class_5248;field_46607:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/text/HoverEvent$EntityContent;CODEC:Lcom/mojang/serialization/Codec;
-
entityType
- Mappings:
Namespace Name Mixin selector official b
Lvl$b;b:Lblz;
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
- Mappings:
Namespace Name Mixin selector official c
Lvl$b;c: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
- Mappings:
Namespace Name Mixin selector official d
Lvl$b;d:Ljava/util/Optional;
intermediary field_24353
Lnet/minecraft/class_2568$class_5248;field_24353:Ljava/util/Optional;
named name
Lnet/minecraft/text/HoverEvent$EntityContent;name:Ljava/util/Optional;
-
tooltip
- Mappings:
Namespace Name Mixin selector official e
Lvl$b;e: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;
-
-
Constructor Details
-
EntityContent
- Mappings:
Namespace Name Mixin selector official <init>
Lvl$b;<init>(Lblz;Ljava/util/UUID;Lvf;)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
-
EntityContent
- Mappings:
Namespace Name Mixin selector official <init>
Lvl$b;<init>(Lblz;Ljava/util/UUID;Ljava/util/Optional;)V
intermediary <init>
Lnet/minecraft/class_2568$class_5248;<init>(Lnet/minecraft/class_1299;Ljava/util/UUID;Ljava/util/Optional;)V
named <init>
Lnet/minecraft/text/HoverEvent$EntityContent;<init>(Lnet/minecraft/entity/EntityType;Ljava/util/UUID;Ljava/util/Optional;)V
-
-
Method Details
-
legacySerializer
public static com.mojang.serialization.DataResult<HoverEvent.EntityContent> legacySerializer(Text text) - Mappings:
Namespace Name Mixin selector official a
Lvl$b;a(Lvf;)Lcom/mojang/serialization/DataResult;
intermediary method_54195
Lnet/minecraft/class_2568$class_5248;method_54195(Lnet/minecraft/class_2561;)Lcom/mojang/serialization/DataResult;
named legacySerializer
Lnet/minecraft/text/HoverEvent$EntityContent;legacySerializer(Lnet/minecraft/text/Text;)Lcom/mojang/serialization/DataResult;
-
asTooltip
- Mappings:
Namespace Name Mixin selector official a
Lvl$b;a()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
-
hashCode
public int hashCode()
-