Description
π Overview
Refraction adds a single block - the Refraction Table - that lets you break any item down into its hidden Aspects and then craft known items back from pure knowledge
π¬ Features
- Deconstruct items into their fundamental Aspects.
- Accumulate Aspects by breaking down materials.
- Craft any known item using only Aspects and Amethyst Shards.
- Data-driven: all item aspects are defined in JSON data maps.
- Addon-friendly: other mods can add their own aspects and item mappings.
- Commands for debugging and creative play.
π How it works?
- Place the Refraction Table and open it.
- Insert any item into the deconstruction slot.
- Gain Aspects based on the item's hidden composition.
- Unlock the item in your knowledge list.
- Select a known item and craft it using Aspects + Amethyst Shards.
π§ͺ Aspects
Aspects are the fundamental building blocks of matter in Refraction. There are 32 base Aspects, such as:
Ignis β Fire Aqua β Water Terra β Earth Aer β Air Arbor β Wood Metallum β Metal Vitreus β Crystal Praecantatio β Magic β¦and 24 more!
β¨οΈ Commands
/refraction knowledge add <item>
/refraction knowledge remove <item>
/refraction knowledge clear
/refraction aspect add <aspect> <amount>
/refraction aspect remove <aspect> <amount>
/refraction aspect get <aspect>
/refraction aspect list
/refraction aspect clear
Requires operator level 2.
π Credits
Inspired by Thaumcraft & ProjectE mods.
π MIT License
:D
π οΈ For Modpack Makers
All item aspects are defined in data/refraction/data_maps/item/aspects.json.
You can override any item's aspects using a datapack or addon mod.
Example:
{
"values": {
"minecraft:diamond": {
"refraction:vitreus": 64,
"refraction:terra": 128,
"refraction:potentia": 32
}
}
}
π§© For Addon Developers
Refraction uses NeoForge's Data Maps system. Addons can:
- Add new Aspects to items.
- Define custom Aspect compositions.
- Use the public API to interact with Aspect knowledge.
Example addon JSON:
{
"values": {
"minecraft:crafting_table": {
"myaddon:instrumentum": 4,
"refraction:arbor": 2
}
}
}


