Aspect Refraction

Quick rating

Community listing page, reviews here may not be monitored by the author.

Aspect Refraction

No reviews yet

Adds a system of aspects and crafting from them

Mod Loaders
Minecraft

About

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
    }
  }
}