Commit graph

11 commits

Author SHA1 Message Date
modmuss50
65d505fc8a Bump versions
All of the version need to be bumped due to fabric-api-base being updated, this highlights the need for a better solution.
2021-11-05 17:09:48 +00:00
modmuss50
cbda9318cd
Update Gradle/Loom and mappings. (#1692)
* Update Gradle/Loom and mappings.

* Fix deprecations and enforce

* Review feedback

* More cleanup and deprecation fixes.
2021-08-31 14:00:20 +01:00
modmuss50
a02b4463f9 21w19a 2021-05-12 20:23:04 +01:00
modmuss50
524a2e859c Bump Version 2021-02-14 18:03:24 +00:00
Grayray
427fb25ae7 Update key-binding-api-v1 example (#1309)
Switches from events-lifecycle-v0 to lifecycle-events-v1

(cherry picked from commit 4ee10f8910)
2021-02-14 17:56:50 +00:00
modmuss50
36b77c3e9f 21w03a 2021-01-20 19:50:47 +00:00
modmuss50
92519afafe Version bump 2021-01-19 19:38:22 +00:00
i509VCB
f8cf2bb436 Add custom value denoting module lifecycles. (#1253)
* Add custom value denoting module lifecycles.

* Make the module validation work.

My hand has been forced - we must use buildSrc since JsonSlurper is not available in main buildscript.

* Apply task to each project and dont cross projects

* A horrible hack

* Wait what

* It works now.

* Not needed

* Drop unneeded maven repo, cache map lookup

(cherry picked from commit daa38b3d82)
2021-01-19 18:54:23 +00:00
shedaniel
730711c6e2 Fix getBoundKey() recursion (#896)
* Fix getBoundKey() recursion

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Change to underscore

Signed-off-by: shedaniel <daniel@shedaniel.me>
2020-07-20 19:37:28 +01:00
modmuss50
e16a9774a7 Keybinding 1.16 compile fixes 2020-06-12 11:24:25 +01:00
shedaniel
3fa9f7c5f8 migrate to fabric-keybindings-v1 and remove builder (#615)
* Edited Clone of #244
- Fixed checkstyle issues
- Migrated to fabric-keybindings-v1
- Removed sticky keybindings from #244 as it sounds useless and you can just around it by simply adding that functionality yourself, I might add it back if someone can tell me the advantages of sticky keys except bloat
- Added a test mod
- Added FabricKeyBinding#getBoundKeyOf for getting vanilla bound keys with ease
- Renamed `registered` to `automaticallyRegister` as that is more of a better name
- Added a couple Objects.requireNonNull validations

* Add back StickyFabricKeyBinding as it is in vanilla, did not notice.

* Remove extra "key."

* Bump to 1.0.0

* build().register()

* Remove `register()`

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Fix test

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Rename module

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Fix checkstyle violation

Signed-off-by: shedaniel <daniel@shedaniel.me>

* major refactor

Signed-off-by: shedaniel <daniel@shedaniel.me>

* revert some stuff

Signed-off-by: shedaniel <daniel@shedaniel.me>

* fix build

Signed-off-by: shedaniel <daniel@shedaniel.me>

* major stuff

Signed-off-by: shedaniel <daniel@shedaniel.me>

* fix license, of course

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Add resource loader v0

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Let's not break the api.

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Rename to buildAndRegister

Signed-off-by: shedaniel <daniel@shedaniel.me>

* resolve reviews

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Use GLFW

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Dump the builder entirely

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Rename to Key Binding

Signed-off-by: shedaniel <daniel@shedaniel.me>
2020-06-12 11:20:31 +01:00