Skip to content

V2 Custom Blood Color Datapack

CravenCraft edited this page Aug 19, 2026 · 4 revisions

Data Driven Blood Color Types

data_driven_blood.png

Datapacks can dictate what color entities bleed (or if they bleed at all) based on a hex code value. This website can help with determining a custom blood color.

Editing Blood Color Types

To edit the blood color types, simply add a custom datapack to override the mod's existing one (I will provide a copy of the existing datapack for players to download). The datapack consists of two folders: blood_colors and tags.

datapack_structure.png

The blood_colors folder contains a list of JSON files. The names of these files don't matter. Each file simply contains a JSON object that has two properties: entity_tag and color. The entity_tag will references the desired JSON file in the tags/entity_type directory. The color property will reference the desired hex code color value that you want the entities to bleed.

blood_colors_structure.png

The tags folder contains a subfolder entity_type. This is a built-in Minecraft structure that allows us to add certain tags to entities for reference. Here, we simply create the JSON file that will act as the tag's name, and populate it with a list of entities that we want this tag to apply to.

bleeds_green_tag.png

Above is an example of the JSON file bleeds_green.json, which you will notice is the one that is referenced in the blood_colors/green.json file's entity_tag property. In this file, there are only two properties, but a lot of content since this is where the list of entities will be set.

  • The replace property simply tells the game that this datapack will, or will not, be replacing any preexisting data with this data. Since this is an entirely new tag that I am adding to these entities, I set this value to false, but if a datapack were made to override this one, then it would be set to true.
  • The values property will contain a list of all the entities that this tag should apply to. As well, JSON objects can be added to this list. These are denoted by the opening and closing curly braces {}. In here there the property required property determines if this object ID is required for the tag to load successfully. I'm using these objects as optional references to mod entities, so I set those properties as false. The id property references another file location that will contain the modded entities that I want this tag to apply to.

modded_bleeds_green_tag.png

Above is an example of a mod's entity that a tag should apply to.

Supported Mods By Default

NOTE:

With future updates I will add more mod compats to the base datapack of Bloody Bits. If you have a specific mod that you would like added, just let me know, and I'll see if I can get it added in! If I can't, then it's fully possible to add them in yourself via a custom datapack.

Default Datapack Download

DefaultBloodyBitsDatapack.zip

Clone this wiki locally