Skip to content
This repository has been archived by the owner on Feb 11, 2024. It is now read-only.

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
SiverDX committed Jul 21, 2023
1 parent 8c83d81 commit d3c6bc8
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 15 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,17 @@
* Fixed some issues
* Scuffed climbing (has no animation)
* Cave Dweller has depth strider
* Configs
* Configs (spawn timer, attributes, some behaviour parts, etc.)

Requires GeckoLib: https://www.curseforge.com/minecraft/mc-mods/geckolib/files?version=1.19.2&gameVersionTypeId=1

Recommend using https://www.curseforge.com/minecraft/texture-packs/creepier-cave-dwellers
* You will need to rename `assets\cavenoise` to `assets\cave_dweller`
* Delete everything except the `geo` and `textures` directories

Requires GeckoLib: https://www.curseforge.com/minecraft/mc-mods/geckolib/files?version=1.19.2&gameVersionTypeId=1

# TODO
* Add chance to flee when its on fire?
* Extinguish light sources in a certain radius around the mob?
* When looking at it for too long chase anyway independent of distance to target
* More configs?
* Disable climbing
* Modify action chance (when staring timer is finished)
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ geckolib_mc_version=1.19
mod_id=cave_dweller
mod_name=cave_dweller
mod_license=MIT
mod_version=1.2.0
mod_version=1.2.1
mod_group_id=de.cadentem
mod_authors=
mod_description=
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public void tick() {
mob.discard();
}

tickFleeClock();
--ticksUntilFlee;
tickStareClock();

if (ticksUntilFlee <= 0.0F) {
Expand Down Expand Up @@ -102,10 +102,6 @@ public void tickStareClock() {
}
}

void tickFleeClock() {
--ticksUntilFlee;
}

public void fleeTick() {
if (fleePath == null) {
setFleePath();
Expand Down
7 changes: 2 additions & 5 deletions src/main/resources/cave_dweller.mixins.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
{
"minVersion": "0.8",
"compatibilityLevel": "JAVA_17",
"package": "de.cadentem.cave_dweller.mixin",
"compatibilityLevel": "JAVA_8",
"refmap": "cave_dweller.refmap.json",
"mixins": [
"MixinGroundPathNavigation",
"MixinLivingEntity"
],
"client": [
],
"injectors": {
"defaultRequire": 1
}
]
}

0 comments on commit d3c6bc8

Please sign in to comment.