Mineuniverse
Log in Register
Mods

Tetra Material Overhaul

Allows you to use the contexts field in data packs to control the scope of attribute effects
by yiran1457
Download Claim this project
268,363 downloads
0 likes
Updated Jul 6, 2026
0 hypes
API and Library

Added contexts in tetra's module, material, and improvement.
The usage of module and improvement is the same.
Below are examples in material and module.

material:

{
  "key": "test",
  "category": "bone",
  "primary": 5,
  "secondary": 1.9,
  "tertiary": 4.5,
  "durability": 120,
  "integrityCost": 1,
  "integrityGain": 5,
  "magicCapacity": 108,
  "toolLevel": "minecraft:stone",
  "toolEfficiency": 4.5,
  "tints": {
    "glyph": "bone_glyph",
    "texture": "bone"
  },
  "textures": [
    "bone",
    "crude"
  ],
  "material": {
    "items": [
      "minecraft:heart_of_the_sea"
    ]
  },
  "requiredTools": {
    "hammer_dig": "minecraft:wood"
  },
  "contexts": {
    "test": {
      "attributes": {
        "generic.attack_speed": 114514
      },
      "effects": {
        "test": [10, 5]
      }
    }
  }
}

module:

{
    "replace": true,
    "slots": [ "sword/blade" ],
    "type": "tetra:basic_major_module",
    "improvements": [
        "tetra:sword/basic_blade/",
        "tetra:sword/shared_blade/",
        "tetra:sword/shared/",
        "tetra:shared/"
    ],
    "variants": [
        {
            "materials": [ "tetra:wood/", "tetra:stone/", "tetra:metal/", "tetra:gem/", "tetra:bone/" ],
            "key": "basic_blade/",
            "attributes": {
                "generic.attack_speed": -1.9
            },
            "effects": {
                "sweeping": 1
            },
            "tools": {
                "cut": [ 1, 2 ]
            },
            "aspects": {
                "edged_weapon": 2,
                "breakable": 2
            },
            "durability": -20,
            "tags": [ "forge:swords" ],
            "contexts": ["test"],
            "extract": {
                "primaryAttributes": {
                    "generic.attack_damage": 1
                },
                "durability": 0.9,
                "integrity": -1,
                "magicCapacity": 1,
                "glyph": {
                    "textureX": 0
                },
                "availableTextures": [ "metal", "shiny", "grainy", "crude" ],
                "models": [ { "location": "tetra:item/module/sword/blade/basic/" } ]
            }
        }
    ]
}

Tetra Material Overhaul-6.9.0-1.0.1.jar
MC Client, 1.20.1, Forge, Server
Release 2026-05-17 Get

More from yiran1457

TooltipJS
984
SlashBladeTetra
9,391
JEI SlashBlade
8,244
JavaScriptJS
77,863
AE Tetra
6,331
JEI Tetra
611,399

You Might Also Like

Vivecraft
A Minecraft VR mod on a loader of your choice!
9,988,339
Athena
A crossplatform (Forge/Fabric) solution to connected block textures for 1.19.4+
99,799,527
Lodestone
A collection of code used throughout projects under the Lodestar team.
9,914,417
TheDragonLib
A library for most of sokratis12GR's Mods
9,910,232
Multi Mob Library
A library mod containing essential files for Daveyx0's mob mods
9,892,767
FTB Library (Forge) (Legacy)
FTB Library is a library mod that is used for some of our mods.
98,265,314