Download Biome Modifier for Fabric — Minecraft Mods — MetaMods
Biome Modifier for Fabric

Biome Modifier for Fabric

Active

Downloads

0

Last update

1 year ago

Versions

1.20 — 1.20.4
Server
Fabric
Libraries
World generators

Biome Modifier for Fabric

Banner

This library provides players and developers with a convenient way to modify biomes in Minecraft using datapacks when using Fabric.

Developer Tool

It is known that Forge users can apply biome modifiers through JSON files. This modification adds similar functionality for Fabric!

Datapack developers should place files with .json extension in the data/<mod id>/biome_modifiers/ directory. All specified modifiers will be automatically applied to the corresponding biomes.

Modifier Syntax

Each JSON file should follow the basic structure:

{
    "type": "<modifier type>",
    "biomes": "<biome name/list of biomes/biome tag>",
    "priority": priority,
    "<other fields>": "<values>"
}

Where:

  • type defines the modifier action
  • biome specifies target biomes
  • priority (optional) sets application order (lower value = higher priority, default value 1000)

Types of Biome Modifiers

biome_modifier:none

Simple modifier for replacing other modifiers in third-party datapack

{
    "type": "biome_modifier:none"
}

biome_modifier:add_features

Adds structures to selected biomes. If registered objects are missing, outputs an error (without game crash).

{
    "type": "biome_modifier:add_features",
    "biomes": "<biome names>",
    "features": "<element name/list of elements>",
    "step": "<generation step>"
}

biome_modifier:remove_features

Removes structures from biomes. If objects are missing from biomes - outputs a warning.

{
    "type": "biome_modifier:remove_features",
    "biomes": "<biome names>",
    "features": "<element name/list of elements>",
    "step": "<generation step>"
}

biome_modifier:add_spawns

Adds creature spawning to biomes.

{
    "type": "biome_modifier:add_spawns",
    "biomes": "<biome names>",
    "spawners": [
        {
            "type": "<creature identifier>",
            "weight": weight,
            "minCount": minimum number,
            "maxCount": maximum number
        }
        // for single object, using array not required - single object acceptable
    ]
}

biome_modifier:remove_spawns

Removes creature spawning from biome

{
    "type": "biome_modifier:remove_spawns",
    "biomes": "<biome names>",
    "entity_types": "<creature identifiers>",
[}]

biome_modifier:add_spawn_costs

Configures creature spawn cost (spawn potential and density).


{
    "type": "biome_modifier:add_spawn_cost",
    {{if fi s "es to call", just \quad * Joke! }

  false,
  data by on if(' (I just put code 0? }
Project members
Viola-Siemens

Viola-Siemens

Developer

Viola_Siemens

Viola_Siemens

Created: 8 Jul 2024

ID: 24110