1
0
mirror of https://github.com/chylex/Better-Sprinting.git synced 2025-12-24 06:38:23 +01:00

256 Commits

Author SHA1 Message Date
8e3b51e804 Tweak buttons (add generic button class & don't trigger onClick when disabled) 2019-07-02 10:26:27 +02:00
0a25057389 Change default keybinds to, if possible, use <modifier>+G for toggles 2019-07-02 10:14:09 +02:00
4d0944b038 Update sprint/sneak toggles to use the new system 2019-07-02 07:54:46 +02:00
16a57c09d2 Add a system for tracking key toggle states 2019-07-02 07:15:32 +02:00
1c7d2b3149 Fix keybinds not saving if other code doesn't call GameSettings.saveOptions 2019-07-02 03:14:01 +02:00
0eb25f7aef Simplify keybind configuration code 2019-07-02 03:05:37 +02:00
2ca238afbf Fix keybind conflicts not showing properly after refactoring 2019-07-01 23:22:22 +02:00
76577ad957 Refactor feature trigger/availability handling code 2019-07-01 23:04:02 +02:00
5a669688e4 Minor cleanup 2019-07-01 20:26:16 +02:00
dbabd31663 Add an // UPDATE comment to check if vanilla sprint keybind isn't overridden 2019-07-01 19:53:05 +02:00
9962a390b5 Completely rework sprinting logic w/ option to tap sprint key 2019-07-01 11:55:16 +02:00
3337c5a5a1 Remove no longer necessary isModDisabled checks in MovementController 2019-07-01 08:30:21 +02:00
9ec23a73dc Reorganize GUI code 2019-07-01 05:10:43 +02:00
d53d1048e4 Disable fly boost in survival mode in singleplayer
While servers may still want to enable this, there's no point in keeping
it for singleplayer as the player can just manually go into creative
mode (and if they can't, then the boost only serves as an exploit for
flight items).
2019-07-01 02:26:41 +02:00
b11fb88c4b Allow disabling/enabling the mod in-game when in singleplayer 2019-07-01 02:22:32 +02:00
87692da204 Ensure none of the coremod injections run if any single part fails 2019-07-01 01:53:20 +02:00
6481ba452c Rework injected tick logic to remove vanilla code from PlayerLogicHandler 2019-07-01 01:51:47 +02:00
bae75d5287 Improve coremod to remove need for vanilla code in LivingUpdate 2019-07-01 00:13:40 +02:00
28d692be0b Include jump target in coremod instruction printout 2019-06-30 23:35:39 +02:00
4c8fbd62d5 Refactor event subscribing & remove some unnecessary code 2019-06-30 22:14:27 +02:00
225c1e46e4 Fix missing '/bettersprinting setting' command autocomplete 2019-06-30 21:46:32 +02:00
19c7237151 Hardcode coremod skip offsets to improve compatibility & conflict detection 2019-06-30 20:52:33 +02:00
836f91fcd6 Make coremod directly target livingTick method (Forge 27.0.16+) 2019-06-30 19:03:55 +02:00
ea6d25b3bc Update Forge to 27.0.16 & Minecraft to 1.14.3 2019-06-30 18:17:19 +02:00
19f1811a21 Add 'Fly on ground' config option migration from backported versions 2019-06-24 23:39:28 +02:00
8bc0dc2b51 Fix ClientEventHandler crashing if keyBindingList is null & reduce AT
Close #44
2019-06-24 23:33:30 +02:00
7b24ba28b2 Update Forge to 26.0.63 2019-06-24 23:20:49 +02:00
dd40c1b13f Release 2.3.0 for MC 1.14.2 2019-06-14 06:36:10 +02:00
1e61868f4c Remove TOML enum workaround 2019-06-14 05:51:59 +02:00
0564a6b653 Port everything to 1.14.2 2019-06-14 05:16:45 +02:00
762be42c00 All builds from this point on are MPL-2.0
Also removes files from contibutors which haven't provided consent to
relicensing. #40
2019-06-13 18:57:56 +02:00
b60d7ce0a9 Release 2.2.1 for MC 1.13.2 & 2.1.2 for MC 1.12.2 2019-03-05 12:38:44 +01:00
69b7b9ffa8 Refactor GUI buttons 2019-03-05 01:25:38 +01:00
7a1e0c6331 Enable sprinting in all directions if LAN owner has the mod 2019-03-02 18:08:02 +01:00
c5898f2e93 Add option to continue flying when touching ground in creative mode
Closes #38
2019-03-02 17:01:25 +01:00
992fa91972 Cleanup comments in LivingUpdate 2019-03-02 16:59:53 +01:00
7f5ea45fa9 Move checkOpcodeChain into outer scope & insert after label 2019-03-02 16:53:08 +01:00
3f453ca8a3 Release 2.2.0 for MC 1.13.2 2019-02-25 08:39:13 +01:00
6974dbf4a9 Change networking to run in correct thread (just to be safe) 2019-02-25 07:47:49 +01:00
8104741311 Make 25.0.53 the minimum Forge version (networking changes) 2019-02-25 07:15:52 +01:00
4238e78966 Update coremod to work outside dev environment 2019-02-21 00:22:06 +01:00
f9cadaa162 Remove mention of PlayerAPI in integrity check fail message 2019-02-20 23:50:59 +01:00
05fe1fa3ef Implement old config migration (excluding client keybindings) 2019-02-20 23:29:24 +01:00
1c87af4447 Fix newly introduced bug w/ setting keybinding to just ctrl/shift/alt 2019-02-20 23:27:53 +01:00
0b1ad89220 Fix fly boost not working in spectator mode 2019-02-20 20:04:44 +01:00
e1a6e897ec Formatting fix in main.js 2019-02-20 12:51:53 +01:00
0d114e8f3a Update network specification for 1.13 2019-02-20 07:47:47 +01:00
d2799cbdbc General cleanup & mods.toml fix 2019-02-20 06:49:06 +01:00
d6ee309355 Reimplement key modifier and mouse button in client config 2019-02-20 06:19:40 +01:00
625b4d2ea0 WIP 1.13.2 update + port coremod to JS, redo pushOutOfBlocks, fix allDirs bug
The allDirs bug appears to have allowed sprinting after running out of
hunger, for as long as the sprinting was not interrupted.
2019-02-20 03:09:29 +01:00