- Port from 1.20.1
Thanks to ArctynFox for doing this port!
Features
- Do not rotate when eating.
- add config: do_not_rotate_when_eating.
- Render in vanilla way when camera entity opacity is close to 1.0
- Determine aiming mode by animation (bow or spear) #69
- Add config:
determine_aim_mode_by_animation
.
- Add config:
- Add category camera_offset in yacl config screen.
- Remove config
turn_with_camera_when_enter_first_person
. - When switching to third person, camera start from eye position.
- No transition when enter temporary first person.
Bug fix
- Numbers are not allowed in item patterns. #67
- The default namespace of item patterns is always
minecraft
. #68
Other
- Check transitioning in render tick pre. e45c556
- Reformat code, suppress some warnings.
- Update .editorconfig.
- Update build scripts.
- Log error when entity rotation is NaN. This can help debugging.
- Optimize item pattern matching.
Bug fix
- Mod is shown as resource pack in forge version. And the resource pack is disabled by default. #56 #52
- Strange behavior in Spectator Mode #60
- fix: cannot pick in survival mod #64
- fix: partial tick isn't updated in preRender
Other
- Add issue templates
- Update CONTRIBUTING.md
- Update mod source URL in fabric.mod.json
- optimize
Features
- Use ModifyExpressionValue instead of Redirect. This will have better compatibility.
Bug fix
- Compatible with Better Combat and First Person Model #50
- Wrong translation key in YACL config screen
- Camera forcing first person in tall grass #54
- In third person, water is placed where player is looking at, rather than crosshair.
Other
- Update translations
- build script: add yacl dependency in fabric publishing script.
- fix: Unexpected rotating when starting to use elytra in first person.
- style: add comments.
- Update README
- Optimize code
Port from 2.0.7-mc1.19.4
Features
- Use MixinExtras.
- Replace
@Redirect
with@WrapWithCondition
, this should resolve the conflict with Do a Barrel Roll.
- Replace
- Remove YACL support for forge version due to some problems with YACL.
Bug fix
- Key
force_aiming
,toggle_aiming
not working
Other
- Update
changelog_latest.txt
tochangelog_latest.md
- Update deprecated method in YACL:
valueFormatter
->formatValue
- Update build scripts
- add debug logs
Added
- Shoot enemies like in first person
- It can predict the target entity you want to shoot, even if the target is far away. Just aim at the target as if you were in first person
- Added config option:
enable_target_entity_predict
- Smooth transition when switching from third person to first person
- Cloth Config API is now an optional dependency
Changed
- The smooth factors in the configuration has been changed to smoothing half-life for better intuition
- When updating smooth eye position, multiply by the distance between it and the camera. This ensures a more consistent smoothing effect at different camera distances
- Temporarily switch to first person when the camera entity is inside a wall
Compatibility
- Compatible with mod do_a_barrel_roll (only Fabric version)
Added
- When the camera approaches the player, make player semi-transparent
- Save config when client stopping
- Enable third person mode by default
- Save third person mode in config
- Add config:
is_third_person_mode
- Add config:
- Temporarily switch to first person when using specific items (spyglass for vanilla)
- Add config:
use_to_first_person_pattern_expressions
- Add config:
Changed
- Change resource pack structure
assets/<namespace>/item_patterns/hold_to_aim/<anyname>.json
Enable aim mode when holding these itemsassets/<namespace>/item_patterns/use_to_aim/<anyname>.json
Enable aim mode when using these itemsassets/<namespace>/item_patterns/use_to_first_person/<anyname>.json
Temporarily switch to first person when using these items
Fixed
- Camera through glasses
- Game crashing #44