From 5a159c3d41975d4f2ea0bc54dea918e53de001b4 Mon Sep 17 00:00:00 2001 From: Aiz Date: Tue, 6 Feb 2024 16:52:22 +0100 Subject: [PATCH] feat(mobs): spawn blazes deep underground. spawns blazes in deep caves at -45 to -60. --- config/incontrol/spawn.json | 13 +++++++++++++ config/incontrol/spawner.json | 23 +++++++++++++++++++++++ index.toml | 10 ++++++++++ mods/in-control.pw.toml | 13 +++++++++++++ 4 files changed, 59 insertions(+) create mode 100644 config/incontrol/spawn.json create mode 100644 config/incontrol/spawner.json create mode 100644 mods/in-control.pw.toml diff --git a/config/incontrol/spawn.json b/config/incontrol/spawn.json new file mode 100644 index 0000000..aaf915f --- /dev/null +++ b/config/incontrol/spawn.json @@ -0,0 +1,13 @@ +[ + { + "dimension": "minecraft:overworld", + "mob": "minecraft:blaze", + "biome": ["terralith:cave/deep_caves", "terralith:cave/mantle_caves"], + "result": "allow" + }, + { + "dimension": "minecraft:overworld", + "mob": "minecraft:blaze", + "result": "deny" + } +] diff --git a/config/incontrol/spawner.json b/config/incontrol/spawner.json new file mode 100644 index 0000000..c18dd69 --- /dev/null +++ b/config/incontrol/spawner.json @@ -0,0 +1,23 @@ +[ + { + "mob": "minecraft:blaze", + "persecond": 1, + "attempts": 2, + "amount": { + "minimum": 1, + "maximum": 2 + }, + "conditions": { + "dimension": "minecraft:overworld", + "inwater": false, + "inlava": false, + "inair": false, + "mindist": 24, + "maxdist": 120, + "minheight": -60, + "maxheight": -45, + "maxthis": 20, + "norestrictions": true + } + } +] diff --git a/index.toml b/index.toml index 4fe0cf0..f9be27c 100644 --- a/index.toml +++ b/index.toml @@ -6,6 +6,12 @@ file = "LICENSE" [[files]] file = "config/forgery/features.ini" +[[files]] +file = "config/incontrol/spawn.json" + +[[files]] +file = "config/incontrol/spawner.json" + [[files]] file = "config/quark-common.toml" @@ -235,6 +241,10 @@ metafile = true file = "mods/immediatelyfast.pw.toml" metafile = true +[[files]] +file = "mods/in-control.pw.toml" +metafile = true + [[files]] file = "mods/item-filters.pw.toml" metafile = true diff --git a/mods/in-control.pw.toml b/mods/in-control.pw.toml new file mode 100644 index 0000000..236e4f6 --- /dev/null +++ b/mods/in-control.pw.toml @@ -0,0 +1,13 @@ +name = "In Control!" +filename = "incontrol-1.19-7.1.12.jar" +side = "both" + +[download] +url = "https://cdn.modrinth.com/data/KpICtuVx/versions/7S0SwqCr/incontrol-1.19-7.1.12.jar" +hash-format = "sha1" +hash = "19838e3ac3d1a1f4d62592bedf3d1a8022f81e47" + +[update] +[update.modrinth] +mod-id = "KpICtuVx" +version = "7S0SwqCr"