Package net.minecraft.text
Class HoverEvent.EntityContent
java.lang.Object
net.minecraft.text.HoverEvent.EntityContent
- Enclosing class:
HoverEvent
- Mappings:
Namespace Name named net/minecraft/text/HoverEvent$EntityContent
intermediary net/minecraft/class_2568$class_5248
official xv$b
-
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, @Nullable RegistryOps<?> ops)
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/text/HoverEvent$EntityContent;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_46607
Lnet/minecraft/class_2568$class_5248;field_46607:Lcom/mojang/serialization/Codec;
official a
Lxv$b;a:Lcom/mojang/serialization/Codec;
-
entityType
- Mappings:
Namespace Name Mixin selector named entityType
Lnet/minecraft/text/HoverEvent$EntityContent;entityType:Lnet/minecraft/entity/EntityType;
intermediary field_24351
Lnet/minecraft/class_2568$class_5248;field_24351:Lnet/minecraft/class_1299;
official b
Lxv$b;b:Lbtb;
-
uuid
- Mappings:
Namespace Name Mixin selector named uuid
Lnet/minecraft/text/HoverEvent$EntityContent;uuid:Ljava/util/UUID;
intermediary field_24352
Lnet/minecraft/class_2568$class_5248;field_24352:Ljava/util/UUID;
official c
Lxv$b;c:Ljava/util/UUID;
-
name
- Mappings:
Namespace Name Mixin selector named name
Lnet/minecraft/text/HoverEvent$EntityContent;name:Ljava/util/Optional;
intermediary field_24353
Lnet/minecraft/class_2568$class_5248;field_24353:Ljava/util/Optional;
official d
Lxv$b;d:Ljava/util/Optional;
-
tooltip
- Mappings:
Namespace Name Mixin selector named tooltip
Lnet/minecraft/text/HoverEvent$EntityContent;tooltip:Ljava/util/List;
intermediary field_24354
Lnet/minecraft/class_2568$class_5248;field_24354:Ljava/util/List;
official e
Lxv$b;e:Ljava/util/List;
-
-
Constructor Details
-
EntityContent
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/text/HoverEvent$EntityContent;<init>(Lnet/minecraft/entity/EntityType;Ljava/util/UUID;Lnet/minecraft/text/Text;)V
intermediary <init>
Lnet/minecraft/class_2568$class_5248;<init>(Lnet/minecraft/class_1299;Ljava/util/UUID;Lnet/minecraft/class_2561;)V
official <init>
Lxv$b;<init>(Lbtb;Ljava/util/UUID;Lxp;)V
-
EntityContent
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/text/HoverEvent$EntityContent;<init>(Lnet/minecraft/entity/EntityType;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
official <init>
Lxv$b;<init>(Lbtb;Ljava/util/UUID;Ljava/util/Optional;)V
-
-
Method Details
-
legacySerializer
public static com.mojang.serialization.DataResult<HoverEvent.EntityContent> legacySerializer(Text text, @Nullable @Nullable RegistryOps<?> ops) - Mappings:
Namespace Name Mixin selector named legacySerializer
Lnet/minecraft/text/HoverEvent$EntityContent;legacySerializer(Lnet/minecraft/text/Text;Lnet/minecraft/registry/RegistryOps;)Lcom/mojang/serialization/DataResult;
intermediary method_54195
Lnet/minecraft/class_2568$class_5248;method_54195(Lnet/minecraft/class_2561;Lnet/minecraft/class_6903;)Lcom/mojang/serialization/DataResult;
official a
Lxv$b;a(Lxp;Lald;)Lcom/mojang/serialization/DataResult;
-
asTooltip
- Mappings:
Namespace Name Mixin selector named asTooltip
Lnet/minecraft/text/HoverEvent$EntityContent;asTooltip()Ljava/util/List;
intermediary method_27682
Lnet/minecraft/class_2568$class_5248;method_27682()Ljava/util/List;
official a
Lxv$b;a()Ljava/util/List;
-
equals
-
hashCode
public int hashCode()
-