fix: name tag offset
This commit is contained in:
parent
ed77d13eeb
commit
e78a9dda4d
@ -102,6 +102,6 @@ class ProjectedPersonEntity(entityType: EntityType<out PathfinderMob>, level: Le
|
||||
override fun getTypeName(): Component = shape.name.takeIf { it.isNotEmpty() }?.let { Component.literal(it) }
|
||||
?: super.getTypeName()
|
||||
|
||||
override fun getNameTagOffsetY() = super.getNameTagOffsetY() - BOUNDING_HEIGHT * (1.3f - shape.scaleY)
|
||||
override fun getNameTagOffsetY() = super.getNameTagOffsetY() - (BOUNDING_HEIGHT * (1.2f - shape.scaleY))
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user