Added
-
Enum config option to specify how player entity normally rotate:
normal_rotate_mode
enum values:
- Interest point
- Camera crosshair
- Parallel with camera
- None
-
Allow disabling view bobbing in third person
- config option:
disable_third_person_bob_view
- config option:
Removed
- Replace multiple config options with one enum type option
player_rotate_to_interest_point
player_rotate_with_camera_when_not_aiming
rotate_to_moving_direction
Fixed
- Fov mixin incorrect
- Player entity rotation incorrect when enter third person
Compatibility
- Basically compatible with Valkyrien Skies if you set option Normal rotate mode to Camera crosshair
Added
- Change fov when aiming (Dolly zoom)
- Config option:
aiming_fov_divisor
- Config option:
- Auto enter first person in narrow space
- Config option:
temp_first_person_in_narrow_space
- Config option:
- Adjustable vertical offset of rotate center
- Config option:
rotate_center_height_offset
- Config option:
Changed
- Update default value of config options
- Rename config category name: "Aiming Check" -> "Item Predicates"
- Change some default values of config options
Added
- Add config:
camera_distance_mode
- Allow item tag in item pattern
- Make it always use post effect of attached entity in spectator mode
- Disable double-tap sprinting in third person by default #153 #155
- config:
allow_double_tap_sprint
- config:
Changed
- Support both 1.20 and 1.20.1
- Config
use_camera_pick_in_creative
:- Disabled by default
- Moved to category Other
Removed
- Remove config
sprint_impulse_threshold
Fixed
- Camera slightly shakes when hitting wall
Other
- Change package name to
com.github.leawind.thirdperson
- Record stack trace when infinite value detected. Once player's rotation become NaN or infinity, it will log some information for debugging
Changed
- Update link https://afdian.com/a/Leawind
Fixed
- Transition from third person to first person not smooth