Commit graph

14 commits

Author SHA1 Message Date
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
modmuss50
c3939b0682 Fix crash in production Closes #1155 2020-11-08 21:47:44 +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
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
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
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