1
0
Fork 0
Commit Graph

256 Commits

Author SHA1 Message Date
chylex 8e3b51e804 Tweak buttons (add generic button class & don't trigger onClick when disabled) 2019-07-02 10:26:27 +02:00
chylex 0a25057389 Change default keybinds to, if possible, use <modifier>+G for toggles 2019-07-02 10:14:09 +02:00
chylex 4d0944b038 Update sprint/sneak toggles to use the new system 2019-07-02 07:54:46 +02:00
chylex 16a57c09d2 Add a system for tracking key toggle states 2019-07-02 07:15:32 +02:00
chylex 1c7d2b3149 Fix keybinds not saving if other code doesn't call GameSettings.saveOptions 2019-07-02 03:14:01 +02:00
chylex 0eb25f7aef Simplify keybind configuration code 2019-07-02 03:05:37 +02:00
chylex 2ca238afbf Fix keybind conflicts not showing properly after refactoring 2019-07-01 23:22:22 +02:00
chylex 76577ad957 Refactor feature trigger/availability handling code 2019-07-01 23:04:02 +02:00
chylex 5a669688e4 Minor cleanup 2019-07-01 20:26:16 +02:00
chylex dbabd31663 Add an // UPDATE comment to check if vanilla sprint keybind isn't overridden 2019-07-01 19:53:05 +02:00
chylex 9962a390b5 Completely rework sprinting logic w/ option to tap sprint key 2019-07-01 11:55:16 +02:00
chylex 3337c5a5a1 Remove no longer necessary isModDisabled checks in MovementController 2019-07-01 08:30:21 +02:00
chylex 9ec23a73dc Reorganize GUI code 2019-07-01 05:10:43 +02:00
chylex 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
chylex b11fb88c4b Allow disabling/enabling the mod in-game when in singleplayer 2019-07-01 02:22:32 +02:00
chylex 87692da204 Ensure none of the coremod injections run if any single part fails 2019-07-01 01:53:20 +02:00
chylex 6481ba452c Rework injected tick logic to remove vanilla code from PlayerLogicHandler 2019-07-01 01:51:47 +02:00
chylex bae75d5287 Improve coremod to remove need for vanilla code in LivingUpdate 2019-07-01 00:13:40 +02:00
chylex 28d692be0b Include jump target in coremod instruction printout 2019-06-30 23:35:39 +02:00
chylex 4c8fbd62d5 Refactor event subscribing & remove some unnecessary code 2019-06-30 22:14:27 +02:00
chylex 225c1e46e4 Fix missing '/bettersprinting setting' command autocomplete 2019-06-30 21:46:32 +02:00
chylex 19c7237151 Hardcode coremod skip offsets to improve compatibility & conflict detection 2019-06-30 20:52:33 +02:00
chylex 836f91fcd6 Make coremod directly target livingTick method (Forge 27.0.16+) 2019-06-30 19:03:55 +02:00
chylex ea6d25b3bc Update Forge to 27.0.16 & Minecraft to 1.14.3 2019-06-30 18:17:19 +02:00
chylex 19f1811a21 Add 'Fly on ground' config option migration from backported versions 2019-06-24 23:39:28 +02:00
chylex 8bc0dc2b51 Fix ClientEventHandler crashing if keyBindingList is null & reduce AT
Close #44
2019-06-24 23:33:30 +02:00
chylex 7b24ba28b2 Update Forge to 26.0.63 2019-06-24 23:20:49 +02:00
chylex dd40c1b13f Release 2.3.0 for MC 1.14.2 2019-06-14 06:36:10 +02:00
chylex 1e61868f4c Remove TOML enum workaround 2019-06-14 05:51:59 +02:00
chylex 0564a6b653 Port everything to 1.14.2 2019-06-14 05:16:45 +02:00
chylex 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
chylex 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
chylex 69b7b9ffa8 Refactor GUI buttons 2019-03-05 01:25:38 +01:00
chylex 7a1e0c6331 Enable sprinting in all directions if LAN owner has the mod 2019-03-02 18:08:02 +01:00
chylex c5898f2e93 Add option to continue flying when touching ground in creative mode
Closes #38
2019-03-02 17:01:25 +01:00
chylex 992fa91972 Cleanup comments in LivingUpdate 2019-03-02 16:59:53 +01:00
chylex 7f5ea45fa9 Move checkOpcodeChain into outer scope & insert after label 2019-03-02 16:53:08 +01:00
chylex 3f453ca8a3 Release 2.2.0 for MC 1.13.2 2019-02-25 08:39:13 +01:00
chylex 6974dbf4a9 Change networking to run in correct thread (just to be safe) 2019-02-25 07:47:49 +01:00
chylex 8104741311 Make 25.0.53 the minimum Forge version (networking changes) 2019-02-25 07:15:52 +01:00
chylex 4238e78966 Update coremod to work outside dev environment 2019-02-21 00:22:06 +01:00
chylex f9cadaa162 Remove mention of PlayerAPI in integrity check fail message 2019-02-20 23:50:59 +01:00
chylex 05fe1fa3ef Implement old config migration (excluding client keybindings) 2019-02-20 23:29:24 +01:00
chylex 1c87af4447 Fix newly introduced bug w/ setting keybinding to just ctrl/shift/alt 2019-02-20 23:27:53 +01:00
chylex 0b1ad89220 Fix fly boost not working in spectator mode 2019-02-20 20:04:44 +01:00
chylex e1a6e897ec Formatting fix in main.js 2019-02-20 12:51:53 +01:00
chylex 0d114e8f3a Update network specification for 1.13 2019-02-20 07:47:47 +01:00
chylex d2799cbdbc General cleanup & mods.toml fix 2019-02-20 06:49:06 +01:00
chylex d6ee309355 Reimplement key modifier and mouse button in client config 2019-02-20 06:19:40 +01:00
chylex 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
chylex c37de640f5 Update language files for 1.13 2019-02-20 02:06:48 +01:00
chylex 788cb951ce Release 2.1.1 for MC 1.12.2 & fix outdated development instructions 2018-02-15 11:36:17 +01:00
chylex 5e7142cee7 Add support for InputUpdateEvent and set minimum Forge version
Closes #32
2018-02-15 11:18:59 +01:00
chylex c52e9e3e62 Release 2.1.0 for Minecraft 1.12.2 2017-09-26 21:39:06 +02:00
chylex f9cbc5b8da Update transformer to remove more vanilla code & cleanup AT 2017-09-26 21:22:07 +02:00
chylex 51bd4aa240 Finish transformer edits to replace a block instead of the whole onLivingUpdate 2017-09-26 19:50:29 +02:00
chylex e610f8f7cf Remove explicit PlayerAPI support due to coremod changes 2017-09-26 19:06:21 +02:00
chylex f217e4e044 Refactor simple EntityPlayerSP methods and log transformer instructions in debug only 2017-09-26 18:04:31 +02:00
chylex 6a248b87eb Push WIP transformer code (skip point in onLivingUpdate) 2017-09-26 17:32:34 +02:00
chylex bf58f24211 Rewrite transformer to insert instead of replacing code 2017-09-26 14:44:59 +02:00
chylex a0e64d97d4 Update instructions and comments with minor code reordering 2017-09-25 23:04:36 +02:00
chylex 22eddbd755 Update to Minecraft 1.12.2 2017-09-25 22:24:33 +02:00
chylex 10262f89db Release 2.0.3 for MC 1.12.1 2017-09-25 21:45:18 +02:00
chylex 8459dbed9e Turns out acceptedMinecraftVersions is fucking useless for this purpose 2017-09-10 15:25:27 +02:00
chylex 6c9f6a49ca Prevent trying to load the mod on untested Minecraft versions 2017-09-10 14:51:56 +02:00
chylex d991cc9c96 Update to 1.12.1 2017-09-10 14:36:17 +02:00
chylex 65bd52031f Release 2.0.2 for Minecraft 1.12 2017-08-02 21:11:28 +02:00
chylex 16a8c7ad0b Improve compatibility with 'Controlling' and possibly other mods
Closes #31
2017-08-02 20:56:41 +02:00
chylex abd70df713 Release 2.0.1 for Minecraft 1.12 2017-06-29 14:11:35 +02:00
chylex 91d6167250 Update to Forge 14.21.1.2387 and depend on it due to API changes 2017-06-29 13:41:41 +02:00
chylex 55c4712d79 Release 2.0.0 for Minecraft 1.12 2017-06-15 21:21:14 +02:00
chylex b29089d27b Rewrite integrity check 2017-06-15 08:13:16 +02:00
chylex 3c39c28c33 Fix core mod outside dev env, add logging and safeguards 2017-06-15 07:31:57 +02:00
chylex 76ccc6b0ae Tweak integrity check to only use XZ coordinates to detect movement 2017-06-15 05:18:59 +02:00
chylex dcaf74f900 Refactor some code 2017-06-14 22:27:44 +02:00
chylex 350d1006e2 Add tab completion to server commands 2017-06-14 22:27:18 +02:00
chylex f1a672c2e9 Add support for key modifiers 2017-06-14 14:31:35 +02:00
chylex ea760fd840 Rename PlayerAPI compatibility file 2017-06-14 04:28:37 +02:00
chylex 65dc9d6c68 Update 'bs.game.integrity' in all language files 2017-06-14 04:23:12 +02:00
chylex e158b7e313 Reimplement integrity check 2017-06-14 00:19:42 +02:00
chylex 5b211f1ed5 Fix core mod after refactoring 2017-06-13 23:38:08 +02:00
chylex 54e3d9ca6b Refactor code for update notifications 2017-06-13 22:44:48 +02:00
chylex c58885376f Refactor (rename parameters, move files and fields, tweak code) 2017-06-13 22:17:22 +02:00
chylex 274a079ad4 Rename player parameters in LivingUpdate to $this 2017-06-13 21:56:36 +02:00
chylex 3178f75f75 Update all logic code to 1.12 2017-06-13 21:55:09 +02:00
chylex 3c3ce3debc Replace pushOutOfBlocks calls with an ASM'd method 2017-06-13 19:15:16 +02:00
chylex 6a72d9de28 Cleanup coremod code 2017-06-13 18:52:57 +02:00
chylex bf452b036d Fix formatting 2017-06-13 17:27:37 +02:00
chylex 1f795e1656 Refactor ClientModManager methods 2017-06-13 16:49:43 +02:00
chylex 88a3411036 Rework GUI handling (fix conflict detection in Controls) 2017-06-13 16:45:14 +02:00
chylex 4c46b9bbe6 Replace old override impl with coremod 2017-06-13 05:03:58 +02:00
chylex 4d5ea7bf1b Add a coremod to edit EntityPlayerSP.onLivingUpdate 2017-06-13 04:23:50 +02:00
chylex e90d596d48 Fix compile errors for 1.12 2017-06-13 02:19:26 +02:00
chylex d1b1998a64 Release 1.1.9 for MC 1.11.2 2017-01-03 15:35:35 +01:00
chylex 05969f41aa Update to Minecraft 1.11.2 2017-01-03 15:14:35 +01:00
chylex 4105a9e5a2 Update mod version and build ID 2016-11-19 22:12:58 +01:00
chylex 04ef81eb6f Fix modded server -> vanilla client packets disconnecting the client in 1.11 2016-11-19 22:12:43 +01:00
chylex 43896e90c6 Make the mod ID lowercase 2016-11-19 07:56:42 +01:00
chylex c54b0bc323 Update to 1.11 and refactor some code 2016-11-19 07:44:36 +01:00
chylex a663936928 Add // UPDATE comments to all places that need to be matched with vanilla 2016-11-19 07:05:47 +01:00