Throwable Dye

⭐ — (7 endorsements) 📥 4,934 downloads 📌 v1.0.0-1.20 📅 10/26/2023
⚪ Last updated 2023

By lamaprogramer · decoration

⬇ Download Mod Source: Modrinth ↗ 📅 Updated: 10/25/2023 📅 Created: 10/26/2023
⚠️ Install Order · 2 steps
1🛠️ Forge — Minecraft Forge (mod loader) Download ↗
2🛠️ Fabric — Fabric Loader Download ↗

Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.

🔍 Analysis

  • 👍 0.1% endorsement rate
  • 🏆 #146 of 282 decoration mods in this game by downloads

📋 About This Mod

## 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: ```json "somemod:block_id": "{color}_block_id" ``` A working example of this would be: ```json "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.

## 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.

### 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:

```json "somemod:block_id": "{color}_block_id" ```

A working example of this would be:

```json "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.

🤖 AI-enhanced — based on mod data

📊 Mod Details

Game
Minecraft Mods
Author
lamaprogramer
Version
1.0.0-1.20
Downloads
4,934
Endorsements
7
Category
decoration
Created
10/26/2023
Updated
10/25/2023
Game Versions
1.20, 1.20.1, 1.20.2
Tags
decoration, game-mechanics, utility

🔧 How to Install Minecraft Mods Mods

Download from Modrinth. Use Prism Launcher or drop into your mods folder.

📖 Full step-by-step install guide for Minecraft Mods →

Visit the official mod page for specific installation instructions for this mod.

🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Mods commands, item IDs, and more.

❓ Frequently Asked Questions

Which Minecraft Mods versions does Throwable Dye support?

The author lists 1.20, 1.20.1, 1.20.2. Other versions may work but are untested by the author.

What is the latest version of Throwable Dye?

Version 1.0.0-1.20, published 2023-10-25 with 4,934 downloads recorded at the source.

Keep browsing — more Minecraft Mods mods await

📋 All Minecraft Mods Mods 🏆 Top 25 📂 More decoration 👤 More by lamaprogramer 🔎 Similar Mods 🌐 Best decoration (All Games) 🔀 Check Compatibility ⚖️ Compare Mods 🆕 New Mods