Add back zombie awareness

This commit is contained in:
Mateusz Słodkowicz 2025-09-13 22:37:13 +02:00
parent c8c6b95383
commit 5ce243dc21
Signed by: materus
GPG Key ID: 28D140BCA60B4FD1
10 changed files with 169 additions and 494 deletions

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,8 @@
#General mod settings
[general]
#-
client_renderBlood = true
#-
client_debugSensesVisual = false

View File

@ -0,0 +1,35 @@
#General mod settings
[general]
#Spawn sound sense sources for monsters to track
awareness_Sound = true
#Spawn scent/blood sense sources for monsters to track
awareness_Scent = true
#Monsters see light near player and move towards it
awareness_Light = true
#Growling zombies attracts other zombies
noisyZombies = true
#Pistons cause sound sense sources attracting monsters
noisyPistons = true
#Causes monsters to horde up and wander the surface together to random points
wanderingHordes = true
#How often in seconds we set a random point around a player for mobs to wander to from far away. Makes mobs path around more, dont use if you have TPS performance issues.
#Range: > -2147483648
frequencyOfWanderingHordesPerPlayer = 30
#How loud sounds should be when you are alerted that a mob is coming to investigate an area near you
#Range: -1.7976931348623157E308 ~ 1.7976931348623157E308
soundVolumeInvestigate = 0.0
#How loud sounds should be for a mob targetting you
#Range: -1.7976931348623157E308 ~ 1.7976931348623157E308
soundVolumeAlertTarget = 0.0
#Enhanced mobs will make a sound when they target you
soundAlerts = false
#Any hostile mob that targets you will make a sound, even if not enhanced
soundAlertsForAllAttackingMobs = false
#Enhanced mobs will make a sound when they are investigating a sense near you
soundInvestigates = false
#Uses a different kind of mob alert noise, might break immersion a bit ;)
soundUseAlternateAlertNoise = false
#Only spawn sound sense entities in Overworld
awareness_Sound_OverworldOnly = false

View File

@ -0,0 +1,67 @@
#General mod settings
[general]
#Max awareness range for zombies
#Range: > -2147483648
maxPFRangeSense = 128
#Prevent non zombies from being attracted to light
awareness_Light_OnlyZombies = true
#Custom targetting sight range on top of vanilla sight based targetting
#Range: > -2147483648
sightRange = 16
#Always target closest player [performance sensitive]
omniscient = false
#skips line of sight check on targetting [performance sensitive]
seeThroughWalls = false
#Effects how far monsters will sense scents from
#Range: > -2147483648
scentStrength = 60
#Effects how far monsters will sense sound sources from
#Range: > -2147483648
soundStrength = 60
#max rate of spawning sound sources in milliseconds
#Range: > -2147483648
frequentSoundThreshold = 1000
#Range of extra random speed to give a zombie for extra spawns and zombie duplications, eg: 0 = no boost, 1 = up to double speed (works for my extra spawned mobs only)
#Range: -1.7976931348623157E308 ~ 1.7976931348623157E308
zombieRandSpeedBoost = 0.3
#The amount of delay in game ticks between processing mobs with enhanced AI, less is more frequent [performance sensitive]
#Range: > -2147483648
tickRateAILoop = 5
#how frequently the mod iterates all players, effects rates, less is more frequent
#Range: > -2147483648
tickRatePlayerLoop = 20
#How long before a mob can move around again to track a light source, or scent, or sound, increase number to reduce performance impact of mod if needed
#Range: > -2147483648
tickCooldownBetweenPathfinds = 300
#How likely zombies making noise near you will attract other zombies, higher = less likely, 0 = every time they make a noise
#Range: > -2147483648
noisyZombiesReinforceOddsTo1 = 5
#-
debugConsole = false
#-
debugConsoleOmniscient = false
#-
debugConsoleSuperDetailed = false
#Minimum distance required between active sense sources, prevents spamming sources [performance sensitive]
#Range: -1.7976931348623157E308 ~ 1.7976931348623157E308
extraScentCutoffRange = 3.0
#Max strength allowed for a sense, in case senses get a super high base strength or large buff
#Range: > -2147483648
senseMaxStrength = 300
#Days before all of the mods features will be activated
#Range: -1.7976931348623157E308 ~ 1.7976931348623157E308
daysBeforeFeaturesActivate = 0.0
#Block breaks cause sound senses to spawn
blockBreakEvent_Active = true
#Block mining before it breaks cause sound senses to spawn
blockHittingEvent_Active = true
#Odds of hitting a block causing a sound sense, rolled per tick
#Range: > -2147483648
blockHittingEvent_OddsTo1 = 20
#Only spawn sound senses for players, if false, machines and other things will cause them too
blockBreakEvent_PlayersOnly = false
#Every 2 seconds, the percent chance a mob has to look for an active sense in range, 100 = nearly instant, 10 = slowly over time, performance sensitive setting, higher = more frequent pathfind attempts
#Range: > -2147483648
findSense_PercentChance = 10

View File

@ -0,0 +1,8 @@
#General mod settings
[general]
#Mobs enhanced by zombie awareness
enhancedMobs = ["minecraft:zombie", "minecraft:husk", "minecraft:creeper", "minecraft:skeleton", "minecraft:stray", "minecraft:witch", "minecraft:zombie_villager"]
#This is a list to use as a reference for your modpack for mobs you might want to enhance, if these mobs also walk on the ground, they will probably work if you add them to enhancedMobs
enhanceableMobs = ["minecraft:blaze", "minecraft:cave_spider", "minecraft:creeper", "minecraft:drowned", "minecraft:elder_guardian", "minecraft:ender_dragon", "minecraft:enderman", "minecraft:endermite", "minecraft:evoker", "minecraft:ghast", "minecraft:giant", "minecraft:guardian", "minecraft:hoglin", "minecraft:husk", "minecraft:illusioner", "minecraft:magma_cube", "minecraft:phantom", "minecraft:piglin", "minecraft:piglin_brute", "minecraft:pillager", "minecraft:ravager", "minecraft:shulker", "minecraft:silverfish", "minecraft:skeleton", "minecraft:slime", "minecraft:spider", "minecraft:stray", "minecraft:vex", "minecraft:vindicator", "minecraft:warden", "minecraft:witch", "minecraft:wither", "minecraft:wither_skeleton", "minecraft:zoglin", "minecraft:zombie", "minecraft:zombie_villager", "minecraft:zombified_piglin", "gravestone:player_ghost", "minecolonies:barbarian", "minecolonies:archerbarbarian", "minecolonies:chiefbarbarian", "minecolonies:pirate", "minecolonies:archerpirate", "minecolonies:chiefpirate", "minecolonies:mummy", "minecolonies:archermummy", "minecolonies:pharao", "minecolonies:amazon", "minecolonies:amazonspearman", "minecolonies:amazonchief", "minecolonies:shieldmaiden", "minecolonies:norsemenarcher", "minecolonies:norsemenchief", "minecolonies:drownedpirate", "minecolonies:drownedarcherpirate", "minecolonies:drownedchiefpirate", "minecolonies:campbarbarian", "minecolonies:camparcherbarbarian", "minecolonies:campchiefbarbarian", "minecolonies:camppirate", "minecolonies:camparcherpirate", "minecolonies:campchiefpirate", "minecolonies:campamazon", "minecolonies:campamazonspearman", "minecolonies:campamazonchief", "minecolonies:campmummy", "minecolonies:camparchermummy", "minecolonies:camppharao", "minecolonies:campshieldmaiden", "minecolonies:campnorsemenarcher", "minecolonies:campnorsemenchief", "minecolonies:campdrownedpirate", "minecolonies:campdrownedarcherpirate", "minecolonies:campdrownedchiefpirate", "vanillabackport:creaking", "ars_nouveau:wilden_hunter", "ars_nouveau:wilden_stalker", "ars_nouveau:wilden_guardian", "ars_nouveau:wilden_boss", "ars_elemental:fire_mage", "ars_elemental:water_mage", "ars_elemental:air_mage", "ars_elemental:earth_mage", "ars_elemental:summon_vhex", "alexsmobs:bone_serpent", "alexsmobs:bone_serpent_part", "alexsmobs:crimson_mosquito", "alexsmobs:centipede_head", "alexsmobs:mimicube", "alexsmobs:soul_vulture", "alexsmobs:guster", "alexsmobs:warped_mosco", "alexsmobs:straddler", "alexsmobs:dropbear", "alexsmobs:void_worm", "alexsmobs:void_worm_part", "alexsmobs:rocky_roller", "alexsmobs:skelewag", "alexsmobs:farseer", "alexsmobs:murmur", "alexsmobs:murmur_head", "savage_and_ravage:skeleton_villager", "savage_and_ravage:griefer", "savage_and_ravage:trickster", "savage_and_ravage:iceologer", "savage_and_ravage:executioner", "endergetic:charger_eetle", "endergetic:glider_eetle", "endergetic:brood_eetle", "upgrade_aquatic:thrasher", "upgrade_aquatic:great_thrasher", "upgrade_aquatic:flare", "quark:forgotten", "quark:wraith", "create_sa:brass_drone"]

View File

@ -0,0 +1,12 @@
#General mod settings
[general]
#Uses list of people to have omniscient targetting effect
whiteListUsedOmniscient = false
#Uses list of people to have senses spawned for
whiteListUsedSenses = false
#List of people to have omniscient targetting effect
whitelistOmniscientTargettedPlayers = "Corosus, SomeDude"
#List of people to have senses spawned for
whitelistSenses = "Corosus, SomeDude"

View File

@ -315,10 +315,6 @@ hash = "f85d096050d7f762e84eafd756599ba7a6468e37df45843ee119d0071c8c714f"
file = "config/sodiumextras-client.toml" file = "config/sodiumextras-client.toml"
hash = "a6d1a2d26e596953c4b93e19c593ffc7d5d7359cb3a5cfcaad61c0c0e2bd7a2c" hash = "a6d1a2d26e596953c4b93e19c593ffc7d5d7359cb3a5cfcaad61c0c0e2bd7a2c"
[[files]]
file = "config/soundattract-common.toml"
hash = "900e6fdf9b3695470421b0f2f431c6dbdb441cee39c26b450bee1eb3b4307fdf"
[[files]] [[files]]
file = "config/sparsestructures.json5" file = "config/sparsestructures.json5"
hash = "9b2e5442da12a3fe3239825a25e09394ef95d917b5e5a11de9c4d39227a9b2a9" hash = "9b2e5442da12a3fe3239825a25e09394ef95d917b5e5a11de9c4d39227a9b2a9"
@ -355,6 +351,26 @@ hash = "cf83d2963af54f8d4f9ed6378b5cba3ed04ac6dfee36a814970aad6e40d1ef99"
file = "config/waystones-common.toml" file = "config/waystones-common.toml"
hash = "3956169e4f69eecbf0c56aab31e3a53bc723be439557f610e1e5bd235af022e1" hash = "3956169e4f69eecbf0c56aab31e3a53bc723be439557f610e1e5bd235af022e1"
[[files]]
file = "config/zombieawareness/ClientConfig.toml"
hash = "97ffa3854e27b7fac0de477bb55553676eb7fe1123bfcd89c0df7218f1de1dae"
[[files]]
file = "config/zombieawareness/Features.toml"
hash = "02b93fd5d6f64f680b3c68c31cf913813692aa54bd536f9dcbf69dfb24052f0f"
[[files]]
file = "config/zombieawareness/General.toml"
hash = "296a90350caf180aafa2d4be57119ecf034cf6a4695b183f27f6033e04cb3bc7"
[[files]]
file = "config/zombieawareness/MobLists.toml"
hash = "d239c90314701613d0366598c0ba23c26aa34573f6f67b81f8b471d7574f8c33"
[[files]]
file = "config/zombieawareness/PlayerRulesAndLists.toml"
hash = "0c9cb7ce493414f2a4b846417db297b8c24ec9950e5e2630d1cfff387568f5ae"
[[files]] [[files]]
file = "defaultconfigs/create-server.toml" file = "defaultconfigs/create-server.toml"
hash = "d3eae35956575f4602638eba97a6b078973f4b2cb507c82b4e60f9cefe6e542e" hash = "d3eae35956575f4602638eba97a6b078973f4b2cb507c82b4e60f9cefe6e542e"
@ -563,11 +579,6 @@ file = "mods/asyncparticles.pw.toml"
hash = "d635c91caf90f0b2093a3a6e6c0ec730c6a63ef33005e9ae33fd3c943a1ec8dd" hash = "d635c91caf90f0b2093a3a6e6c0ec730c6a63ef33005e9ae33fd3c943a1ec8dd"
metafile = true metafile = true
[[files]]
file = "mods/attract-to-sound.pw.toml"
hash = "9720d3412ffdce6c9a4f8c254f8380a3cbd94582a5855e7ffb9f8fd32f6e28bd"
metafile = true
[[files]] [[files]]
file = "mods/automobility.pw.toml" file = "mods/automobility.pw.toml"
hash = "e0b0d4ffb66d813a4e6da0910d8e050bbfd8e16731dacb78fc5478029932c473" hash = "e0b0d4ffb66d813a4e6da0910d8e050bbfd8e16731dacb78fc5478029932c473"
@ -2797,6 +2808,11 @@ file = "mods/zeta.pw.toml"
hash = "4bcf74d4569def60ca031d565350952c2edcc420f26278bc7997654a77b6fb4d" hash = "4bcf74d4569def60ca031d565350952c2edcc420f26278bc7997654a77b6fb4d"
metafile = true metafile = true
[[files]]
file = "mods/zombie-awareness.pw.toml"
hash = "7a4b8e290aa6cd5602482fce48c71a2822a2380f35a586cd7444b3f1680629e8"
metafile = true
[[files]] [[files]]
file = "mods/zombie-horse-spawn.pw.toml" file = "mods/zombie-horse-spawn.pw.toml"
hash = "41e9844d70e61b06c0c79d4b23b1b34aa31a23d5256e8c203d6ec5bc8a4649ef" hash = "41e9844d70e61b06c0c79d4b23b1b34aa31a23d5256e8c203d6ec5bc8a4649ef"

View File

@ -1,13 +0,0 @@
name = "Attract to Sound ([NEO]Forge/Fabric): Sound & Stealth."
filename = "forge_soundattract_1.20.1-4.1.1.jar"
side = "both"
[download]
url = "https://cdn.modrinth.com/data/zZluixcp/versions/2wOb7UrM/forge_soundattract_1.20.1-4.1.1.jar"
hash-format = "sha512"
hash = "b4098e399d205a85d51d66ffaa502f6dadfd92f30c73621d3b9c3505808540415ec14b7551853330f80cddf6bccf43ac8731de3eabffd66e6ebf40eccf20a159"
[update]
[update.modrinth]
mod-id = "zZluixcp"
version = "2wOb7UrM"

View File

@ -0,0 +1,13 @@
name = "Zombie Awareness"
filename = "zombieawareness-1.20.1-1.13.1.jar"
side = "both"
[download]
url = "https://cdn.modrinth.com/data/mMTOWOaA/versions/vmo9rLxO/zombieawareness-1.20.1-1.13.1.jar"
hash-format = "sha512"
hash = "16f33ffaa52c208c4239a35bc2ce268e0b56bec81d37a6120aa7708e64d806399c115d54d915f03c88bf9e44fdea01b0dc201816cd0ffd2f96601ae2ba3db337"
[update]
[update.modrinth]
mod-id = "mMTOWOaA"
version = "vmo9rLxO"

View File

@ -6,7 +6,7 @@ pack-format = "packwiz:1.1.0"
[index] [index]
file = "index.toml" file = "index.toml"
hash-format = "sha256" hash-format = "sha256"
hash = "121d920fc85ca0f2b7abb57db24b376aa7de6ab09889a74ceaf2a1ea8c098bec" hash = "bbae5fc9dcbbabefeb52057a8a77b49f0d25be97d9223c87f1963994618a6d4f"
[versions] [versions]
forge = "47.4.8" forge = "47.4.8"