Михаил

non client side 1.21.11 mod, also wither will have his flying speed doubled, and he will insta break any block on his path, it will do double damage and give the double the withering effect, also zombies will diable the shield, skeletons will have speed 2 and they will strafe around you trying to dodge ur hits, zobies will attack in groups, all mobs will have double health, ender dragon should attack you ike fly on you and attack u not just fly, dragon will have double the speed and he will shoot moore moooore often and faster with his dragon balls, he will also summon 3-5 shulker that will attack you and then dispawn after 20 seconds, also dragon will also spawn endermans

📎 1 file 1,082 chars
📄
pasted-code-1790831181495.txt
txt 3 lines
▶
make me a non-client side mod, that is called "Dangerous dungeons" that will make zombies always have speed 2 and strength 1 effect, they will break blocks between then and player (exxcept unbreakable blocks like bedrock or barrier) they will break then with the speed or a player with. haste 2, zobies will have much higher chance to spawn with a tool or a weapon (from stone to diamond) and zobies must have at least one peace of armor (leather, chaimnail, iron, copper, diamond) they will get the armor and weapon more often, also spawn much much often, in caves and at night. Creepers will have speed 2 effect and explosion like 2 tnt minecrats, so like big. Warden will break blocks in front of him and the player, with extreme speed and warden will have speed 2 and strength 3, also warden's sonic bloom should have a 60 block radius. And warden can argo on a player even if a player is an 80 blocks away, skeletons will have a 70% chance to spawn with a bow that shoots arrows and they strictly go right into player "aimbot bows" also there will be more skeletons spawning.

Kodari AI
KodariOct 1 at 5:26 am 7
DangerousDungeons
Dangerous Dungeons is a non-client side Minecraft Fabric mod that dramatically increases mob difficulty and aggression. Zombies gain speed 2 and strength 1, break blocks toward players with haste 2 speed, spawn more frequently with tools and armor, and attack in coordinated groups. Creepers explode with double TNT power and move at speed 2. Wardens break blocks rapidly, have speed 2 and strength 3, detect players from 80 blocks away, and their sonic blasts reach 60 blocks. Skeletons spawn with aimbot bows, strafe to dodge attacks, and have speed 2. All mobs have double health. The Wither moves at double speed, instantly breaks blocks, deals double damage with double withering effect. The Ender Dragon attacks aggressively by diving onto players, has double speed, fires projectiles more frequently and faster, summons 3-5 attacking shulkers that despawn after 20 seconds, and spawns endermen during the fight.
  1. Create the server-only Fabric project and shared mob-tick framework, including the zombie/skeleton/creeper/warden/wither changes.

  2. Add the Ender Dragon’s charge attacks, faster projectiles, and temporary shulker/enderman summons.

  3. Add the requested spawn and equipment increases, then wire resources and metadata.

  1. Core mob enhancements are in place, including health scaling, undead combat behavior, Warden range, and stronger Wither/Creeper attacks.

  2. Next I’m adding the dragon attack cycle and timed summons.

Created Dangerous Dungeons, a server-only Fabric 1.21.11 mod.

  • Doubles mob health; buffs zombies, skeletons, creepers, Wardens, and the Wither. Zombies get guaranteed armor and an 85% weapon chance; skeletons get a 70% bow chance with homing arrows and strafing.

  • Adds undead bonus spawns, block-breaking for zombies and Wardens, instant Wither block-breaking, shield disruption, a larger creeper blast, and 60-block Warden sonic-boom range.

  • Makes the Ender Dragon faster and more aggressive, adds fast fireballs, and summons attacking shulkers that despawn after 20 seconds plus Endermen.

Михаил

☠️ Обычные мобы Все враждебные мобы получают Speed II–III, Strength II. Мобы видят игрока через стены в радиусе 50–80 блоков. Если один моб обнаружил игрока — ближайшие мобы тоже получают цель. Мобы не теряют агро при отходе игрока за угол. Враждебные мобы могут открывать/ломать двери и люки. Мобы получают повышенный радиус подбора предметов и оружия. Ночью спавн увеличивается в несколько раз. 🧟 Зомби — осада Ломают камень, доски и слабые блоки на пути к игроку. При обнаружении игрока начинают собираться огромными группами. Чем дольше длится бой, тем больше зомби приходит. Редкие зомби получают топор + щит + броню. Зомби могут появляться прямо во время осады. 💀 Скелеты — вообще без шансов Стреляют намного быстрее. Используют стрейф + отступление + окружение. Стрелы могут иметь эффекты:

Slowness Weakness Poison Blindness Часть скелетов использует арбалеты. Дальность атаки сильно увеличена. 💣 Криперы Speed III. Радиус обнаружения сильно увеличен. Могут делать рывок перед взрывом. Заряженные криперы становятся редкими «смертельными» мобами. Взрыв оставляет после себя несколько дополнительных криперов. 👁️ Эндермены Телепортируются за игрока, а не только вокруг него. Могут телепортировать игрока на несколько блоков при атаке. При убийстве одного есть шанс вызвать ещё несколько. Во время боя появляются дополнительные эндермены. 🕳️ Вардены

Тут можно совсем переборщить:

Speed III Strength V Resistance II огромный радиус обнаружения; ломают блоки практически мгновенно; Sonic Boom проходит через стены; несколько вардёнов могут одновременно получить агро; при обнаружении игрока появляется второй/третий через некоторое время. 🔥 Ад

Сделать Nether практически постоянной зоной опасности:

Ghast быстрее и чаще стреляют.

Blaze выпускают серии огненных шаров.

Piglin Brutes получают улучшенное оружие.

Magma Cubes значительно быстрее. Во время боя могут появляться дополнительные мобы. ☠️ Wither — настоящий рейд-босс Speed IV Strength III–V Resistance мгновенное разрушение блоков; постоянно преследует ближайшего игрока; значительно больше черепов; черепа быстрее; при половине HP начинает призывать дополнительные враждебные мобы; при низком HP получает ещё один режим ярости. 🐉 Ender Dragon — финальный кошмар

Я бы сделал несколько фаз:

Фаза 1: обычная атака + быстрые пикирования.

Фаза 2 (50% HP):

скорость увеличивается; больше снарядов; начинает постоянно атаковать игрока; появляются Shulkers; появляются Endermen.

Фаза 3 (20% HP):

максимальная скорость; частые пикирования; разрушает больше блоков; дополнительные снаряды; регулярно вызывает группы мобов; появляются несколько усиленных Shulkers.

Финальная фаза:

Дракон становится значительно агрессивнее и практически перестаёт давать игроку время восстановиться.

И самое жёсткое изменение я бы сделал глобальным:

☠️ DIFFICULTY ESCALATION

Чем дольше игрок находится в мире, тем сильнее становятся мобы.

Например:

0–1 час: обычная сложность 1–3 часа: усиленные мобы 3–6 часов: элитные мобы начинают появляться 6+ часов: максимальная агрессия

То есть мир постепенно становится хуже, вместо того чтобы игрок просто однажды получил хорошую броню и перестал бояться мобов.

Kodari AI
KodariOct 1 at 5:47 am 8
  1. Усилю общую систему враждебных мобов: эффекты, дальнее обнаружение, агро групп, двери и подбор предметов.

  2. Добавлю осадные и боевые особенности зомби, скелетов и криперов.

  3. Настрою эндерменов, вардена и опасных мобов Незера/иссушителя.

  4. Переведу дракона на фазы и добавлю эскалацию сложности по времени мира.

Добавил изменения в Dangerous Dungeons как серверную логику Fabric-мода:

  1. Обычные враждебные мобы: Speed II–III и Strength II, обнаружение игроков и агро до 80 блоков, передача цели ближайшим мобам, открытие дверей и люков, увеличенный радиус подбора предметов.

  2. Осадные и боевые мобы: зомби собирают подкрепления по ходу боя, редкие элитные зомби получают топор, щит и броню; скелеты быстрее стреляют, стрейфят, используют арбалеты и стрелы с эффектами; криперы ускоряются при подрыве, иногда бывают заряженными и оставляют новых криперов.

  3. Эндермены, Варден, Незер и Иссушитель: эндермены телепортируются за игрока, могут отбрасывать телепортацией и призывать сородичей; Варден ломает блоки почти мгновенно, его Sonic Boom проходит сквозь стены, со временем появляются новые Вардены; усилены мобы Незера, а Иссушитель чаще и быстрее стреляет, призывает подкрепления и усиливается на низком здоровье.

  4. Фазы дракона: атаки, скорость снарядов и частота призывов возрастают на порогах 50%, 20% и 10% здоровья; в финальной фазе дракон не уходит на посадку и продолжает атаковать.

  5. Эскалация сложности: усиление мобов и вероятность подкреплений растут по игровому возрасту мира: после 1, 3 и 6 часов.

Михаил

Привет! Dangerous Dungeons не грузится вообще, мод не срабатывает в игре.

Я посмотрел fabric.mod.json — там "environment": "server", то есть мод специально сделан только для выделенного сервера и не включается в одиночной игре (интегрированный сервер). Это баг или так и задумано? Если это должно работать и в сингле, можешь поменять на "environment": "*"?

Заодно уточни:

Под какую версию Fabric Loader и Fabric API он собран (в манифесте указано fabric-loader >=0.19.2, minecraft ~1.21.11)?

Fabric API обязателен ("fabric-api":"*") — мне его тоже ставить отдельным файлом в mods/?

Kodari AI
KodariOct 4 at 12:20 pm 1
  1. Проверю fabric.mod.json и сборочные версии; для работы в одиночной игре заменю environment: "server" на "*".

  2. Уточню по манифесту, какие минимальные версии Loader и Minecraft указаны.

  3. Проверю, обязателен ли Fabric API и нужно ли ставить его отдельно.

Изменил в fabric.mod.json "environment": "server" на "environment": "*". Теперь мод допускается к загрузке на клиенте, в том числе в одиночной игре с интегрированным сервером.

По настройкам проекта:

  • Minecraft: 1.21.11 (~1.21.11 в манифесте).

  • Fabric Loader: сборка настроена на 0.19.2; манифест требует >=0.19.2.

  • Fabric API: версия сборки — 0.141.4+1.21.11. Да, он обязателен ("fabric-api": "*"), поэтому установите Fabric API отдельно в папку mods/ вместе с модом.

Михаил

$ kodari build

Kodari AI
KodariOct 4 at 12:23 pm 1

$ kodari build в терминале вводить не нужно. Чтобы собрать мод в Kodari:

  1. Нажмите Compile в верхней панели (на телефоне: ⋮ → Compile Project).

  2. В открывшемся окне нажмите Compile.

  3. После успешной сборки нажмите Download.

Михаил

сделай так чтоб мобы были всегда максимально сильными без ждания

Kodari AI
KodariOct 4 at 12:27 pm 1

План:

  1. Зафиксировать максимальный уровень усиления с первого тика, без ожидания возраста мира.

  2. Убрать случайность максимального ускорения и выдавать эффекты сразу, а не ждать периодического обновления.

Теперь уровень усиления всегда максимальный с первого тика, независимо от возраста мира. Максимальное ускорение больше не зависит от случайности, а эффекты выдаются сразу — без ожидания периодического обновления.

Михаил
📎 1 file 14,823 chars
📄
pasted-code-1791119206621.txt
txt 264 lines
▶
---- Minecraft Crash Report ----
// Don't be sad, have a hug! <3

Time: 2026-10-04 17:06:02
Description: Bootstrap

java.lang.BootstrapMethodError: java.lang.RuntimeException: Mixin transformation of net.minecraft.class_1528 failed
	at knot//net.minecraft.class_2246.(class_2246.java:604)
	at knot//net.minecraft.class_2358.method_10199(class_2358.java:326)
	at knot//net.minecraft.class_2966.method_12851(class_2966.java:57)
	at knot//net.minecraft.client.main.Main.main(Main.java:135)
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:517)
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:72)
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
Caused by: java.lang.RuntimeException: Mixin transformation of net.minecraft.class_1528 failed
	at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:440)
	at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:336)
	at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:231)
	at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:119)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
	... 7 more
Caused by: org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered
	at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:380)
	at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:237)
	at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:202)
	at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:435)
	... 11 more
Caused by: org.spongepowered.asm.mixin.injection.throwables.InjectionError: Critical injection failure: Constant modifier method dangerousdungeons$increaseMainHeadFireRate(I)I in dangerousdungeons.mixins.json:WitherEntityMixin from mod dangerousdungeons failed injection check, (0/1) succeeded. Scanned 0 target(s). No refMap loaded.
	at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.postInject(InjectionInfo.java:526)
	at org.spongepowered.asm.mixin.transformer.MixinTargetContext.applyInjections(MixinTargetContext.java:1477)
	at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyInjections(MixinApplicatorStandard.java:832)
	at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.lambda$runApplicatorPass$7(MixinApplicatorStandard.java:362)
	at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.processMixins(MixinApplicatorStandard.java:381)
	at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.runApplicatorPass(MixinApplicatorStandard.java:360)
	at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:240)
	at org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:437)
	at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:418)
	at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:351)
	... 14 more


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: main
Stacktrace:
	at knot//net.minecraft.class_2246.(class_2246.java:604)
	at knot//net.minecraft.class_2358.method_10199(class_2358.java:326)
	at knot//net.minecraft.class_2966.method_12851(class_2966.java:57)

-- Initialization --
Details:
	Modules: 
Stacktrace:
	at knot//net.minecraft.client.main.Main.main(Main.java:135)
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:517)
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:72)
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

-- System Details --
Details:
	Minecraft Version: 1.21.11
	Minecraft Version ID: 1.21.11
	Operating System: Mac OS X (aarch64) version 26.6.2
	Java Version: 25.0.4.1, Eclipse Adoptium
	Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Eclipse Adoptium
	Memory: 101787176 bytes (97 MiB) / 436207616 bytes (416 MiB) up to 2147483648 bytes (2048 MiB)
	CPUs: 10
	Processor Vendor: Apple Inc.
	Processor Name: Apple M4
	Identifier: Apple Inc. Family 0x1b588bb3 Model 0 Stepping 0
	Microarchitecture: ARM64 SoC: Firestorm + Icestorm
	Frequency (GHz): 0.00
	Number of physical packages: 1
	Number of physical CPUs: 10
	Number of logical CPUs: 10
	Graphics card #0 name: Apple M4
	Graphics card #0 vendor: Apple (0x106b)
	Graphics card #0 VRAM (MiB): 0.00
	Graphics card #0 deviceId: unknown
	Graphics card #0 versionInfo: unknown
	Memory slot #0 capacity (MiB): 0.00
	Memory slot #0 clockSpeed (GHz): 0.00
	Memory slot #0 type: unknown
	Virtual memory max (MiB): 18432.00
	Virtual memory used (MiB): 10712.41
	Swap memory total (MiB): 2048.00
	Swap memory used (MiB): 616.44
	Space in storage for jna.tmpdir (MiB): available: 156547.56, total: 471482.09
	Space in storage for org.lwjgl.system.SharedLibraryExtractPath (MiB): available: 156547.56, total: 471482.09
	Space in storage for io.netty.native.workdir (MiB): available: 156547.56, total: 471482.09
	Space in storage for java.io.tmpdir (MiB): available: 156547.56, total: 471482.09
	Space in storage for workdir (MiB): available: 156547.56, total: 471482.09
	JVM Flags: 7 total; -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
	Debug Flags: 0 total; 
	Fabric Mods: 
		catlean: CatLean 0.1.2
		client_side_anchors: Anchor Optimizer 1.0.6+1.21.X
			org_quiltmc_parsers_gson: gson 0.3.0
			org_quiltmc_parsers_json: json 0.3.0
		clientsidetiers: ClientSideTiers 1.0.0
		cloth-config: Cloth Config v20 21.11.153
			cloth-basic-math: cloth-basic-math 0.6.1
		clumps: Clumps 4.3.5
			org_lwjgl_lwjgl-msdfgen: lwjgl-msdfgen 3.3.4
			org_lwjgl_lwjgl-msdfgen_natives-linux: lwjgl-msdfgen 3.3.4
			org_lwjgl_lwjgl-msdfgen_natives-linux-arm64: lwjgl-msdfgen 3.3.4
			org_lwjgl_lwjgl-msdfgen_natives-macos: lwjgl-msdfgen 3.3.4
			org_lwjgl_lwjgl-msdfgen_natives-macos-arm64: lwjgl-msdfgen 3.3.4
			org_lwjgl_lwjgl-msdfgen_natives-windows: lwjgl-msdfgen 3.3.4
			org_lwjgl_lwjgl-msdfgen_natives-windows-arm64: lwjgl-msdfgen 3.3.4
			org_lwjgl_lwjgl-nanovg: lwjgl-nanovg 3.3.3
			org_lwjgl_lwjgl-nanovg_natives-linux: lwjgl-nanovg 3.3.3
			org_lwjgl_lwjgl-nanovg_natives-linux-arm64: lwjgl-nanovg 3.3.3
			org_lwjgl_lwjgl-nanovg_natives-macos: lwjgl-nanovg 3.3.3
			org_lwjgl_lwjgl-nanovg_natives-macos-arm64: lwjgl-nanovg 3.3.3
			org_lwjgl_lwjgl-nanovg_natives-windows: lwjgl-nanovg 3.3.3
			org_lwjgl_lwjgl-nanovg_natives-windows-arm64: lwjgl-nanovg 3.3.3
			org_xerial_sqlite-jdbc: sqlite-jdbc 3.46.1.3
		combat-hitboxes: Combat Hitboxes 1.0.10
		consumableoptimizer: Consumable Optimizer 2.2.1-1.21.5
		creamykeys: CreamyKeys 0.0.4+1.21.x
		crossbowoptimizer: Crossbow Optimizer 1.0.4+1.21.9
		crosshairaddons: Crosshair Addons 2.1.0-1.21.11
		customhitboxes: Custom Hitboxes 2.0.7-1.21.11
		dangerousdungeons: Dangerous Dungeons 1.0.0
		dd: dd 1.0.0
		e4all: e4all 2.1.2
			folk_sisby_kaleido-config: kaleido-config 0.3.3+1.3.2
		elementa: Elementa 774
		essential: Essential 1.5.0.1
		essential-container: essential-container 1.0.0
			essential-loader: essential-loader 1.3.2
		fabric-api: Fabric API 0.141.6+1.21.11
			fabric-api-base: Fabric API Base 1.0.5+4ebb5c083e
			fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.114+20dc27073e
			fabric-biome-api-v1: Fabric Biome API (v1) 17.1.1+4fc5413f3e
			fabric-block-api-v1: Fabric Block API (v1) 1.1.10+4ebb5c083e
			fabric-block-view-api-v2: Fabric BlockView API (v2) 1.0.39+4ebb5c083e
			fabric-command-api-v2: Fabric Command API (v2) 2.4.7+6b42a6003e
			fabric-content-registries-v0: Fabric Content Registries (v0) 10.2.14+4fc5413f3e
			fabric-convention-tags-v1: Fabric Convention Tags 2.1.55+7f945d5b3e
			fabric-convention-tags-v2: Fabric Convention Tags (v2) 2.17.3+8ef948ba3e
			fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.3.23+4ebb5c083e
			fabric-data-attachment-api-v1: Fabric Data Attachment API (v1) 1.8.48+eed0806f3e
			fabric-data-generation-api-v1: Fabric Data Generation API (v1) 23.5.0+88d7da613e
			fabric-dimensions-v1: Fabric Dimensions API (v1) 4.0.28+4fc5413f3e
			fabric-entity-events-v1: Fabric Entity Events (v1) 3.1.1+1d0ab4303e
			fabric-events-interaction-v0: Fabric Events Interaction (v0) 4.1.1+3b89ecf63e
			fabric-game-rule-api-v1: Fabric Game Rule API (v1) 2.0.3+4fc5413f3e
			fabric-item-api-v1: Fabric Item API (v1) 11.6.0+67f17bb43e
			fabric-item-group-api-v1: Fabric Item Group API (v1) 4.2.36+4fc5413f3e
			fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.1.7+4fc5413f3e
			fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.6.15+4ebb5c083e
			fabric-loot-api-v2: Fabric Loot API (v2) 3.0.73+3f89f5a53e
			fabric-loot-api-v3: Fabric Loot API (v3) 2.0.20+78c8b4663e
			fabric-message-api-v1: Fabric Message API (v1) 6.1.12+4ebb5c083e
			fabric-model-loading-api-v1: Fabric Model Loading API (v1) 6.0.15+4fc5413f3e
			fabric-networking-api-v1: Fabric Networking API (v1) 5.1.6+6b6d71a53e
			fabric-object-builder-api-v1: Fabric Object Builder API (v1) 21.1.40+4fc5413f3e
			fabric-particles-v1: Fabric Particles (v1) 4.2.12+4fc5413f3e
			fabric-recipe-api-v1: Fabric Recipe API (v1) 8.2.4+4ebb5c083e
			fabric-registry-sync-v0: Fabric Registry Sync (v0) 6.2.6+1718722b3e
			fabric-renderer-api-v1: Fabric Renderer API (v1) 8.0.3+f4ffd2e53e
			fabric-renderer-indigo: Fabric Renderer - Indigo 5.0.3+f4ffd2e53e
			fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.1.43+4ebb5c083e
			fabric-rendering-v1: Fabric Rendering (v1) 16.2.10+0290ad933e
			fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 5.0.35+4fc5413f3e
			fabric-resource-loader-v0: Fabric Resource Loader (v0) 3.3.4+4fc5413f3e
			fabric-resource-loader-v1: Fabric Resource Loader (v1) 1.0.10+78c8b4663e
			fabric-screen-api-v1: Fabric Screen API (v1) 3.1.7+4ebb5c083e
			fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.3.162+4fc5413f3e
			fabric-serialization-api-v1: Fabric Serialization API (v1) 1.0.5+4ebb5c083e
			fabric-sound-api-v1: Fabric Sound API (v1) 1.0.51+4fc5413f3e
			fabric-tag-api-v1: Fabric Tag API (v1) 1.3.0+88d7da613e
			fabric-transfer-api-v1: Fabric Transfer API (v1) 6.0.25+4fc5413f3e
			fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 7.1.0+014c8cec3e
		fabric-language-kotlin: Fabric Language Kotlin 1.13.12+kotlin.2.4.0
			org_jetbrains_kotlin_kotlin-reflect: kotlin-reflect 2.4.0
			org_jetbrains_kotlin_kotlin-stdlib: kotlin-stdlib 2.4.0
			org_jetbrains_kotlin_kotlin-stdlib-jdk7: kotlin-stdlib-jdk7 2.4.0
			org_jetbrains_kotlin_kotlin-stdlib-jdk8: kotlin-stdlib-jdk8 2.4.0
			org_jetbrains_kotlinx_atomicfu-jvm: atomicfu-jvm 0.33.0
			org_jetbrains_kotlinx_kotlinx-coroutines-core-jvm: kotlinx-coroutines-core-jvm 1.11.0
			org_jetbrains_kotlinx_kotlinx-coroutines-jdk8: kotlinx-coroutines-jdk8 1.11.0
			org_jetbrains_kotlinx_kotlinx-datetime-jvm: kotlinx-datetime-jvm 0.8.0
			org_jetbrains_kotlinx_kotlinx-io-bytestring-jvm: kotlinx-io-bytestring-jvm 0.9.0
			org_jetbrains_kotlinx_kotlinx-io-core-jvm: kotlinx-io-core-jvm 0.9.0
			org_jetbrains_kotlinx_kotlinx-serialization-cbor-jvm: kotlinx-serialization-cbor-jvm 1.11.0
			org_jetbrains_kotlinx_kotlinx-serialization-core-jvm: kotlinx-serialization-core-jvm 1.11.0
			org_jetbrains_kotlinx_kotlinx-serialization-json-jvm: kotlinx-serialization-json-jvm 1.11.0
		fabricloader: Fabric Loader 0.19.5
			mixinextras: MixinExtras 0.5.5
		g1axcrystaloptimizer: G1axCrystalOptimizer 1.0.3
		iris: Iris 1.10.7+mc1.21.11
			io_github_douira_glsl-transformer: glsl-transformer 3.0.0-pre3
			org_anarres_jcpp: jcpp 1.4.14
			org_antlr_antlr4-runtime: antlr4-runtime 4.13.1
		java: OpenJDK 64-Bit Server VM 25
		kastsize: KastSize 1.0.0
		malilib: MaLiLib 0.27.20
			conditional-mixin: conditional mixin 0.6.4
		minecraft: Minecraft 1.21.11
		modmenu: Mod Menu 17.0.0
		motionblurx: MotionBlurX 1.0-SNAPSHOT
		nameskinchanger: Name & Skin Changer 1.1.0
		nodeathanimation: No Death Animation 2.0.0-1.21.11
		nosigngui: NoSignGUI 4.0.0+1.21.11
		notenoughanimations: NotEnoughAnimations 1.12.3
			transition: TRansition 1.0.19
			trender: TRender 1.0.13
		org_jetbrains_annotations: annotations 13.0
		placeholder-api: Placeholder API 2.8.2+1.21.10
		ravenclawspingequalizer: RavenclawsPingEqualizer 1.5+1.21
		replaymod: Replay Mod 1.21.11-2.6.27
		shieldfixes: Shield Fixes 2.0.2-1.21.11
		silicon: Silicon 1.0.1+1.21.x
		simplenickhider: Simple Nick Hider 0.2.0
			com_moulberry_mixinconstraints: mixinconstraints 1.1.0
			mixinsquared: MixinSquared 0.3.3
		sodium: Sodium 0.8.12+mc1.21.11
		swd: Simple World Downloader 1.5.1.1+1.21.11
		tier-tagger: TierTagger 2.4.1+mc1.21.11
		tiers: Tiers 0.8.1+1.21.11
		toggle-scoreboard: Toggle Scoreboard 1.3.0
		ukulib: ukulib 1.10.2+1.21.11
			com_moandjiezana_toml_toml4j: toml4j 0.7.2
		unilib: UniLib 1.2.1
		universalcraft: UniversalCraft 534
		vexbot: VexBot 2.2.24+mc1.21.11
			org_jcodec_jcodec: jcodec 0.2.5
			org_jcodec_jcodec-javase: jcodec-javase 0.2.5
		vigilance: Vigilance 306
		vmp: Very Many Players 0.2.0+beta.7.g2ad7c56+1.21.11
			com_ibm_async_asyncutil: asyncutil 0.1.0
		voicechat: Simple Voice Chat 1.21.11-2.6.22
			voicechat_api: Simple Voice Chat API 2.6.20
		walksylib: Walksy Lib 0.9.992+1.21.11
		worldedit: WorldEdit 7.4.2+7450-eb8e82c
			worldeditcui_protocol: WorldEditCUI Protocol (Fabric) 4.0.2
		wwaypoints: wWaypoints 0.7.3
		yet_another_config_lib_v3: YetAnotherConfigLib 3.8.2+1.21.11-fabric
			com_twelvemonkeys_common_common-image: common-image 3.12.0
			com_twelvemonkeys_common_common-io: common-io 3.12.0
			com_twelvemonkeys_common_common-lang: common-lang 3.12.0
			com_twelvemonkeys_imageio_imageio-core: imageio-core 3.12.0
			com_twelvemonkeys_imageio_imageio-metadata: imageio-metadata 3.12.0
			com_twelvemonkeys_imageio_imageio-webp: imageio-webp 3.12.0
	Launched Version: fabric-loader-0.19.5-1.21.11
	Launcher name: minecraft-launcher
	Backend library: LWJGL version 3.3.3-snapshot
	Backend API: Unknown
	Window size: 
	GFLW Platform: 
	Render Extensions: ERR
	GL debug messages: 
	Is Modded: Definitely; Client brand changed to 'fabric'
	Universe: 404
	Type: Client (map_client.txt)
	Locale: en_RU
	System encoding: UTF-8
	File encoding: UTF-8
	CPU: 10x Apple M4
Kodari AI
KodariOct 4 at 1:08 pm 1

План:

  1. Перенаправить настройку скорострельности главной головы визера с конструктора на initGoals(), где находится интервал 40.

  2. Оставить ускорение боковых голов без изменений.

Исправил причину краша: миксин искал интервал 40 в конструкторе визера, но он находится в initGoals(). Перенаправил инъекцию туда; ускорение боковых голов оставил без изменений.

Пересобери мод и замени старый JAR на новый.

Михаил

why CAN I STILL SEE ZOMBIES INFININTELY SPAWNING UNDERGROUND MY GAME GOES ON 30 FPS EVEN THO I HAVE MACBOOK M4

Kodari AI
KodariOct 5 at 5:07 am 1

Found both sources: cave zombies get a 95% chance to multiply, and targeted zombies can keep summoning waves. I’m removing the cave multiplication and capping each siege to one extra zombie.

Fixed the mod’s custom zombie spawning. Cave zombies previously had a 95% chance to spawn 4–6 extra zombies, and targeted zombies could keep summoning more waves. The mod now adds no bonus zombies underground, and each eligible surface zombie can summon at most one extra zombie.

Vanilla underground spawning still works normally. The extra entities could have been dragging down FPS; an M4 can still hit 30 FPS if the game is capped at 30, running demanding shaders, or struggling with many entities.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
22 1,373
src/main/java/com/dangerousdungeons/DangerousDungeons.java
package com.dangerousdungeons;

import com.dangerousdungeons.mixin.CreeperEntityAccessor;
import com.dangerousdungeons.entity.DragonEnhancements;
import net.fabricmc.api.ModInitializer;
import net.minecraft.block.BlockState;
import net.minecraft.block.DoorBlock;
import net.minecraft.block.TrapdoorBlock;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EquipmentSlot;
import net.minecraft.entity.LivingEntity;
import net.minecraft.entity.attribute.EntityAttributeInstance;
import net.minecraft.entity.attribute.EntityAttributes;
import net.minecraft.entity.boss.WitherEntity;
import net.minecraft.entity.effect.StatusEffectInstance;
import net.minecraft.entity.effect.StatusEffects;
import net.minecraft.entity.projectile.ArrowEntity;
import net.minecraft.entity.projectile.ExplosiveProjectileEntity;
import net.minecraft.entity.mob.CreeperEntity;
import net.minecraft.entity.mob.EndermanEntity;
import net.minecraft.entity.mob.GhastEntity;
import net.minecraft.entity.mob.HostileEntity;
import net.minecraft.entity.mob.BlazeEntity;
import net.minecraft.entity.mob.MagmaCubeEntity;
import net.minecraft.entity.mob.MobEntity;
import net.minecraft.entity.mob.PiglinBruteEntity;
import net.minecraft.entity.mob.SkeletonEntity;
import net.minecraft.entity.mob.WardenEntity;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.entity.projectile.PersistentProjectileEntity;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.item.Items;
import net.minecraft.server.world.ServerWorld;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.Vec3d;
import net.minecraft.world.World;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.HashMap;
import java.util.Map;
import java.util.UUID;

public class DangerousDungeons implements ModInitializer {
    public static final String MOD_ID = "dangerousdungeons";
    public static final Logger LOGGER = LoggerFactory.getLogger(MOD_ID);
    private static final String HEALTH_TAG = MOD_ID + ":double_health";
    private static final String ZOMBIE_GEAR_TAG = MOD_ID + ":zombie_gear";
    private static final String ZOMBIE_ELITE_TAG = MOD_ID + ":zombie_elite";
    private static final String SKELETON_GEAR_TAG = MOD_ID + ":skeleton_gear";
    private static final String SKELETON_AIMBOT_TAG = MOD_ID + ":skeleton_aimbot";
    private static final String SKELETON_CROSSBOW_TAG = MOD_ID + ":skeleton_crossbow";
    private static final String SKELETON_ARROW_EFFECT_TAG = MOD_ID + ":skeleton_arrow_effect";
    private static final String CREEPER_TAG = MOD_ID + ":creeper";
    private static final String CREEPER_SPLINTER_TAG = MOD_ID + ":creeper_splinter";
    private static final String WARDEN_TAG = MOD_ID + ":warden";
    private static final String WITHER_TAG = MOD_ID + ":wither";
    private static final String END_TRANSPORT_TAG = MOD_ID + ":enderman_summon";
    private static final String WARDEN_SUMMON_TAG = MOD_ID + ":warden_summon";
    private static final String WITHER_PHASE_TWO_TAG = MOD_ID + ":wither_phase_two";
    private static final String WITHER_RAGE_TAG = MOD_ID + ":wither_rage";
    private static final String WITHER_MINION_TAG = MOD_ID + ":wither_minion";
    private static final String NETHER_SUMMON_TAG = MOD_ID + ":nether_summon";
    private static final String PIGLIN_BRUTE_TAG = MOD_ID + ":piglin_brute";
    private static final String GHAST_TAG = MOD_ID + ":ghast";
    private static final String SPAWN_CHECKED_TAG = MOD_ID + ":spawn_checked";
    private static final String BONUS_SPAWN_TAG = MOD_ID + ":bonus_spawn";
    private static final String ZOMBIE_SIEGE_TAG = MOD_ID + ":zombie_siege";
    private static final String HOSTILE_TAG = MOD_ID + ":hostile_configured";
    private static final String HOSTILE_SPEED_III_TAG = MOD_ID + ":hostile_speed_iii";
    private static final String ESCALATION_SUMMON_TAG = MOD_ID + ":escalation_summon";
    private static final Map<UUID, BlockPos> BREAKING_BLOCKS = new HashMap<>();
    private static final Map<UUID, Float> BREAK_PROGRESS = new HashMap<>();
    private static final Map<UUID, Integer> ZOMBIE_SIEGE_TICKS = new HashMap<>();
    private static final Map<UUID, Integer> WARDEN_COMBAT_TICKS = new HashMap<>();

    @Override
    public void onInitialize() {
        LOGGER.info("Dangerous Dungeons is ready.");
    }

    public static void handleEntityTick(Entity entity) {
        if (!(entity.getEntityWorld() instanceof ServerWorld world)) {
            return;
        }

        homeSkeletonArrow(entity, world);
        enhanceExplosiveProjectile(entity);
        DragonEnhancements.handleEntityTick(entity, world);
        if (!(entity instanceof MobEntity mob) || !(entity instanceof LivingEntity living)) {
            return;
        }

        if (entity instanceof HostileEntity) {
            configureHostile(entity, mob, world);
        }

        if (entity.getCommandTags().add(HEALTH_TAG)) {
            multiplyAttribute(living, EntityAttributes.MAX_HEALTH, 2.0);
            living.setHealth(living.getMaxHealth());
        }

        if (entity instanceof HostileEntity) {
            applyWorldEscalation(entity, living, mob, world);
        }

        increaseUndeadSpawns(entity, world);

        if (entity.age <= 1 || entity.age % 40 == 0) {
            applyMobEffects(entity, living, getEscalationLevel(world));
        }

        if (entity.age % 20 == 0 && entity instanceof HostileEntity) {
            acquireTarget(entity, mob, world);
        }

        if (entity.age % 10 == 0 && entity instanceof HostileEntity) {
            openDoorsTowardTarget(entity, mob, world);
        }

        if (entity.getType() == net.minecraft.entity.EntityType.ZOMBIE) {
            configureZombie(mob, world);
            updateZombieSiege(entity, mob, world);
            breakTowardPlayer(entity, world, 1.0F);
            disableNearbyShield(entity, world);
        } else if (entity.getType() == net.minecraft.entity.EntityType.SKELETON) {
            configureSkeleton(mob, world);
            strafeTarget(entity, mob);
            fireCrossbowSkeleton(entity, mob, world);
        } else if (entity instanceof CreeperEntity creeper) {
            if (entity.getCommandTags().add(CREEPER_TAG)) {
                ((CreeperEntityAccessor) creeper).dangerousdungeons$setExplosionRadius(8);
                if (world.getRandom().nextFloat() < 0.02F) {
                    creeper.getDataTracker().set(CreeperEntityAccessor.dangerousdungeons$getChargedData(), true);
                }
            }
            dashCreeper(creeper);
        } else if (entity instanceof WardenEntity warden) {
            if (entity.getCommandTags().add(WARDEN_TAG)) {
                setAttribute(warden, EntityAttributes.FOLLOW_RANGE, 80.0);
            }
            acquireWardenTarget(warden, world);
            updateWardenSummons(warden, world);
            breakTowardPlayerInstantly(entity, world);
        } else if (entity instanceof WitherEntity wither) {
            if (entity.getCommandTags().add(WITHER_TAG)) {
                multiplyAttribute(wither, EntityAttributes.FLYING_SPEED, 2.0);
                multiplyAttribute(wither, EntityAttributes.ATTACK_DAMAGE, 2.0);
            }
            updateWitherPhases(wither, world);
            breakTowardPlayerInstantly(wither, world);
        } else if (entity instanceof EndermanEntity enderman) {
            updateEndermanCombat(enderman, world);
        } else if (entity instanceof GhastEntity ghast) {
            if (entity.getCommandTags().add(GHAST_TAG)) {
                multiplyAttribute(ghast, EntityAttributes.FLYING_SPEED, 2.0);
            }
        } else if (entity instanceof PiglinBruteEntity brute) {
            configurePiglinBrute(brute);
        } else if (entity instanceof MagmaCubeEntity) {
            if (entity.age % 40 == 0) {
                addEffect(living, StatusEffects.SPEED, 3);
            }
        }

        if (entity instanceof HostileEntity && mob.getTarget() instanceof PlayerEntity) {
            spawnNetherReinforcements(entity, world);
            spawnEscalationReinforcements(entity, world);
        }
    }

    private static void configureHostile(Entity entity, MobEntity mob, ServerWorld world) {
        if (entity.getCommandTags().add(HOSTILE_TAG)) {
            setAttribute(mob, EntityAttributes.FOLLOW_RANGE, 80.0);
            entity.getCommandTags().add(HOSTILE_SPEED_III_TAG);
            mob.setCanPickUpLoot(true);
        }
    }

    private static int getEscalationLevel(ServerWorld world) {
        return 3;
    }

    private static void applyWorldEscalation(Entity entity, LivingEntity living, MobEntity mob, ServerWorld world) {
        for (int stage = 1; stage <= getEscalationLevel(world); stage++) {
            if (!entity.getCommandTags().add(MOD_ID + ":escalation_" + stage)) {
                continue;
            }

            float healthRatio = living.getHealth() / living.getMaxHealth();
            double healthMultiplier = stage == 1 ? 1.2 : stage == 2 ? 1.25 : 1.4;
            double damageMultiplier = stage == 1 ? 1.15 : stage == 2 ? 1.25 : 1.4;
            double speedMultiplier = stage == 1 ? 1.1 : stage == 2 ? 1.15 : 1.25;
            multiplyAttribute(living, EntityAttributes.MAX_HEALTH, healthMultiplier);
            multiplyAttribute(living, EntityAttributes.ATTACK_DAMAGE, damageMultiplier);
            multiplyAttribute(mob, EntityAttributes.MOVEMENT_SPEED, speedMultiplier);
            setAttribute(mob, EntityAttributes.FOLLOW_RANGE, 80.0 + stage * 20.0);
            living.setHealth(living.getMaxHealth() * healthRatio);
        }