Skip to content

Commit

Permalink
Merge pull request #227 from boholder/1.19-fix-camera-center-alt-bug
Browse files Browse the repository at this point in the history
Fix camera center alt bug
  • Loading branch information
boholder authored Dec 30, 2023
2 parents 46c8f2b + 47dc70d commit ed7fa36
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ private void rotateCameraTo(Orientation direction) {
private void centerCamera(boolean lookOpposite) {
if (minecraftClient.player == null) return;
String direction = new PlayerPositionUtils(minecraftClient).getHorizontalFacingDirectionInCardinal(true, lookOpposite);
rotateCameraTo(Orientation.of(direction));
Orientation o = Orientation.of(direction);
rotateCameraTo(lookOpposite ? o.getOpposite() : o);
}
}
2 changes: 1 addition & 1 deletion common/src/main/resources/assets/minecraft_access/lang
Submodule lang updated 3 files
+15 −35 en_us.json
+12 −32 pt_br.json
+34 −54 zh_cn.json
53 changes: 24 additions & 29 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,46 +1,32 @@
Release v1.4.0 (2023-11)
Release v1.4.3 (2024-01)
---------------------------

### New Features
### Bug Fixes

#### Speak Text Editing
* Fix the bug that you can't use `Left Alt` + `Center Camera Key` to look straight back. [#225](https://github.com/khanshoaib3/minecraft-access/issues/225)

* Now the mod will simulate the feedback you get when typing text in other software's input boxes, it will speak the text that you delete, select, pass with cursor, on Chat Screen, Book Edit Screen, Command Block Screen and so on.
* Suppress annoying original "speak whole sentence" narration on every text editing operation.
* Simplify the original command suggestion narration for a better typing experience with lesser annoying too-detailed narrations.
Release v1.4.2 (2023-12)
---------------------------

See also: [description of this feature](/doc/FEATURES.md#speak-text-editing) [#187](https://github.com/khanshoaib3/minecraft-access/issues/187)
### Bug Fixes

#### I18N Fallback Mechanism
* Fix the bug that ReadCrosshair spam when the player in the fluid and looks at fluid. [#222](https://github.com/khanshoaib3/minecraft-access/issues/222)

A fallback mechanism is added to I18n in case it fails on unsupported languages, or text that not translated in time in supported languages.
If any I18N failed on your language, the mod will use the English version instead.
Set the game to your familiar language is recommended, even if it's not supported by this mod, since you can still be benefited from translatable game original text, such as name of blocks or creatures.
If you want to contribute to translating work, we manage the translation of this mod in [another GitHub repository](https://github.com/khanshoaib3/minecraft-access-i18n#minecraft-access-i18n), take a look.
Release v1.4.1 (2023-12)
---------------------------

### Feature Changes
### Bug Fixes

* Now whenever you're looking at a block and entity, the mod will play a piano sound cue to indicate relative location between you and target. see also: [description of this feature](/doc/FEATURES.md#relative-position-sound-cue) [#191](https://github.com/khanshoaib3/minecraft-access/issues/191)
* Now the mod will only speak item count when held item type isn't changed (when picking up or spending items), with a new config "Report Held Items Count When Changed", see the [configuration](/doc/CONFIG.md#other-configurations).
* Now the mod will speak sitting state of cat, dog, parrot, [and so on](https://minecraft.wiki/w/Sitting#Mechanics) in `Read Crosshair`. [#192](https://github.com/khanshoaib3/minecraft-access/issues/192)
* Not the mod will speak if an animal is tamed in `Read Crosshair`.
* Now the mod can tell if a zombie villager is under curing in `Read Crosshair`. [#195](https://github.com/khanshoaib3/minecraft-access/issues/195)
* Now the mod will additionally speak an entity's type if it has a custom name given by the name tag.
* Move "Shearable" word in front of sheep information in `Read Crosshair`.
* Now the mod will tell if your [taming operation](https://minecraft.fandom.com/wiki/Taming) is successful or not.
* The default value of config "Disable Speaking Consecutive Blocks With Same Name" in feature `Read Crosshair` is changed from `true` to `false`, to help newcomers understanding the game better.
* Fix the bug that can not speak hotbar in latest version of forge (1.20.1-47.2.17) [#218](https://github.com/khanshoaib3/minecraft-access/issues/218)

### Bug Fixes
### Feature Changes

* Fix the bug that keybindings can't be rebound to mouse 4,5 keys (mouse side keys) [#190](https://github.com/khanshoaib3/minecraft-access/issues/190)
* Fix the bug that a dead entity can be locked before it disappears. [#208](https://github.com/khanshoaib3/minecraft-access/issues/208)
* Breaking change: config "Speak Action Bar Updates" is renamed to "Speak Action Bar Messages".
* New config "Only Speak Action Bar Updates" for only speak changed part of action bar message when the message is partially updated, useful for some mods like hypixel. [#220](https://github.com/khanshoaib3/minecraft-access/issues/220)

### Dependencies Changes

### Refactoring, Documentation and Chores

* Now the change log should be added as a small independent markdown file (fragment) under `./doc/news`.
* Add introduction of missing chat message feature into manual.
* forge_version: `47.0.19` -> `47.2.17`

Release v1.4.0 (2023-11)
---------------------------
Expand All @@ -65,10 +51,19 @@ If you want to contribute to translating work, we manage the translation of this
### Feature Changes

* Now whenever you're looking at a block and entity, the mod will play a piano sound cue to indicate relative location between you and target. see also: [description of this feature](/doc/FEATURES.md#relative-position-sound-cue) [#191](https://github.com/khanshoaib3/minecraft-access/issues/191)
* Now the mod will only speak item count when held item type isn't changed (when picking up or spending items), with a new config "Report Held Items Count When Changed", see the [configuration](/doc/CONFIG.md#other-configurations).
* Now the mod will speak sitting state of cat, dog, parrot, [and so on](https://minecraft.wiki/w/Sitting#Mechanics) in `Read Crosshair`. [#192](https://github.com/khanshoaib3/minecraft-access/issues/192)
* Not the mod will speak if an animal is tamed in `Read Crosshair`.
* Now the mod can tell if a zombie villager is under curing in `Read Crosshair`. [#195](https://github.com/khanshoaib3/minecraft-access/issues/195)
* Now the mod will additionally speak an entity's type if it has a custom name given by the name tag.
* Move "Shearable" word in front of sheep information in `Read Crosshair`.
* Now the mod will tell if your [taming operation](https://minecraft.fandom.com/wiki/Taming) is successful or not.
* The default value of config "Disable Speaking Consecutive Blocks With Same Name" in feature `Read Crosshair` is changed from `true` to `false`, to help newcomers understanding the game better.

### Bug Fixes

* Fix the bug that keybindings can't be rebound to mouse 4,5 keys (mouse side keys) [#190](https://github.com/khanshoaib3/minecraft-access/issues/190)
* Fix the bug that a dead entity can be locked before it disappears. [#208](https://github.com/khanshoaib3/minecraft-access/issues/208)

### Dependencies Changes

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ fabric_yarn_version=1.19.3+build.5:v2
enabled_platforms=fabric,forge

archives_base_name=minecraft-access
mod_version=1.4.2+1.19.3
mod_version=1.4.3+1.19.3
maven_group=com.github.khanshoaib3.minecraft_access

architectury_version=7.1.86
Expand Down

0 comments on commit ed7fa36

Please sign in to comment.