fabric/fabric-registry-sync-v0/build.gradle
apple502j 33c37e23ce
22w42a RegSync changes (#2608)
* Fix DynamicRegistrySetupCallback, add EndDynamicRegistrySetupCallback

`DynamicRegistrySetupCallback` did not work as intended because the injection
was too late. This moves the injection point to `RegistryLoader`, just before it
is loaded.

`EndDynamicRegistrySetupCallback` is a new event triggered when the loading is
finished. This has access to the combined DRM, allowing context-aware modification.

This also replaces `System.out.println` use in testmod.

* Remove useless force-init of BiomeKeys

* Remove now-unnecessary DynamicRegistryManagerMixin

* Fix crash in testmod

This caveat needs proper documentation.

* Add note to javadoc

* Mark impl as internal

* Remove EndDynamicRegistrySetupCallback

* Fix testmod checkstyle issues

* Add automated event call check

* Fix test

* Update javadoc

* Add `@see`

* Re-run actions
2022-10-28 18:24:56 +01:00

15 lines
335 B
Groovy

archivesBaseName = "fabric-registry-sync-v0"
version = getSubprojectVersion(project)
loom {
accessWidenerPath = file("src/main/resources/fabric-registry-sync-v0.accesswidener")
}
moduleDependencies(project, [
'fabric-api-base',
'fabric-networking-api-v1'
])
testDependencies(project, [
':fabric-lifecycle-events-v1'
])