mirror of
https://github.com/FabricMC/fabric.git
synced 2024-11-26 01:28:21 -05:00
33c37e23ce
* 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
15 lines
335 B
Groovy
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'
|
|
])
|