mirror of
https://github.com/FabricMC/fabric.git
synced 2024-11-26 09:38:08 -05:00
1d561d2678
* Entity Events v1.
First up is an event fired after a living entity is damaged. All vanilla living entities except armor stands work with this event.
* Events related to killing of entities, changing world, player respawn/copyFrom
Death related:
an entity killing something and an entity being killed by an adversary
Player related:
After respawn, copy to
* Adversary stuff isn't needed
* checkstyle again
* Call AFTER_KILLED_OTHER on a ServerPlayerEntity upon death.
* Add event which is fired when a player first joined a server and add functional interface annotations
* Update build.gradle
* mispelled
* Some renames, test events, drop damage event
Damage events need further consideration in future
* Comments and null check
* Update for mappings
* Warning comment
* Remove first join event and teleport helper
First join does not work atm and teleport is in dimensions pr
* Module dependencies
* Javadoc tweaks
* The serverening
(cherry picked from commit 79b23bee5b
)
10 lines
244 B
Groovy
10 lines
244 B
Groovy
archivesBaseName = "fabric-entity-events-v1"
|
|
version = getSubprojectVersion(project, "1.0.0")
|
|
|
|
moduleDependencies(project, [
|
|
'fabric-api-base'
|
|
])
|
|
|
|
dependencies {
|
|
testmodCompile project(path: ':fabric-command-api-v1', configuration: 'dev')
|
|
}
|