Bits

Bits are the most central item to all of BitCrafting, and are acquired by dismantling materials or mining Bit Ore. They are required to forge weapons and tools, the most important function in the entire mod. Each Bit contains several pieces of information which all contribute to the stats of the tool they are a part of.

Stats
Bits have 4 primary stats: Damage, Durability, Enchantability, and Harvest Level. Bits can optionally have an Elemental Quirk, in which case it will also have a Chance and Power associated with that Quirk.

Damage
Damage determines how much damage the weapon or tool will deal when attacking a mob. In the case of tools, damage also determines the digging speed of the tool.

Durability
Durability is the number of uses before the tool will break. Using a tool for its intended purpose (e.g. using a shovel to dig a dirt block) will only consume 1 durability, whereas using a tool for anything other than its intended purpose (e.g. using a shovel to attack a zombie) will consume 2 durability.

Enchantability
Enchantability determines the number and quality of enchantments that a weapon or tool will receive from the enchanting table.

Harvest Level
Harvest Level determines what blocks a tool can mine (typically only applies to pickaxes). Certain blocks and most ores are restricted to higher Harvest Levels. It takes 64 Bits of the same Harvest Level or higher for the tool to take that Harvest Level. For example, if a tool has 40 Bits of Harvest Level 2 and 30 Bits of Harvest Level 3, the tool will be Harvest Level 2.

Elemental Quirk
Some Bits can have an Elemental Quirk, which imbues tools with a random chance to activate an effect. There are 5 types of Quirk: Fire, Earth, Lightning, Ice, and Anomaly. Each element produces a different effect based on the tool.

When a Bit has an Elemental Quirk, it also has a Chance and a Power associated with it. A Quirk's Chance determines the probability that using a tool will trigger the given Quirk. A Quirk's Power increases the strength of the effect that is produced, and has a different benefit based on the effect and tool.

When two or more Bits are combined, whether by fusion or by being forged into a tool, their Chance and Power are combined differently. The Power levels of two or more Bits are added together, but Chance is combined by the equation $$1 - (1 - c_1)(1 - c_2)...(1 - c_n)$$where cx represents a Bit's Chance.

Color
A Bit's color is determined by two qualities: Color Value and Shade. There are 13 Color Values: Gray, Brown, Red, Orange, Yellow, Lime, Green, Cyan, LightBlue, Blue, Purple, Magenta, and Pink. There are also 5 Shades: Darkest, Dark, Medium (represented by no additional text), Light, and Lightest. Each Bit starts with a predetermined Color Value and Shade based on the original material, but can be changed using the Bit Colorizer.

There are also Clear Bits which contribute no color to the tool (though internally their Color Value is gray and their Shade is lightest).

Name
A Bit's name is determined by its Color, Shade, and Elemental Quirk. If a Bit has a Quirk, the name of the Bit is the name of the element (e.g. "Fire" or "Earth") followed by the word "Bit." If it doesn't have a Quirk, the name of the Bit is its Shade (e.g. "Dark" or "Lightest") followed by its Color (e.g. "Red" or "Brown"), followed by the word "Bit."

There are a few notable exceptions to the above. One such exception is that the medium Shade (between "Light" and "Dark") doesn't have an word associated with it, and will instead be left blank. Additionally, "Darkest Gray" and "Lightest Gray" are simply referred to as "Black" and "White," respectively. The last exception is that a Bit with no data (which cannot be obtained through normal gameplay, but can be seen in the Recipe Book) is referred to as "Any Bit" for the purpose of viewing recipes that require Bits.

Unlocalized Name
The unlocalized name of a Bit follows a similar pattern to the above. All unlocalized names for Bits begin with  followed by the shade and color of the bit, all lowercase with no spaces. For example, a Bit with color Blue and shade Dark would have an unlocalized name of.

Exceptions to this are Bits with Elemental Quirks (e.g. a Fire Bit would be ), Bits with no data, clear Bits , and LightBlue Bits (LightBlue becomes   so a Darkest LightBlue Bit would be  ). Additionally, Anomaly is stored internally as  so the unlocalized name of an Anomaly Bit is.