类 HoverEvent.EntityContent
- java.lang.Object
-
- net.minecraft.text.HoverEvent.EntityContent
-
- 封闭类:
- HoverEvent
public static class HoverEvent.EntityContent extends Object
- Mappings:
Namespace Name official or$bintermediary net/minecraft/class_2568$class_5248named net/minecraft/text/HoverEvent$EntityContent
-
-
构造器概要
构造器 构造器 说明 EntityContent(EntityType<?> entityType, UUID uuid, @Nullable Text name)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 List<Text>asTooltip()booleanequals(Object object)inthashCode()static @Nullable HoverEvent.EntityContentparse(JsonElement json)static @Nullable HoverEvent.EntityContentparse(Text text)JsonElementtoJson()
-
-
-
字段详细资料
-
entityType
public final EntityType<?> entityType
- Mappings:
Namespace Name Mixin selector official aLor$b;a:Lasp;intermediary field_24351Lnet/minecraft/class_2568$class_5248;field_24351:Lnet/minecraft/class_1299;named entityTypeLnet/minecraft/text/HoverEvent$EntityContent;entityType:Lnet/minecraft/entity/EntityType;
-
uuid
public final UUID uuid
- Mappings:
Namespace Name Mixin selector official bLor$b;b:Ljava/util/UUID;intermediary field_24352Lnet/minecraft/class_2568$class_5248;field_24352:Ljava/util/UUID;named uuidLnet/minecraft/text/HoverEvent$EntityContent;uuid:Ljava/util/UUID;
-
name
@Nullable public final @Nullable Text name
- Mappings:
Namespace Name Mixin selector official cLor$b;c:Lon;intermediary field_24353Lnet/minecraft/class_2568$class_5248;field_24353:Lnet/minecraft/class_2561;named nameLnet/minecraft/text/HoverEvent$EntityContent;name:Lnet/minecraft/text/Text;
-
tooltip
@Nullable private @Nullable List<Text> tooltip
- Mappings:
Namespace Name Mixin selector official dLor$b;d:Ljava/util/List;intermediary field_24354Lnet/minecraft/class_2568$class_5248;field_24354:Ljava/util/List;named tooltipLnet/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;)Vintermediary <init>Lnet/minecraft/class_2568$class_5248;<init>(Lnet/minecraft/class_1299;Ljava/util/UUID;Lnet/minecraft/class_2561;)Vnamed <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 aLor$b;a(Lcom/google/gson/JsonElement;)Lor$b;intermediary method_27680Lnet/minecraft/class_2568$class_5248;method_27680(Lcom/google/gson/JsonElement;)Lnet/minecraft/class_2568$class_5248;named parseLnet/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 aLor$b;a(Lon;)Lor$b;intermediary method_27681Lnet/minecraft/class_2568$class_5248;method_27681(Lnet/minecraft/class_2561;)Lnet/minecraft/class_2568$class_5248;named parseLnet/minecraft/text/HoverEvent$EntityContent;parse(Lnet/minecraft/text/Text;)Lnet/minecraft/text/HoverEvent$EntityContent;
-
toJson
public JsonElement toJson()
- Mappings:
Namespace Name Mixin selector official aLor$b;a()Lcom/google/gson/JsonElement;intermediary method_27679Lnet/minecraft/class_2568$class_5248;method_27679()Lcom/google/gson/JsonElement;named toJsonLnet/minecraft/text/HoverEvent$EntityContent;toJson()Lcom/google/gson/JsonElement;
-
asTooltip
public List<Text> asTooltip()
- Mappings:
Namespace Name Mixin selector official bLor$b;b()Ljava/util/List;intermediary method_27682Lnet/minecraft/class_2568$class_5248;method_27682()Ljava/util/List;named asTooltipLnet/minecraft/text/HoverEvent$EntityContent;asTooltip()Ljava/util/List;
-
equals
public boolean equals(Object object)
-
-