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_312321_, UUID p_312750_, Optional<Component> p_312078_) 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_312203_, RegistryOps<?> p_330158_)
-
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_312203_, @Nullable RegistryOps<?> p_330158_) -
getTooltipLines
-
equals
-
hashCode
public int hashCode()
-