Commit graph

16 commits

Author SHA1 Message Date
Technici4n
4b24d382c1 Change event behavior for one listener, introduce AutoInvokingEvent, update ArrayBackedEvent implementation (#1369)
* Cleanup Events

* Add the AutoInvokingEvent annotation.

Co-authored-by: Player <sfPlayer1@users.noreply.github.com>
Co-authored-by: Technici4n <13494793+Technici4n@users.noreply.github.com>
2021-05-01 23:24:00 +02:00
modmuss50
23b3c92ea9 21w13a 2021-03-31 20:52:51 +01:00
Player
6d07a7c2fa Make event registration thread safe (#1305)
(cherry picked from commit be996d2566)
2021-02-14 17:56:39 +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
i509VCB
eaafab80ff Add command to audit mixin environment in game (#1174)
* Add command to audit mixin environment in game

* Throw assertion error instead and add success message

Assertion errors will bypass the command exceptions being eaten.
2020-11-23 20:14:29 +00:00
modmuss50
1cd3aea3db Spin up a dedicated server on github actions + add run tasks for test mods. (#1163)
* Add test mod run tasks, add a very basic auto test server task

* License header

* Minor cleanup

* Fix bad depends
2020-11-15 19:40:17 +00:00
i509VCB
432d048583
Tristate extensions (#1043)
* Tri-state extensions

Adds new extensions to tri-state and some javadoc.

* Part 2

* Comment fix

* More conistent codestyle, abstract the map and ifxyz code a bit

* Annotations

* Player said no to qualifying static members local to the TriState enum.

* Exceptional spelling

* add a more Optional-like map method and drop if*State*

* ? extends T this time

* Compare to default rather than null of getBoxed

* Puncation of course
2020-10-11 21:15:03 +01:00
liach
655c8d6a5c
Fix javadoc jar generation and javadoc building (#550)
* Update build.gradle for testing

Signed-off-by: liach <liach@users.noreply.github.com>

* Fix javadocs

Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-05 15:07:27 +01:00
Player
b7f9825dbb Add checkstyle verification for package names, fix non-API packages. 2019-11-03 20:14:45 +01:00
Player
dfdb52d6e5 Add checkstyle, format existing code accordingly. 2019-10-27 15:40:26 +01:00
liach
67f1526c06 Allows generic event declaration
Signed-off-by: liach <liach@users.noreply.github.com>
2019-10-16 22:20:34 +00:00
parly
2d1f5b3a69 Allow for running fabric-api-base on the server-side environment (#360) 2019-09-09 14:04:22 +01:00
Prospector
5ed88c193a Add more metadata to the modules (#353)
* Add fabric-api-base as a dep to fabric-networking-v0
2019-09-09 01:48:43 +02:00
svipthedrunk
b494ebebbb Fixed most of the javadoc comments and removed unused imports
Mostly replaced instances of > with its correct html representation "&gt;"
Changed or removed some bad @link entries, mostly stuff due to overseen code changes
Could not find the referenced class VertexEditor at all, removed these references out of the docs

Some errors still exists due to referenced objects not in the classpath at the time the javadoc is build
Proposal do some gradle magic
2019-06-27 18:18:10 +02:00
asie
59147463cc add proper depends lists to mods 2019-05-17 23:08:53 +02:00
Adrian Siekierka
f16189181b final module name refactor prior to release, hopefully 2019-05-11 23:48:33 +02:00