promotional bannermobile promotional banner

Reliable Replacer

A lightweight utility for replacing one block with another, both during worldgen and afterward.
Screenshot 2026-01-31 203924.png

Screenshot 2026-01-31 203924.png

Replace all blocks a certain distance away from spawn

Replace all blocks a certain distance away from spawn

Description

Reliable Replacer

forge fabric neoforge

A lightweight utility for replacing one block with another, both during worldgen and afterward. This mod allows modpack creators to effortlessly ban items or restrict their usage using standard JSON files, without the need for complex scripts.

What About Block Swap?

I'm glad you asked! I made Reliable Replacer because of some of my personal frustrations with Block Swap. Here are some reasons to consider switching!

  • Reliable Replacer is frequently updated and supports the latest versions, while as of the time of writing this, Block Swap is stuck on 1.20.1.
  • Live config reloading! Run /reload and see your changes instantly take place.
  • Reliable Replacer is fully server-side, so it's compatible with Vanilla clients!
  • Advanced filtering:
    • Filter swaps by biome, dimensions, coordinates, or structure!
    • Toggle retrogen on or off per rule.
    • Toggle player placement replacing per rule.
    • Filter swaps by specific Block State Properties (e.g., lit=true, half=upper).
    • Only replace a block if its neighbors (up, down, etc.) match a specific ID.
    • Define a percentage chance for a rule to trigger.
  • Much more flexible configuration, supporting simple JSON configuration in user-defined folders and integrating with Cloth Config.
  • Per-rule toggleable persistence:
    • Decide if replacement blocks should inherit the properties of the old block.
  • Doesn't require any external libraries.

Migrating From Block Swap

Making the switch is easy! Reliable Replacer supports a legacy format designed to work exactly like Block Swap's configuration.

When you first launch the game with Reliable Replacer installed, a swapper.json file will be automatically generated in your config/reliable_replacer folder. This file uses a simple key-value pair format identical to Block Swap.

To migrate, simply copy the "swapper" block from your old configuration into this file:

{
  "swapper": {
    "oreganized:lead_door": "supplementaries:netherite_door",
    "farmersdelight:rope": "supplementaries:rope",
    "minecraft:dirt": "minecraft:stone",
    ...
  }
}

Note: Rules defined in swapper.json automatically inherit default settings, which are in full parity with Block Swap (retrogen enabled, replace on player placement, etc.). For more advanced control, use the standard rule format.

Features

A full feature list is available on the Modded Minecraft Wiki.

For information and examples on how to use the mod, please also refer to the wiki.

Quick-Start Example

Create a file called my_replacement.json, or whatever else you'd like, in config\reliable_replacer:

[
  {
    "inputs": [
      "minecraft:dirt"
    ],
    "output": "minecraft:diamond_block",
    "biomes": [
      "minecraft:plains"
    ],
    "min_y": "-30",
    "max_y": "64",
    "player_blocks": true,
    "keep_nbt": true
  },
  {
    "inputs": [
      "minecraft:stone"
    ],
    "output": "minecraft:gold_ore"
  }
]

License

Code license (MIT)


discord-plural github-plural

The Reliable Replacer Team

profile avatar
  • 41
    Followers
  • 29
    Projects
  • 7.9M
    Downloads

More from evanbonesView all

  • Advancement Enhancement project image

    Advancement Enhancement

    • 988
    • Mods

    In-game advancement editing and improvements to the advancement screen!

    • 988
    • May 22, 2026
    • Mods
    • +1
  • Field Guide project image

    Field Guide

    • 264.4K
    • Mods

    Discover Plants, Animals and Monsters with a Spyglass. Collect them all and take notes in your personal Field Guide!

    • 264.4K
    • May 22, 2026
    • Mods
    • +3
  • Mini Music Tweaks project image

    Mini Music Tweaks

    • 1.0K
    • Mods

    A collection of configurable music/sound features!

    • 1.0K
    • May 21, 2026
    • Mods
    • +1
  • Reliable Recipes project image

    Reliable Recipes

    • 71.2K
    • Mods

    A lightweight utility for recipe and tag manipulation via simple JSON configuration!

    • 71.2K
    • May 20, 2026
    • Mods
  • Advancement Enhancement project image

    Advancement Enhancement

    • 988
    • Mods

    In-game advancement editing and improvements to the advancement screen!

    • 988
    • May 22, 2026
    • Mods
    • +1
  • Field Guide project image

    Field Guide

    • 264.4K
    • Mods

    Discover Plants, Animals and Monsters with a Spyglass. Collect them all and take notes in your personal Field Guide!

    • 264.4K
    • May 22, 2026
    • Mods
    • +3
  • Mini Music Tweaks project image

    Mini Music Tweaks

    • 1.0K
    • Mods

    A collection of configurable music/sound features!

    • 1.0K
    • May 21, 2026
    • Mods
    • +1
  • Reliable Recipes project image

    Reliable Recipes

    • 71.2K
    • Mods

    A lightweight utility for recipe and tag manipulation via simple JSON configuration!

    • 71.2K
    • May 20, 2026
    • Mods