Identity

Identity

3M Downloads

Dimensions do not update for identities when sneaking / camera zoom does not update when sneaking

Draylar opened this issue ยท 0 comments

commented

Zombie:
image

Player:
image

Cause:
Entity#getDimensions returns based on a pose-to-dimensions map for players, but returns the EntityType dimensions for other standard entities. The end solution will most likely involve manually calculating ratios between the base player entity dimensions and pose dimensions, and then applying those to the new identity dimensions (not sure how that would work for larger models like Ghasts, though).