fix: backport of #3172 (#3180)* fix: partial backport of #3172MC ver <= 1.16.5 is not considered as they are no longer supported officially. Fork devs pls do your own backport.* fix: different way to get level in different MC version* fix: finished missing backport for all other MC versions we support (commit: 080bf9c)