截图
介绍
Overview
This is a mod that allows you to throw dyes!
Throwing it at a block with a colored variant (eg. concrete) will dye the block the color of the dye you threw. This should work with every vanilla block.
This will also work with modded blocks, however, there are some exceptions which will need to be added to the config manually.
Config
Technical Overview
The way this mod works is when the thrown dye hits a block, it will get the block’s id.
Then it will check if the block id starts or ends with a dye color. If it does, it will replace the color in the block id, with the thrown dye color.
If a color is not found in the block id, the it will try appending the thrown dye color to the beginning of the block id.
Finally, if that fails, it will fall back to the config file, and check if there is a colored block variant mapped to the default block.
Adding to the config
On the event that a some blocks do not work, you can add it into the config.
The config is called throwabledye.json. The syntax is as follows:
"somemod:block_id": "{color}_block_id"
A working example of this would be:
"minecraft:glass": "{color}_stained_glass"
Some blocks have a base, or un-dyed, variant, such as glass or terracotta. Unlike terracotta, dyed glass does not keep the same color + blockid format, it has an extra word, “stained”, which is not referenced in the base variant, so the base variant needs to be mapped to the colored variant.
This is done by making the base block id the key. Then taking the colored block id, putting {color} where the color name would be, and making it the value. Then the mod can replace {color} with the thrown dye color.
常见问题
Throwable Dye 支持哪些 Minecraft 版本?
Throwable Dye 支持 Minecraft Java 版 1.19–1.20.2,共 8 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Throwable Dye 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
lamaprogramer 的其他作品
查看全部 →Toggle Item Frames
这个模组可以让你调整物品展示框的可见性!
Reimagined World Menu
Completely re-design the Create World menu.
Midnight Lurker Fabricated
An unofficial Fabric port of the original Midnight Lurker. A small mod that adds a new horrifying entity to Minecraft.
Better Potion Visuals
Backport of the 1.19.4 potion visuals.
评论
登录后评论和评分