Package net.minecraft.network.chat
Class HoverEvent.EntityTooltipInfo
java.lang.Object
net.minecraft.network.chat.HoverEvent.EntityTooltipInfo
- Enclosing class:
HoverEvent
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<HoverEvent.EntityTooltipInfo> final UUID
final EntityType
<?> -
Constructor Summary
ConstructorDescriptionEntityTooltipInfo
(EntityType<?> p_304581_, UUID p_304712_, Optional<Component> p_304973_) EntityTooltipInfo
(EntityType<?> p_130876_, UUID p_130877_, Component p_130878_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
static com.mojang.serialization.DataResult
<HoverEvent.EntityTooltipInfo> legacyCreate
(Component p_304689_, RegistryOps<?> p_330431_)
-
Field Details
-
CODEC
-
type
-
id
-
name
-
linesCache
-
-
Constructor Details
-
EntityTooltipInfo
-
EntityTooltipInfo
-
-
Method Details
-
legacyCreate
public static com.mojang.serialization.DataResult<HoverEvent.EntityTooltipInfo> legacyCreate(Component p_304689_, @Nullable RegistryOps<?> p_330431_) -
getTooltipLines
-
equals
-
hashCode
public int hashCode()
-