fabric/fabric-entity-events-v1/build.gradle
Juuxel 8a9f12e01d
Add sleeping events (#1633)
* Add sleeping events

* Fix wake up event triggering on every wakeUp() call

* Make direction modifications stackable

* Simplify by not using Optional in MODIFY_SLEEPING_DIRECTION

* Add two new events

* Let's call it VERIFY_BED

* And it's ALLOW_BED now

* Add the rest of the events

* Clarify docs

* Expand docs, add missing vanillaResult

* WAKE_UP -> STOP_SLEEPING, javadoc

* Make sleepingPos checks more consistent in LivingEntityMixin
2021-08-24 17:44:12 +01:00

12 lines
426 B
Groovy

archivesBaseName = "fabric-entity-events-v1"
version = getSubprojectVersion(project, "1.2.0")
moduleDependencies(project, [
'fabric-api-base'
])
dependencies {
testmodImplementation project(path: ':fabric-command-api-v1', configuration: 'dev')
testmodImplementation project(path: ':fabric-networking-api-v1', configuration: 'dev')
testmodImplementation project(path: ':fabric-registry-sync-v0', configuration: 'dev')
}