Commit graph

31 commits

Author SHA1 Message Date
modmuss50
a02b4463f9 21w19a 2021-05-12 20:23:04 +01:00
modmuss50
23b3c92ea9 21w13a 2021-03-31 20:52:51 +01:00
modmuss50
40e100eb8e 21w07a - Fairly major mappings update 2021-02-17 19:11:45 +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
modmuss50
8f5b7a460a Bump version 2020-12-06 19:37:32 +00:00
i509VCB
80d73bddd1 Add readme for fabric-lifecycle-events-v1 (#1119)
* Add readme for fabric-lifecycle-events-v1

* Spelling lol

* Update fabric-lifecycle-events-v1/README.md

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>

* Don't document everything under the sun. Instead explain what there is

* Indicate > specify

* Consistent referral to the types of worlds.

* Update fabric-lifecycle-events-v1/README.md

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>

* Update fabric-lifecycle-events-v1/README.md

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>

* Grammer go brr

Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
(cherry picked from commit ffb68a877b)
2020-12-05 19:05:40 +00:00
i509VCB
bd906e77da
Implement entity unload event on server (#1191)
* Start toying with server entity unload event

* Implement testmod stuff

* Implement shutdown implementation of unload entities

* Update fabric-lifecycle-events-v1/src/testmod/java/net/fabricmc/fabric/test/event/lifecycle/ServerEntityLifecycleTests.java

Co-authored-by: Pyrofab <redstoneinfire@gmail.com>

* Comment suggestion

Co-authored-by: Pyrofab <redstoneinfire@gmail.com>
2020-12-05 19:03:30 +00:00
i509VCB
8c05a46689
Block entity unload: compensate for WorldChunk code changes (#1204) 2020-12-05 19:02:56 +00:00
modmuss50
880269e646 Bump version 2020-11-28 20:34:56 +00:00
i509VCB
5a2efd399e
Reimplement block entity (un)load events (#1177)
* Reimplement block entity (un)load events

This is pending testing to verify the tracking is reliable.

* Forgot that null check for parity

* Everything is implemented. Now for testing

* Fix server block entity unload events

* Bah indentations broke

* Handle world chunks instead of the positions
2020-11-28 19:47:47 +00:00
Thalia Nero
9f7a7423f3 Add module dependencies to maven POM (#1104) 2020-11-15 19:46:01 +00:00
modmuss50
24947c8dc7 Version bump 2020-11-08 21:52:10 +00:00
modmuss50
c3939b0682 Fix crash in production Closes #1155 2020-11-08 21:47:44 +00:00
modmuss50
96d1e9eae1 Version bump 2020-11-07 20:32:46 +00:00
i509VCB
8d074a03a9
Temp fix for feature renderer testmod, update mappings, reimplement client entity events (#1152)
* Temp fix for feature renderer testmod, update mappings

* Deprecation comments...

* Reimplement client entity events

* Readd the client world change entity event stuff
2020-11-07 19:54:09 +00:00
i509VCB
c097c2c675
Reimplement server entity load event (#1151) 2020-11-05 20:02:40 +00:00
modmuss50
3e817a62fd Version bump 2020-11-05 18:26:58 +00:00
modmuss50
fd6e7547e7
20w45a
Added FabricBlockEntityTypeBuilder
Reworked EntityRendererRegistry
Ported BlockEntityRendererRegistry
2020-11-05 18:05:55 +00:00
i509VCB
27eec61ee2 Turn off tests and mixins for currently disabled part 2020-11-04 18:35:41 -06:00
i509VCB
e05dd712ca 20w45a: Reimplement Chunk events, fix up block-entity-networking
This also adds some maintainer comments to two injections in game rule api.

No this does not compile
2020-11-04 18:21:51 -06:00
modmuss50
74cc3b2021 Version Bump 2020-07-29 20:07:00 +01:00
i509VCB
5098e03e12
Add world unload event (And functional interface annotations to events) (#895)
* Add world unload event

* Add functional interface annotations to all events
2020-07-29 19:54:16 +01:00
modmuss50
3b4b2c130e Version bump 2020-07-17 16:22:50 +01:00
modmuss50
f5c4fce088 and imports.. 😠 2020-07-17 15:59:41 +01:00
modmuss50
f5b8457b41 Remove unused variable 2020-07-17 15:58:37 +01:00
i509VCB
144d3847c0
Lifecycle Events: Part 2, Electric Boogaloo (#848)
* Add a few new server lifecycle events

Server starting, Load World, Before server resource reload, After server resource reload

* Save event

* Split world load into ServerWorldEvents, add failure event for data pack reload

* cause

* Merge fail and regular end.

* Present tense lol

* So we can just plainly specify the system properties

* use handleAsync instead
2020-07-17 14:51:05 +01:00
modmuss50
c668f41520 20w27a 2020-07-01 18:40:27 +01:00
modmuss50
b0993bc1e7 Fix invalid testmod json 2020-06-25 22:42:35 +01:00
i509VCB
16acbe5bfd
Lifecycle Events V1 [1.16] (#681)
* Lifecycle Events V1 (1.16)

Now includes Chunk and (Block)Entity (un)load events

(cherry picked from commit 82b372873fd930dd07768331f7b70f6f9d3d441d)

* Move around code to work on 1.16

* Checkstyle

* Remove primary server getters

(cherry picked from commit c84f36209d)

* IJ DO YOU SPEAK RESOLVING IMPORTS

* Prune the tests that shouldn't exist

(cherry picked from commit a5112223ca)

* Listen here checkstyle you bugger

* Split up events to individual interfaces. Make Chunk events use WorldChunk instead.

(cherry picked from commit 3431c0d894)
2020-06-25 22:28:21 +01:00