2019-04-23 18:46:23 -04:00
|
|
|
pluginManagement {
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
gradlePluginPortal()
|
|
|
|
maven {
|
|
|
|
name = 'Fabric'
|
|
|
|
url = 'https://maven.fabricmc.net/'
|
|
|
|
}
|
|
|
|
mavenLocal()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-24 13:15:08 -04:00
|
|
|
rootProject.name = "fabric-api"
|
|
|
|
|
2019-05-11 17:48:33 -04:00
|
|
|
include 'fabric-api-base'
|
|
|
|
|
2020-09-18 13:11:51 -04:00
|
|
|
include 'fabric-biome-api-v1'
|
2019-09-20 19:50:49 -04:00
|
|
|
include 'fabric-blockrenderlayer-v1'
|
2019-05-11 17:48:33 -04:00
|
|
|
include 'fabric-commands-v0'
|
2020-04-29 17:05:43 -04:00
|
|
|
include 'fabric-command-api-v1'
|
2019-05-11 17:48:33 -04:00
|
|
|
include 'fabric-containers-v0'
|
|
|
|
include 'fabric-content-registries-v0'
|
|
|
|
include 'fabric-crash-report-info-v1'
|
2020-11-28 14:47:10 -05:00
|
|
|
include 'fabric-dimensions-v1'
|
2019-05-11 17:48:33 -04:00
|
|
|
include 'fabric-events-interaction-v0'
|
|
|
|
include 'fabric-events-lifecycle-v0'
|
2020-07-24 11:25:09 -04:00
|
|
|
include 'fabric-game-rule-api-v1'
|
2020-06-25 17:28:21 -04:00
|
|
|
include 'fabric-item-api-v1'
|
2019-05-11 17:48:33 -04:00
|
|
|
include 'fabric-item-groups-v0'
|
|
|
|
include 'fabric-keybindings-v0'
|
2020-06-12 06:18:17 -04:00
|
|
|
include 'fabric-key-binding-api-v1'
|
2020-06-25 17:28:21 -04:00
|
|
|
include 'fabric-lifecycle-events-v1'
|
2019-06-09 15:47:28 -04:00
|
|
|
include 'fabric-loot-tables-v1'
|
2019-05-11 17:48:33 -04:00
|
|
|
include 'fabric-mining-levels-v0'
|
|
|
|
include 'fabric-models-v0'
|
|
|
|
include 'fabric-networking-v0'
|
Fabric Networking API V1 (#1081)
* Networking api v1
Some final docs?
Licenses and testmod
Fix a bunch o imports and make things work for v1 (v0 is bork)
Make the testmod pass checkstyle and work
Docs for v1
* Deprecate v0 and implement using v1
* Drop files down one package due to package check error
* Fix issue with channel registration, add another testmod
* jaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaavadoc
* Make javadoc use `code`, move impl interface to package access
* this things
* Rename a few internal methods
* Mark all client side stuff client only, move client mixins
* Add null checks around the place, clarify some javadoc and method names
* Make FutureListeners uninstantiable
* Some internal nullable annotations
* An impl class I forgot to rename
* Some comments and clarify some client login handler javadoc
* Add a missing FunctionalInterface annotation
* Split play and login, move client stuff to right package
* No interface left behind
* Inline channel registries in api
* Login and play subpackages not needed
* Add helper method to create play custom packets
* hasGlobalChannel -> hasGlobalReceiver
* Just rename the collection method for now
* Inline PlayPacketSender into static methods
* Start on testmod idea for verifying dynamic registration
* Add client login events
* You don't say hello when talking to yourself.
Also more testmod stuff
* Make event names present tense
* Some javadoc and impl interface rename
* Change the test keybinding
* Begin working on dynamic reg
* Dynamic reg works, just need a lot of cleanup and reimpling global
* A few renames, readd global methods
* Try to reduce the amount of duplicate registration logic
* Reimplement dynamic accessors
* More impl
* Start reimplementing global receivers. Still very hacky solution.
* Reimplement some server global reciever stuff
* Add login init event for server login.
* Implement client login query start event
* Move event invocations into addon, don't dual register global recievers
* Finally reimplement global recievers for all networking phases
* A revelation: Send packets properly
This also finds the issue with screen getting the proper S2C channels, current on TODO list.
* Disconnect event does not need a packet sender
* Clarify, add methods to get channels net handler can recieve on client
* Unregister actually works now
* Bunch of null checks, add simpler login delay test for vanilla clients
* Add some debug logging entries, fix unregister on client's session reg
* Play channel event javadoc and rename login query handlers
* More channel -> channelName
* thisening
* Introduce the basics infrastructure for tracking global receivers
* Add more substantial javadoc to login connection events
* Javadoc, reimplement unreg methods on v0, 1 impl fix
* Implement tracking for global recievers
* Dont forget to start tracked sessions in 3/4 cases
* Global receiver docs and move methods in classes
* Complete null checks
* big boi javadoc part 1
* Finish the main javadoc, usage javadoc is left
* Set so has method is not needed
* Rename receiveable and sendable methods
* Add the two missing private ctors
* buildscript update to upstream
* Split out player finding stuff to networking player tracking API v1
Signed-off-by: liach <liach@users.noreply.github.com>
Forward v0 PlayerStream to new module, add entity track events
Rename module to player tracking
Well javadoc can make sense
Decide on tracking for the name
Update fabric-player-tracking-api-v1/src/main/java/net/fabricmc/fabric/api/networking/player/tracking/v1/package-info.java
Co-authored-by: Erlend Åmdal <erlend@aamdal.com>
Remove exceptions from javadoc that are not thrown
javadoc fix again
Handle a case where the player manager happens to be null
rename player tracking to player lookup
Yeet
* Cherrypick #1092
* Remove some redundant client networking methods, rename `(un)register` to `(un)registerReceiver`
* Simplify access to dynamic reg on client
* Param shifting, let users get sender.
* Warning about time and distance units
* Make sure these are client only
* Fix control flow in ClientPlayNetworking#send
* Correct example code javadoc
* javadoc correction in server login
* Put login delay tests behind system property
Also remove unnecessary junk added by old module that was merged together.
* Fix ordering so channel registrations during `PHASE`_INIT work
* Fix prod bug and an oversight
* Fix login when connecting to dedicated server
* Update registry sync to v0 to prevent issue with reg sync hanging client
* this is done
2020-12-05 14:06:42 -05:00
|
|
|
include 'fabric-networking-api-v1'
|
2019-05-11 17:48:33 -04:00
|
|
|
include 'fabric-networking-blockentity-v0'
|
2020-04-29 17:48:08 -04:00
|
|
|
include 'fabric-object-builder-api-v1'
|
2019-05-11 17:48:33 -04:00
|
|
|
include 'fabric-object-builders-v0'
|
2019-09-29 21:21:38 -04:00
|
|
|
include 'fabric-particles-v1'
|
2019-05-11 17:48:33 -04:00
|
|
|
include 'fabric-registry-sync-v0'
|
2019-05-18 16:25:27 -04:00
|
|
|
include 'fabric-renderer-api-v1'
|
2019-09-18 18:24:15 -04:00
|
|
|
include 'fabric-renderer-indigo'
|
2019-09-28 21:07:04 -04:00
|
|
|
include 'fabric-renderer-registries-v1'
|
2019-05-11 17:48:33 -04:00
|
|
|
include 'fabric-rendering-v0'
|
2019-12-28 10:29:04 -05:00
|
|
|
include 'fabric-rendering-v1'
|
2019-05-18 16:25:27 -04:00
|
|
|
include 'fabric-rendering-data-attachment-v1'
|
2019-05-17 17:24:37 -04:00
|
|
|
include 'fabric-rendering-fluids-v1'
|
2019-05-11 17:48:33 -04:00
|
|
|
include 'fabric-resource-loader-v0'
|
2020-06-15 17:00:54 -04:00
|
|
|
include 'fabric-screen-handler-api-v1'
|
2020-08-21 12:22:57 -04:00
|
|
|
include 'fabric-structure-api-v1'
|
2019-05-11 17:48:33 -04:00
|
|
|
include 'fabric-tag-extensions-v0'
|
|
|
|
include 'fabric-textures-v0'
|
2020-04-21 23:30:02 -04:00
|
|
|
include 'fabric-tool-attribute-api-v1'
|