mirror of
https://github.com/FabricMC/fabric.git
synced 2024-11-24 16:48:02 -05:00
2f23104bdd
* Lifecycle Events V1 Now includes Chunk and (Block)Entity (un)load events * Add some tests to verify worlds are ticking in the log * Lambda boogaloo * Add some docs. Distinguish between a server starting to stop and server which has stopped. * Split up test mods, some tweaks to (block)entity (un)load events. Bind the ServerWorld being closed during shutdown to unload (block)entities. * Shift around a few profiler variables and finalize * Complete the tests, Block entities on server should be reliably tracked now. Entities on the server obviously still need to be wrangled. * Drop Server Entity Unload callback. Believe me, this was a hard decision but it stands on the fact that about 20-40% of entities silently unload without going through the proper "unloadEntity" method in ServerWorld. No amount of debug hacks, double tracking unload events and even replacing the entity maps do not fix this issue. So I have decided to drop this from the feature set. * checkstyle * generic-events -> item-api * Server start -> Server started * Allow getting current server from Lifecycle People have asked for this, but it is not encouraged for obvious reasons. Should be staged well enough to revert if we decide to. * checkstyle lol * update injection name * Checkstyle lol: Redundant modifiers * Add client starting, stopping and stopped callbacks. * Loicenses * Reorganize so each event category has it's own class. Also this collapses the pretty widely reaching interfaces into more specific inner classes to avoid issues with generics. * Some docs and slight name changes * Add start tick callbacks to worlds, server and client * Enhance some client related docs to life cycle * Deprecate for reasons of discouraging singletonish server getter methods in lifecycle * Add some description related to integrated server on server stopping. * Add small test to verify tick starts are right spot of load * Docs and a tiny bit more testing. * Try clarifying client docs * Drop a slightly unnessecary event * Actually call and implement START_SERVER_TICK event * Remove non-existent test * again * Refer to minecraft itself in client lifecycle docs * Refer to Minecraft itself within ServerLifecycleEvents * Remove primary server getters * IJ DO YOU SPEAK RESOLVING IMPORTS (cherry picked from commit c9257e8a11d8361469349f4171263121bb111af7) * Prune the tests that shouldn't exist * Listen here checkstyle you bugger (cherry picked from commit 9701bba4002cec089c9d3738b1f226128078c130) * Split up events to individual interfaces. Make Chunk events use WorldChunk instead.
52 lines
1.4 KiB
Groovy
52 lines
1.4 KiB
Groovy
pluginManagement {
|
|
repositories {
|
|
jcenter()
|
|
gradlePluginPortal()
|
|
maven {
|
|
name = 'Fabric'
|
|
url = 'https://maven.fabricmc.net/'
|
|
}
|
|
mavenLocal()
|
|
}
|
|
}
|
|
|
|
rootProject.name = "fabric-api"
|
|
|
|
include 'fabric-api-base'
|
|
|
|
include 'fabric-biomes-v1'
|
|
include 'fabric-blockrenderlayer-v1'
|
|
include 'fabric-climbable-api-v1'
|
|
include 'fabric-commands-v0'
|
|
include 'fabric-command-api-v1'
|
|
include 'fabric-containers-v0'
|
|
include 'fabric-content-registries-v0'
|
|
include 'fabric-crash-report-info-v1'
|
|
include 'fabric-events-interaction-v0'
|
|
include 'fabric-events-lifecycle-v0'
|
|
include 'fabric-item-api-v1'
|
|
include 'fabric-item-groups-v0'
|
|
include 'fabric-keybindings-v0'
|
|
include 'fabric-key-binding-api-v1'
|
|
include 'fabric-lifecycle-events-v1'
|
|
include 'fabric-loot-tables-v1'
|
|
include 'fabric-mining-levels-v0'
|
|
include 'fabric-models-v0'
|
|
include 'fabric-networking-v0'
|
|
include 'fabric-networking-blockentity-v0'
|
|
include 'fabric-object-builder-api-v1'
|
|
include 'fabric-object-builders-v0'
|
|
include 'fabric-particles-v1'
|
|
include 'fabric-registry-sync-v0'
|
|
include 'fabric-renderer-api-v1'
|
|
include 'fabric-renderer-indigo'
|
|
include 'fabric-renderer-registries-v1'
|
|
include 'fabric-rendering-v0'
|
|
include 'fabric-rendering-v1'
|
|
include 'fabric-rendering-data-attachment-v1'
|
|
include 'fabric-rendering-fluids-v1'
|
|
include 'fabric-resource-loader-v0'
|
|
include 'fabric-tag-extensions-v0'
|
|
include 'fabric-textures-v0'
|
|
include 'fabric-dimensions-v1'
|
|
include 'fabric-tool-attribute-api-v1'
|