Apollounknowndev / lithostitched

A library mod with new configurability and compatibility enhancements for worldgen
MIT License
6 stars 3 forks source link

`lithostitched:replace_effects` doesn't work #7

Closed mosharky closed 6 months ago

mosharky commented 6 months ago

I can't get this to work at all. I'm on Fabric and Minecraft 1.20.1 with Lithostitched 1.1.5

By not working, I mean that the effects just aren't getting replaced.

{
    "type": "lithostitched:replace_effects",
    "predicate": {
        "type": "lithostitched:not",
        "predicate": {
            "type": "lithostitched:mod_loaded",
            "mod_id": "natures_spirit"
        }
    },
    "biomes": [
        "minecraft:badlands",
        "minecraft:wooded_badlands",
        "minecraft:eroded_badlands"
    ],
    "effects": {
        "sky_color": 16711680,
        "fog_color": 16711680,
        "water_color": 16711680,
        "water_fog_color": 16711680,
        "grass_color": 16711680,
        "foliage_color": 16711680,
        "mood_sound": {
            "sound": "minecraft:ambient.cave",
            "tick_delay": 6000,
            "block_search_extent": 8,
            "offset": 2
        },
        "music": {
            "sound": "minecraft:music.overworld.badlands",
            "min_delay": 12000,
            "max_delay": 24000,
            "replace_current_music": false
        }
    }
}
mosharky commented 6 months ago

To note: I've also tried without the predicate, and it still won't work.

mosharky commented 6 months ago

Ah sorry, I had my namespaces wrong