介绍
A Minecraft mod to replace blocks and items from a missing mod with different blocks and items.
For Mincraft 1.17.1 with the Fabric loader.
For example, if you have a mod pack that uses only _AnnoyingTechMod_, and after playing a world for a while you decide to use _FunTechMod_ instead, but you don’t want to start a new world.
Your options are:
- Just add the new mod and hope everything plays nice
- Remove the old mod first and just deal with the holes in your world gen
- Use _WorldEdit_ to replace blocks
- Pray that _MC Edit_ suddenly gets an update.
- Use _This, Not That_ to replace old blocks and items with new
The first two options may leave you having to travel to new chunks to find world gen you need.
_WorldEdit_ will probably crash if your world is large, and/or take a very long time.
_This, Not That_ can replace world gen from the _AnnoyingTechMod_ with blocks and items from _FunTechMod_ as the world gets loaded, so the world updates while you play!
Add the block/item names from _AnnoyingTechMod_ (\_e.g.\_ “annoying\_tech:tin\_ore”, “annoying\_tech:tin\_ingot”) with the corresponding names from _FunTechMod (e.g._ “fun\_tech:tin\_ore”, “fun\_tech:tin\_ingot”). You can also replace non-similar things, if the was _AnnoyingTechMod_ had “annoying\_tech:agate” but _FunTech_ had “fun\_tech:garnet” you could use those as a replacement pair.
_This, Not That_ includes a command to attempt to automatically generate a replacement configuration file, your results may vary.
/this_not_that generate Mod-Id [Preferred-Replacement-Mod-Id] will generate a config file ‘this_not_that.Mod-Id.json in the config directory.
The replacements in the generated config will be whatever closest matched the tags and name of the thing from the given mod. The [Preferred-Replacement-Mod-Id] parameter is optional and does not guarantee selection.
Things to know:
- Cannot replace things that exist in a currently installed mod (or vanilla).
- Will only replace things with the default version of that thing.
- Cannot replace in-world BlockEntities, but can (usually) replace the item version of them. Can’t use a block replacement for “annoying\_tech:nuclear\_furnace”, but can use an item replacement.
- Will only search vanilla Chests, Barrels, Hoppers and similar mod storages, it may or may not work with any particular mod’s storage block.
- When a damaged item is replaced, proportional damage will be applied to the new item (if possible). If a “annoying\_tech:cardboard\_pickaxe” had 13/18 damage was being replaced with “fun\_tech:micarta\_pickaxe” which has a max damage of 23, the new item would have damage of 17. \* If an item has a custom name, it will be applied to the new item (if possible).
- When an enchanted item is replaced, only the enchantments valid for the replacement item are used.
- Replacing ItemBlocks of all specified blocks is a config option.
- Replacing items in the Players’ inventory (and Ender Chest) is also a config option.
- Replacement happens when a chunk is loaded, so large replacement lists may be noticeable (especially if replacing lots of items).
- The generate command needs be be performed with the mod to replace installed.
- Modpacks that adjust/remove the tags for better unification/integration may have a negative affect on the generate command. _e.g._ _All of Fabric_ will not generate any results for ores/dust/ingots unless Kube.js is disabled.
- The generate command’s output is a best-guess, this works well for technical things like ore/dust/ingot/nugget/tools, but may have poor results for purely decorative things.
- Verify generate’s output for nonsensical replacements before loading a world you care about.
- Create a backup of you world before trying to load it with the mod, and check around first before playing with it.
Example Config:
https:/gitlab.com/thor12022/this-not-that/-/snippets/2183686
常见问题
This, Not That 支持哪些 Minecraft 版本?
This, Not That 支持 Minecraft Java 版 1.17.1,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
This, Not That 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
thor12022 的其他作品
查看全部 →Hardcore Wither
凋灵难度会随玩家自适应调整
Wither Charging Fix
Fixes Wither Charging bug MC-57569 for Forge 1.8.9
The Tool Tooltip Tool
Adds useful information to the tooltips of many tools
Cobble Popper
Generates cobblestone with adjacent water and lava
评论
登录后评论和评分