Added weight calculation modes. This feature replaces the 'calculate-all-players' configuration option with the 'weight-calculation-mode'. This configuration option alters how the weight is calculated and currently accepts 1 of the 4 following options:
FIRST_PLAYER - The dripleaf will only consider the weight of the first player. This usually means the player that joined the server first. It is the same as having 'calculate-all-players' set to false in versions prior to 1.1.0.
LIGHTEST_PLAYER - The dripleaf will only consider the weight of the lightest player.
HEAVIEST_PLAYER - The dripleaf will only consider the weight of the heaviest player. (default option)
ALL_PLAYERS - The dripleaf will consider the weight of all players.
Updated the minimum required version of Java to 21.
Refactored code, resulting in hopefully performance improvements.