Forwarding Address
Convert blocks and items automatically to keeps your worlds working when a mod renames, moves, or removes something.
No ratings yet
Be the first to rate it.
Community listing page
Community listing page, reviews may not be monitored by the author.
Community voices
Reviews
Log in to review this mod
Reviews are written by ModDex members. Log in and you'll come right back to the review form.
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
Current Features
Forwarding Address is a library. By itself it changes nothing. Install it when another mod or modpack needs it.
- Converts retired blocks and items to their replacements. Facing, waterlogging, other matching block state, and container contents stay.
- Converts items in player inventories, ender chests, placed containers, dropped items, and item frames.
- Spreads block conversion over several ticks (
config/forwardingaddress/settings.json,maxConversionsPerTick). - Works after the old mod is gone. The mod applies a migration that only renames a block or item to saved chunks, entities, and player data as they load.
- Modpack makers can declare migrations in JSON files. They can also register plain stand-in "stub" blocks for the blocks of a removed mod (see below).
- Never guesses. If a conversion cannot be exact, the mod leaves the block alone, logs the reason, and tries again when the chunk next loads.
- Install it on both the client and the server.
For Mod Authors
Declare migrations while your mod initializes:
Migrations.block(Identifier.fromNamespaceAndPath("oldmod", "oak_trim"))
.to(Identifier.fromNamespaceAndPath("newmod", "oak_trim"))
.register();
A block migration also converts the item of the block. You can remove a migration that only renames from your mod. The mod renames the old ID in saved data as it loads. If you use a mapper (properties, block entity, or item components), keep the old block and item registered. The mapper needs them as a source. See the com.chimericdream.forwardingaddress.api package for the mappers.
For Modpack Makers
Put migration files in config/forwardingaddress/migrations/. Any *.json file works. The mod reads the files in name order at startup.
{
"blocks": [
{
"from": "oldmod:oak_stairs",
"to": "newmod:oak_stairs",
"stub": { "template": "minecraft:oak_stairs" },
"renameProperties": { "dir": "facing" },
"mapValues": { "half": { "upper": "top", "lower": "bottom" } }
}
],
"items": [ { "from": "oldmod:wrench", "to": "newmod:wrench" } ]
}
fromandtoare block (or item) IDs. The mod ignores an entry with a blank or missingto.renamePropertiesandmapValuesare optional. The mod copies properties with the same name and value on its own.stubis optional. Add it when the old mod is removed. It registers a plain stand-in block and item under the old ID. A world that still has them can then load and convert. A stub is either"template"or"properties"."template"is an existing block, and the stub copies its properties."properties"is a map of property name to value names, for example"facing": ["north", "south", "west", "east"]. The mod automatically matches booleans and consecutive whole numbers to the real property types.- The mod registers a stub only if no installed mod has that namespace. If you put the old mod back, there is no duplicate. The mod refuses stubs under
minecraft:. - An unconverted stub shows the missing-model texture and has a "Retired block" name and tooltip. You can break it by hand. It drops its item, which also converts.
- Stubs are registry entries, so the stub files must be identical on the client and the server. At startup the log prints a short fingerprint (
stub config xxxxxxxx). Use it to compare the files. - You cannot stub block entities. The game cannot save the block entity data of a removed mod.
Before you remove a mod, run /forwardingaddress dump <namespace> (operators only) while the mod is still installed. It writes config/forwardingaddress/dumps/<namespace>.json. The file lists every block of that mod with its properties and a blank to. Fill in the targets, delete the entries you do not need, and move the rest into the migrations folder. The mod never loads the dumps folder, so an unfinished file cannot change a world.
Issues & Suggestions
Use the GitHub issue tracker to report bugs or suggest features.
Credits
Thanks to Mojang for Minecraft, and to the developers of the Fabric and NeoForge mod loaders and the Architectury API.
License
This mod is released under the MIT license. Read the full license text.
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
Stats
- Downloads
- <1,000
- Used in
- 0 modpacks
- Followers
- 0
- In stacks
- 0
- Created
- Last synced
-
Nov 26, 2026 1:00 PM UTC
New file updates sync automatically.
When ModDex last fully re-synced this project from CurseForge or Modrinth. A new file release triggers a resync usually within minutes, and every project is also re-synced on a schedule. Edits that don't ship a file, such as a new description or screenshots, are checked every few hours and can appear before the above date changes.
How syncing works
External Links
Stats
- Downloads
- <1,000
- Used in
- 0 modpacks
- Followers
- 0
- In stacks
- 0
- Created
- Last synced
-
Nov 26, 2026 1:00 PM UTC
New file updates sync automatically.
When ModDex last fully re-synced this project from CurseForge or Modrinth. A new file release triggers a resync usually within minutes, and every project is also re-synced on a schedule. Edits that don't ship a file, such as a new description or screenshots, are checked every few hours and can appear before the above date changes.
How syncing works