HomeJavaModsZap's Enhanced Enchantment Glints
Zap's Enhanced Enchantment Glints
ModsJava

Zap's Enhanced Enchantment Glints

by zapaxe · on Modrinth

⬇ Download on Modrinth
Zap's Enhanced Enchantment Glints — screenshot 1Zap's Enhanced Enchantment Glints — screenshot 2Zap's Enhanced Enchantment Glints — screenshot 3Zap's Enhanced Enchantment Glints — screenshot 4

ZEEG — Zap's Enhanced Enchantment Glints

A lightweight client-side Fabric mod that allows you to customize your enchantment glints dynamically without resource packs.

Features

Version Support & Branches

ZEEG supports multiple Minecraft versions:

Usage

  1. Install ZEEG on Fabric (requires Fabric API and Mod Menu).
  2. Open Mod Menu -> ZEEG -> Configure.
  3. Customize your colors, speeds, overrides, or cycle modes.
  4. Click Save & Reload to apply changes instantly in-game.

Resource Pack Usage

Resource pack creators can bundle default configuration presets, item-specific overrides, or named overrides within their packs. ZEEG will automatically detect and load these configs if enabled.

Create a JSON file named config.zg in your resource pack at: assets/zeeg/config.zg

Example config.zg structure:

{
  "red": 0,
  "green": 255,
  "blue": 128,
  "strength": 255,
  "cycleMode": 1,
  "rainbowSpeed": 25,
  "itemColors": [
    {
      "itemId": "minecraft:netherite_sword",
      "red": 255,
      "green": 0,
      "blue": 0
    }
  ],
  "namedColors": [
    {
      "name": "Excalibur",
      "red": 255,
      "green": 215,
      "blue": 0,
      "strength": 255,
      "cycleMode": 2,
      "red2": 255,
      "green2": 255,
      "blue2": 255
    }
  ]
}

Commands Usage

You can use the /give command to obtain items with pre-configured custom glints by specifying the zeeg:glint data component.

Formats:

Available Component Fields:

Datapack Usage

Datapack creators can use the zeeg:glint component in loot tables, custom recipe results, or advancement rewards.

Example Loot Table Item:

{
  "type": "minecraft:item",
  "name": "minecraft:netherite_sword",
  "functions": [
    {
      "function": "minecraft:set_components",
      "components": {
        "minecraft:enchantment_glint_override": true,
        "zeeg:glint": {
          "r": 255,
          "g": 0,
          "b": 0,
          "cycle_mode": 2,
          "r2": 255,
          "g2": 128,
          "b2": 0,
          "speed": 15
        }
      }
    }
  ]
}

Mod Usage

Mod developers can read and modify glint components directly on ItemStack instances using the API.

Retrieve Glint Data:

import com.zapaxe.zeeg.GlintComponent;

GlintComponent glint = stack.get(GlintComponent.TYPE);
if (glint != null) {
    int red = glint.r();
    int green = glint.g();
    int blue = glint.b();
}

Apply Glint Data:

import com.zapaxe.zeeg.GlintComponent;

// Params: r, g, b, strength, cycleMode, speed, r2, g2, b2
GlintComponent customGlint = new GlintComponent(255, 0, 255, 255, 1, 20, 255, 255, 255);
stack.set(GlintComponent.TYPE, customGlint);
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more