Swampier Swamps (Forge)

Swampier Swamps (Forge)

97.2k Downloads

A little question

tariqueabedala opened this issue ยท 6 comments

commented

Does your mod Swampier Swamps work with another mod called "More Frogs"? I really like both mods and I'd want to ask if they'd work together

commented

Hm maybe with another mod, but not with SS

commented

Alright, thank you for your time. Btw your mod is very nice

commented

They should work together, there was an issue in the past due to how "More Frogs" added their spawn system, but they fixed it after I pointed it out. So they should work together just fine.
Note: You may need to create a data pack to modify the 2 mods settings to make certain frog types compatible, as I think the way it works is only 1 variant can exist per biome. So if both mods add a variant to the same biome, you will have to change either to another biome.

commented

Oh so it's not possible to spawn 2 frogs from both mods to the same biome?

Btw how'd I be able to create the datapack? I never really did something with datapacks

commented

Well in theory it "could be possible" but essentially the way it works is, that when a frog spawns it checks the biome its in and then assigns it a variant.
So if 2 mods do this the one that assigns its variant last will be applied. In theory it would be possible to say randomly not assign a variant, but I doubt either of the mods does that as it gets messy.

I think for datapacks its best you just look into some youtube tutorials, would likely be more insightful than me explaining it here in a wall of text.
But essentially a data pack is just a zip file with some folders inside it, following the same folder structure as the game/mod you want to modify, and then in the same location you create a say json file, which will be used to modify an existing file.

For example here is the brown frog tags json:

{
  "values": [
    "minecraft:old_growth_pine_taiga",
    "minecraft:old_growth_spruce_taiga",
    "minecraft:taiga",
    "minecraft:dripstone_caves"
  ]
}

Now say you want to add a biome to the list, you would make your json look like this:

{
  "replace": false,
  "values": [
    "some_mod_id:some_biome"
  ]
}

Note: "replace": false is used to mark that you want to "add" a value rather than "replace" the file entirely.

commented

I'll check the datapack videos out, just asked since you're the developer of this mod. However I gotta ask one more thiing: Is it possible to make frogs spawn in different biomes such like mod biomes? Lets suppose I add Biomes O' Plenty for example