-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve behavior around toggling a key off
reword translation strings to describe the setting they're attached to better add default key bindings to the toggle keys, using right shift/ctrl to match the default vanilla keybinds
- Loading branch information
1 parent
23570fa
commit d4d9ffb
Showing
7 changed files
with
90 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## 1.1 - Unreleased | ||
|
||
### Added | ||
|
||
- This changelog file | ||
- Added default bindings for the toggle keys using the right-side versions of the default vanilla key, such as Right Shift | ||
to match the default Left Shift for the Sneak key | ||
|
||
### Changed | ||
|
||
- Improved behavior around toggling a key off while the vanilla key is still being held | ||
- In other words: if you toggle sprint off while holding the vanilla sprint key, you will now continue to sprint after | ||
toggling it off, instead of having to stop holding and then press the vanilla key again | ||
- Changed some configuration menu names and descriptions to better describe the relevant settings | ||
|
||
## 1.0 - 2024-01-05 | ||
|
||
- Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 21 additions & 17 deletions
38
src/main/resources/assets/toggle-toggle-sprint/lang/en_us.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,42 @@ | ||
{ | ||
"toggle-toggle-sprint.name": "Toggle Toggle Sprint", | ||
"toggle-toggle-sprint.config": "Configuration", | ||
"toggle-toggle-sprint.noYacl": "This requires Yet Another Config Lib to be installed!", | ||
"toggle-toggle-sprint.general": "General", | ||
"toggle-toggle-sprint.sprint": "Sprint", | ||
"toggle-toggle-sprint.sneak": "Sneak", | ||
|
||
"toggle-toggle-sprint.potentiallyCheaty": "Some servers may consider this feature to be a cheat, use at your own risk!", | ||
|
||
"key.toggle-toggle-sprint.sprint": "Toggle Sprint", | ||
"key.toggle-toggle-sprint.sneak": "Toggle Sneak", | ||
|
||
"toggle-toggle-sprint.state.on": "On", | ||
"toggle-toggle-sprint.state.off": "Off", | ||
"toggle-toggle-sprint.state.unchanged": "Don't modify", | ||
|
||
"toggle-toggle-sprint.sprintOnDeath": "Keep sprinting on death", | ||
"toggle-toggle-sprint.sprintOnDeath.description": "If enabled, your sprinting won't be broken upon respawning", | ||
"toggle-toggle-sprint.sprintOnDeath": "Keep sprinting after death", | ||
"toggle-toggle-sprint.sprintOnDeath.description.line1": "As of 1.20.1, the game will release all toggled keys when the player respawns, including the Sprint key.", | ||
"toggle-toggle-sprint.sprintOnDeath.description.line2": "This feature prevents vanilla from releasing your sprint key, ensuring that you continue to sprint after respawning.", | ||
"toggle-toggle-sprint.sprintOnDeath.description.line3": "Note that this feature only affects the Sprint key, and all other toggle keys (such as the Sneak key) will still be released.", | ||
|
||
"toggle-toggle-sprint.sprintOnJoin": "Sprint when joining", | ||
"toggle-toggle-sprint.sprintOnJoin.description": "If enabled, you'll start sprinting upon joining a world if your sprint key is set to toggle", | ||
"toggle-toggle-sprint.sprintOnJoin": "Start sprinting", | ||
"toggle-toggle-sprint.sprintOnJoin.description": "If enabled, you'll start sprinting when loading into a world if your Sprint control is set to Toggle", | ||
"toggle-toggle-sprint.sprintState": "Default sprinting state", | ||
"toggle-toggle-sprint.sprintState.description": "Changes your default state for sprinting when joining a world", | ||
"toggle-toggle-sprint.sprintState.on": "Your sprint option will be changed to Toggle when joining a world", | ||
"toggle-toggle-sprint.sprintState.off": "Your sprint option will be changed to Hold when joining a world", | ||
"toggle-toggle-sprint.sprintState.unchanged": "Your sprint option won't be changed when joining a world", | ||
"toggle-toggle-sprint.sprintState.description": "Changes your default state for sprinting", | ||
"toggle-toggle-sprint.sprintState.on": "Your Sprint control will be changed to Toggle when joining a world", | ||
"toggle-toggle-sprint.sprintState.off": "Your Sprint control will be changed to Hold when joining a world", | ||
"toggle-toggle-sprint.sprintState.unchanged": "Your Sprint control won't be modified when joining a world", | ||
"toggle-toggle-sprint.alsoStartSprinting": "Also start sprinting", | ||
"toggle-toggle-sprint.alsoStartSprinting.description": "When enabled, the toggle key will also simulate a sprint key press when activated", | ||
"toggle-toggle-sprint.alsoStartSprinting.description": "When enabled, the toggle key will also simulate a Sprint key press when activated if you're not already sprinting", | ||
|
||
"toggle-toggle-sprint.sneakOnJoin": "Sneak when joining", | ||
"toggle-toggle-sprint.sneakOnJoin.description": "If enabled, you'll start sneaking whenever you join a world if your sneak key is set to toggle", | ||
"toggle-toggle-sprint.sneakOnJoin.warning": "WARNING: Some servers may consider this to be a cheat, use at your own risk!", | ||
"toggle-toggle-sprint.sneakOnJoin": "Start sneaking", | ||
"toggle-toggle-sprint.sneakOnJoin.description": "If enabled, you'll start sneaking when loading into a world if your Sneak control is set to Toggle", | ||
"toggle-toggle-sprint.sneakState": "Default sneaking state", | ||
"toggle-toggle-sprint.sneakState.description": "Changes your default state for sneaking when joining a world", | ||
"toggle-toggle-sprint.sneakState.on": "Your sneak option will be changed to Toggle when joining a world", | ||
"toggle-toggle-sprint.sneakState.off": "Your sneak option will be changed to Hold when joining a world", | ||
"toggle-toggle-sprint.sneakState.unchanged": "Your sneak option won't be changed when joining a world", | ||
"toggle-toggle-sprint.sneakState.description": "Changes the default state for your Sneak control", | ||
"toggle-toggle-sprint.sneakState.on": "Your Sneak control will be changed to Toggle when joining a world", | ||
"toggle-toggle-sprint.sneakState.off": "Your Sneak control will be changed to Hold when joining a world", | ||
"toggle-toggle-sprint.sneakState.unchanged": "Your Sneak control won't be modified when joining a world", | ||
"toggle-toggle-sprint.alsoStartSneaking": "Also start sneaking", | ||
"toggle-toggle-sprint.alsoStartSneaking.description": "When enabled, the toggle key will also simulate a sneak key press when activated" | ||
"toggle-toggle-sprint.alsoStartSneaking.description": "When enabled, the toggle key will also simulate a Sneak key press when activated if you're not already sneaking" | ||
} |