Mod

Throwable Dye

Quick rating

Throwable Dye

No reviews yet

This mod allows you to throw dyes!

QoL & Tweaks
Mod Loaders
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Required

About

Project Details

Type
Mod
License
MIT License
Latest Version
Throwable Dye 1.0.0-1.20
Authors
CurseForge
Modrinth

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.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

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.

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.

Screenshots

Gallery

  • Ranged Dyes
    Ranged Dyes
  • Ranged Dyes
    Ranged Dyes

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.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~4,000
Total Downloads
CurseForge
<1,000
Modrinth
~4,000
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched and imported data for this project from CurseForge or Modrinth. High-traffic and active projects are checked more often.
Next pipeline sync