mirror of
https://github.com/FabricMC/fabric.git
synced 2024-11-28 10:36:43 -05:00
25e1b4769d
* Data Attachment API
* javadoc
* Remove AttachmentSerializer & independent syncability and persistence
- removed AttachmentSerializer in favor of codecs
- renamed serializability to "persistence"
- made persistence and syncability independent switches
- reworked convenience registry methods to use Suppliers from the get-go
* Move some serialization-related methods to impl
- changed logger name
* rename Attachment to AttachmentType
* Added DefaultedAttachmentType and reworded Javadoc
* add warning in getAttached
* javadoc
* fix defaulted API
* Add unit tests
* remove DefaultedAttachmentType, add helper methods
bikeshedding inbound
* add more unit tests
* add testmod
it works
* stash syncing for a further PR
* missed license header
* address most reviews
* more reviews
* naming convention
* fix tyop
* fix invalid file name error
* simplify API in the absence of sync
It was established that the presence of a codec might be useful for other things than persistence, and while this seems to couple the two, the API can be changed later in a backward-compatible way if need be.
* couple codec with persistence
committing to the change I mentioned previously
* little fixes
* Fix mixins + requests
- Copy attachments on entity copy,& with a customizable flag in the case of player respawn
- Call relevant change-notifying methods when calling setAttached on BEs and chunks
- Change persistence key
- Fix mixin visibility
* Write tests for entity copy
* replace mixin by COPY_FROM event
* missed license header
* more advanced copy mechanics
- attachments require an EntityCopyHandler to be copied across entities
- a copy handler is automatically derived if there's a codec
- updated javadoc for chunk and BE targets
* Revert "more advanced copy mechanics"
This reverts commit 3f53b554fb
.
* replaced complicated API by a stern warning
- also handled cross-world entity teleportation
* add gametest
* fix compilation
* flipped boolean
* forgot some more bools to flip
* requests
* fix FMJ
* fix BE mixin and add gametest
* add client player entity copying
* Use new mob conversion event
---------
Co-authored-by: modmuss <modmuss50@gmail.com>
70 lines
2.1 KiB
Groovy
70 lines
2.1 KiB
Groovy
pluginManagement {
|
|
repositories {
|
|
gradlePluginPortal()
|
|
maven {
|
|
name = 'Fabric'
|
|
url = 'https://maven.fabricmc.net/'
|
|
}
|
|
mavenLocal()
|
|
}
|
|
}
|
|
|
|
rootProject.name = "fabric-api"
|
|
|
|
include 'fabric-api-bom'
|
|
include 'fabric-api-catalog'
|
|
|
|
include 'fabric-api-base'
|
|
|
|
include 'fabric-api-lookup-api-v1'
|
|
include 'fabric-biome-api-v1'
|
|
include 'fabric-block-api-v1'
|
|
include 'fabric-block-view-api-v2'
|
|
include 'fabric-blockrenderlayer-v1'
|
|
include 'fabric-client-tags-api-v1'
|
|
include 'fabric-command-api-v2'
|
|
include 'fabric-content-registries-v0'
|
|
include 'fabric-convention-tags-v1'
|
|
include 'fabric-crash-report-info-v1'
|
|
include 'fabric-data-attachment-api-v1'
|
|
include 'fabric-data-generation-api-v1'
|
|
include 'fabric-dimensions-v1'
|
|
include 'fabric-entity-events-v1'
|
|
include 'fabric-events-interaction-v0'
|
|
include 'fabric-game-rule-api-v1'
|
|
include 'fabric-gametest-api-v1'
|
|
include 'fabric-item-api-v1'
|
|
include 'fabric-item-group-api-v1'
|
|
include 'fabric-key-binding-api-v1'
|
|
include 'fabric-lifecycle-events-v1'
|
|
include 'fabric-loot-api-v2'
|
|
include 'fabric-message-api-v1'
|
|
include 'fabric-mining-level-api-v1'
|
|
include 'fabric-model-loading-api-v1'
|
|
include 'fabric-networking-api-v1'
|
|
include 'fabric-object-builder-api-v1'
|
|
include 'fabric-particles-v1'
|
|
include 'fabric-recipe-api-v1'
|
|
include 'fabric-registry-sync-v0'
|
|
include 'fabric-renderer-api-v1'
|
|
include 'fabric-renderer-indigo'
|
|
include 'fabric-rendering-fluids-v1'
|
|
include 'fabric-rendering-v1'
|
|
include 'fabric-resource-conditions-api-v1'
|
|
include 'fabric-resource-loader-v0'
|
|
include 'fabric-screen-api-v1'
|
|
include 'fabric-screen-handler-api-v1'
|
|
include 'fabric-sound-api-v1'
|
|
include 'fabric-transfer-api-v1'
|
|
include 'fabric-transitive-access-wideners-v1'
|
|
|
|
include 'deprecated'
|
|
include 'deprecated:fabric-command-api-v1'
|
|
include 'deprecated:fabric-commands-v0'
|
|
include 'deprecated:fabric-containers-v0'
|
|
include 'deprecated:fabric-events-lifecycle-v0'
|
|
include 'deprecated:fabric-keybindings-v0'
|
|
include 'deprecated:fabric-models-v0'
|
|
include 'deprecated:fabric-renderer-registries-v1'
|
|
include 'deprecated:fabric-rendering-data-attachment-v1'
|
|
include 'deprecated:fabric-rendering-v0'
|