Simple Registry Aliases 图标

Simple Registry Aliases

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.1.0+26.1
本资源为搬运资源,原资源地址: https://modrinth.com/mod/simple-registry-aliases
资源信息

Minecraft 版本: 26.1 26.1.1 26.1.2 26.2

平台: fabric

标签: utility

资源介绍

Simple Registry Aliases

This mod allows you to define registry entry aliases, by exposing Fabric API's registry alias
system in simple, config-driven way.

It supports both static (blocks, items, etc.) and dynamic (biomes, enchantments, etc.) registries.

Configuration.

All alias definitions are stored in ./config/registry_aliases/ as a json map.
For vanilla registries, the file should be named as <registry_path>.json,
so for example item registry aliases will be located it item.json, block as block.json,
biomes at worldgen/biome.json (worldgen is a folder) and so on.

For modded registries (through it also works in vanilla), the file should be named <registry_namespace>/<registry_path>.json,
for example for registry magic_mod:spells the name is magic_mod/spells.json.

The file itself is just a json map, with keys being the original entry id and value being the replacement.
For example, a file at ./config/registry_aliases/item.json with content

{
  "toomanymetals:enderite_pickaxe": "minecraft:netherite_pickaxe",
  "toomanymetals:enderite_axe": "minecraft:netherite_axe"
}

will make all item (as they are sourced from item registry) toomanymetals:enderite_pickaxe get replaced with
minecraft:netherite_pickaxe once it's loaded.

Worth noting this only works if the registry entry you want to replace doesn't exist. If it does, this won't work and
the original entry will be used instead.

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Fex's Vehicle & Transportation Mod

价格:0 墨喵币
下载量:0

查看详情
Arrow Display

价格:0 墨喵币
下载量:0

查看详情
Placeholder Pack

价格:0 墨喵币
下载量:0

查看详情
Roost 2: Flying Higher

价格:0 墨喵币
下载量:0

查看详情