Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust mob spawning options #13

Open
batuozdemir opened this issue Jul 9, 2023 · 6 comments
Open

Adjust mob spawning options #13

batuozdemir opened this issue Jul 9, 2023 · 6 comments
Labels
enhancement New feature or request

Comments

@batuozdemir
Copy link

Feature Description

I want to use my void world to make a mob farm, but no mobs are spawning. In an earlier issue the owner told someone to "edit the datapack" for a similar request but I don't know how to do that. Thanks

@batuozdemir batuozdemir added the enhancement New feature or request label Jul 9, 2023
@jinkhya
Copy link

jinkhya commented Sep 10, 2023

Hello,
I'd like to see something like this too. To my understanding, if we were to make a datapack to change this, we'd need to add every mob spawn in each category of void.json in biome but that'd be impossible in a large modpack with all kinds of mobs spawning. Ofc to allow hostiles to spawn the light would need to be changed too but that's easily done in a datapack
Thanks in advance,
Jin

@Leclowndu93150
Copy link

well i found a fix for it
data/javd/worldgen/biome/void.json

{
    "temperature": 1,
    "downfall": 0.4,
    "precipitation": "none",
    "temperature_modifier": "none",
    "category": "plains",
    "effects": {
        "sky_color": 8103167,
        "fog_color": 12638463,
        "water_color": 4445678,
        "water_fog_color": 270131
    },
    "spawners": {
        "ambient": [{
            "type": "minecraft:bat",
            "maxCount": 8,
            "minCount": 8,
            "weight": 10
        }],
        "axolotls": [],
        "creature": [{
                "type": "minecraft:sheep",
                "maxCount": 4,
                "minCount": 4,
                "weight": 12
            },
            {
                "type": "minecraft:pig",
                "maxCount": 4,
                "minCount": 4,
                "weight": 10
            },
            {
                "type": "minecraft:chicken",
                "maxCount": 4,
                "minCount": 4,
                "weight": 10
            },
            {
                "type": "minecraft:cow",
                "maxCount": 4,
                "minCount": 4,
                "weight": 8
            },
            {
                "type": "minecraft:horse",
                "maxCount": 6,
                "minCount": 2,
                "weight": 5
            },
            {
                "type": "minecraft:donkey",
                "maxCount": 3,
                "minCount": 1,
                "weight": 1
            }
        ],
        "misc": [],
        "monster": [{
                "type": "minecraft:spider",
                "maxCount": 4,
                "minCount": 4,
                "weight": 100
            },
            {
                "type": "minecraft:zombie",
                "maxCount": 4,
                "minCount": 4,
                "weight": 95
            },
            {
                "type": "minecraft:zombie_villager",
                "maxCount": 1,
                "minCount": 1,
                "weight": 5
            },
            {
                "type": "minecraft:skeleton",
                "maxCount": 4,
                "minCount": 4,
                "weight": 100
            },
            {
                "type": "minecraft:creeper",
                "maxCount": 4,
                "minCount": 4,
                "weight": 100
            },
            {
                "type": "minecraft:slime",
                "maxCount": 4,
                "minCount": 4,
                "weight": 100
            },
            {
                "type": "minecraft:enderman",
                "maxCount": 4,
                "minCount": 1,
                "weight": 10
            },
            {
                "type": "minecraft:witch",
                "maxCount": 1,
                "minCount": 1,
                "weight": 5
            }
        ],
        "underground_water_creature": [{
            "type": "minecraft:glow_squid",
            "maxCount": 6,
            "minCount": 4,
            "weight": 10
        }],
        "water_ambient": [],
        "water_creature": []
    },
    "spawn_costs": {},
    "carvers": {},
    "features": [
        [],
        [],
        [],
        [],
        [],
        [],
        [],
        [],
        [],
        [],
        []
    ]
}

@jinkhya
Copy link

jinkhya commented Sep 18, 2023

I mean yes that adds the vanilla mobs, but if I were to add the other mobs added by other mods it gets complicated, especially if the modpack has 400 mods. I'd have to find all the spawn rates in sources, if available even.

@Leclowndu93150
Copy link

I mean yes that adds the vanilla mobs, but if I were to add the other mobs added by other mods it gets complicated, especially if the modpack has 400 mods. I'd have to find all the spawn rates in sources, if available even.

Try

@ThePhoenixIO
Copy link

How do other mods with dims handle this, as I am sure that they don't have massive lists like this but still allow spawning?

@Leclowndu93150
Copy link

it's done via datagen probably

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants