This repository has been archived by the owner on May 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Move collectPrefabs and deepInstance into Geary
fix: Mark entities with SetMythicMob as CustomMob fix: Apply NMS plugin in root project (seems otherwise some classes aren't found, perhaps referencing wrong MC version?)
- Loading branch information
Showing
8 changed files
with
22 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[versions] | ||
gearyPaper = "0.30.1-dev.5" | ||
gearyPaper = "0.30.1-dev.9" | ||
|
||
[libraries] | ||
geary-papermc = { module = "com.mineinabyss:geary-papermc", version.ref = "gearyPaper" } |
17 changes: 17 additions & 0 deletions
17
...tegrations/src/main/kotlin/com/mineinabyss/mobzy/mythicmobs/spawning/MarkMMAsCustomMob.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.mineinabyss.mobzy.mythicmobs.spawning | ||
|
||
import com.mineinabyss.geary.autoscan.AutoScan | ||
import com.mineinabyss.geary.modules.GearyModule | ||
import com.mineinabyss.geary.papermc.tracking.entities.components.CustomMob | ||
import com.mineinabyss.geary.systems.builders.listener | ||
import com.mineinabyss.geary.systems.query.ListenerQuery | ||
|
||
@AutoScan | ||
fun GearyModule.markMMAsCustomMob() = listener( | ||
object : ListenerQuery() { | ||
val mobType by get<SetMythicMob>() | ||
override fun ensure() = event.anySet(::mobType) | ||
} | ||
).exec { | ||
entity.add<CustomMob>() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 0 additions & 30 deletions
30
...ning/src/main/kotlin/com/mineinabyss/mobzy/spawning/conditions/MobCapHasSpaceCondition.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters