Mods

Glintsmith

How Glintsmith works in Nytheria. Item outlines, custom enchantment glints, the model gap fix, rules per item, the settings screen with live preview, commands, shader pack behaviour and every setting with the pack's value.

On this page (30)

Glintsmith changes how enchanted things look. It draws a soft outline around items, swaps the purple enchantment glint for textures and colours of your choice, and closes the thin hairline gaps that the game leaves in flat item models. All three work for every item of every mod in the pack, with no item lists to maintain. This page is the full guide. The short version is on Made for Nytheria.

Version in the pack

Nytheria ships Glintsmith 2.2.0 for Minecraft 1.21.1 on Fabric. It is client only: it does nothing on a server, and nobody else sees your settings. Mod Menu, Sodium, Iris and ImmediatelyFast are all in the pack, and Glintsmith works with each of them.

What it is and why Nytheria has it#

Nytheria has about 400 mods and a huge amount of gear. In a normal game it is hard to tell at a glance which weapon in a chest is enchanted, which item on the ground matters, or whether your sword is about to break. Glintsmith answers those questions with the picture itself. An enchanted item gets a faint glow ring. A nearly broken one pulses red. A rare quest item such as an Eye of Ender can have its own colour.

Navrelis wrote Glintsmith for the pack. It is an original mod, not a fork or remaster, and it is under the MIT licence. The ideas came from other projects (see Credits), but no code, texture or data of them is inside it. The glint textures are drawn by the mod's own code when the game starts, so no art files are shipped either.

The short version#

  • Outlines are on for enchanted items in your hand, in other players' and mobs' hands, on the ground, in item frames, on worn armor and in your inventory.
  • Glint: all four glint layers use a grey, tintable version of the vanilla glint with a slow rainbow tint.
  • Gap fix is on in automatic mode and fixes the cracks between the faces of flat items.
  • Rules give 27 special items their own outline colour, mostly totems and End Remastered eyes.
  • Open the settings with /glintsmith or from Mod Menu. Nothing needs a restart.

Item outlines#

The outline is built from what the game really draws for the item. It works the same for a flat item, a 3D model and an item from another mod. It is depth aware: a wall or block in front of the item hides it, so you do not see rings through pillars. In first person your own arm hides it too.

Where outlines are drawn#

Each place has its own switch (Outline tab).

PlaceDefaultNytheria
First-person handOnOn
Third-person held items (players and mobs)OnOn
Dropped itemsOnOn
Item framesOnOn
Worn armor, including worn elytraOnOn
Items in the screens (inventory, hotbar, menus)OnOn
Other places, such as items worn on the headOffOff

Which items get one#

The Outline setting has three choices. Nytheria uses the default.

ChoiceMeaning
Enchanted itemsItems with enchantments, and items that only show the vanilla glint. Default and Nytheria's setting
All itemsEvery item gets an outline
Only items matched by rulesNo outline unless one of your rules switches it on

"Only my items" limits outlines to what you hold or wear, so other players' gear gets none. It is off.

How it looks#

SettingRangeDefault and Nytheria
Thickness0.5 to 16 screen pixels7.5
Softness0 to 10
Opacity0 to 100 %25 %
Distance fade (start and end)0 to 256 blocks0 and 0, so no fade
Proportionalon or offOn
Minimum width0.5 to 8 pixels1

Proportional is why a held sword gets a thick ring while an inventory icon gets a thin line. The thickness you set is measured on the item in your hand at a window height of 1080 pixels. Every other item gets an outline in proportion to how big it is on screen, so far-away items get thinner bands. The minimum width keeps small and far items outlined. If you turn Proportional off, every place uses the same width in screen pixels. Then "Scale with window size" can scale that width with the window height.

Thickness per place: the Outline tab has a "Thickness per place" section. It gives first person, third person, armor, dropped items, item frames, screens and other places a thickness of their own. A place without one uses the global value, and a rule that sets a thickness beats both.

Colours#

The outline colour comes in five modes, and the glint tint uses the same ones.

ModeWhat it does
StaticOne fixed colour
RainbowCycles through all hues
PulseWith one colour the brightness pulses. With two or more it fades back and forth between the first two
GradientFades through up to 16 colours in order and loops
Enchantment colorsFades through the colours of the enchantments on the item

Every vanilla enchantment has a built-in colour. Every other enchantment, including those of other mods, gets a stable colour of its own. You can change any of them on the Enchantments tab.

Nytheria's outline colour is a static light purple, #D088FC. The mod's own default for a fresh install is #E6B2FF.

Low durability alert#

When the remaining durability of an item is at or below the threshold, its outline pulses towards a red alert colour. The default and Nytheria's values are on, 10 % and #FF2A2A. It is a quiet way to notice that a pickaxe needs repairing before it breaks in a cave.

Enchantment glint#

The vanilla glint is the purple shimmer on enchanted items. Glintsmith replaces it in four layers, each with its own on and off switch and its own settings.

LayerWhere you see it
ItemsHeld, dropped and in item frames
ArmorWorn armor, elytra and armor on stands
EntitiesItems and gear on mobs
GUIItems in your inventory, hotbar and menus

Textures#

For each layer you choose a texture.

TextureLook
vanillaThe normal game glint
preset:neutralA grey version of the vanilla glint that is made for tinting. This is Nytheria's choice
preset:rainbow, aurora, fire, frost, sparkle, gold, voidSoft diagonal streaks like the vanilla glint over an even glow in the preset's colours
preset:infernoRising flame tongues
preset:nebulaSwirling clouds with stars
preset:starlightFour-pointed sparkles
preset:opalIridescent flashes
preset:stormBranching lightning
file:<name>.pngYour own picture from config/glintsmith/glints/
namespace:pathA texture from a resource pack

Tint, speed and strength#

Every layer has a tint (any colour mode, including a colour per enchantment), plus speed, scale, strength and rotation.

SettingRangeDefault and Nytheria
Speed0 to 101.0
Scale0.1 to 101.0
Strength0 to 10.9
Rotation-180 to 180 degrees10
Tintany colour styleRainbow, base colour #D088FC

The mod's values are multiplied onto the game's own Glint Speed and Glint Strength sliders in the video settings, so those still work.

Big texture atlas#

In a pack with a very large block atlas, a glint preset can look like a flat colour wash instead of streaks, because an item covers only a tiny part of the atlas. "Atlas-independent scale" corrects this. It is on, so Scale 1.00 looks like vanilla density in Nytheria. Leave Scale at 1.00. If you lower it too, the two corrections multiply and the glint gets too fine.

Switching it off#

  • "Custom glint" on the Glint tab is the master switch. Off gives the untouched vanilla glint everywhere.
  • Each layer has its own switch, and its texture can be set back to vanilla.

Model gap fix#

Some flat items, such as a stick, a sword or a dye, show a thin line or a stray pixel where the faces of the model meet. This is the old Mojang bug MC-73186. Glintsmith closes it.

ModeWhat it does
OffNothing
AutomaticThe mod picks values: it slightly widens the side faces of flat items to close the one-pixel corner cracks. It switches itself off if the mod Model Gap Fix is installed. This is Nytheria's mode
CustomYour own values for UV shrink, side expansion and side indent

"Precise spans" builds the sides from many small faces. It is exact but makes many more quads on high resolution textures, so it is off.

An edge guard is always on while the fix is on: the front and back faces stop a sixteenth of a pixel short of the texture border, so an edge pixel cannot take the colour of the neighbouring texture on the atlas. Without that, the outline would ring a single stray pixel.

Custom values and the precise spans option need a resource reload, which the mod does for you when you press Done.

Rules: special looks for single items#

Rules say which items get which look. They run from the top down, and later rules beat earlier ones. So a "no outline" rule belongs after the broader rule it should override.

A rule can match by:

  • item id, such as minecraft:diamond_sword
  • tag, such as #minecraft:swords
  • whole mod, such as @cataclysm
  • wildcard, such as *_sword or mymod:*
  • negation with !pattern
  • an "Except" list of the same patterns
  • the enchantments on the item, whether it is enchanted, and the place it is drawn in

A matching rule can override the outline (on or off, colour, thickness, softness, opacity) and the glint (on or off, texture, tint, speed, scale, strength, rotation). Anything left on "inherit" comes from the global settings or from earlier rules. A rule with an invalid pattern does nothing, stays in the file and the screen says what is wrong.

Nytheria's 27 rules#

The pack ships these rules in config/glintsmith.json. Colour means the outline colour. "Pulse" is a slow brightness pulse, "static" is a steady ring.

ItemModOutline
Totem of UndyingMinecraftStatic pale yellow #FFF3A5
Totem of DecayAstral DimensionOutline on with the default colour
Totem of FreezingFriends&FoesStatic blue #4189FF
Totem of IllusionFriends&FoesStatic violet #D252FF
Chorus TotemArtifacts RemasteredStatic purple #AE46FF
Angel RingKibe UtilitiesStatic cyan #00D1FC, plus a rainbow glint tint at speed 0.65
Advanced Wireless TerminalObscura's Simple StorageStatic grey #7E7E7E
Eye of EnderMinecraftPulse green #16FC9E
Etheric Eye, Seeking EyeEternal StarlightPulse #C0FF4E and #8600FC
16 End Remastered eyesEnd RemasteredPulse, each in its own colour
Enchanted BookMinecraftWhite pulse (see the note below)

The 16 End Remastered eyes are: Black, Cold, Corrupted, Lost, Nether, Old, Rogue, Cursed, Evil, Guardian, Magical, Wither, Witch, Undead, Exotic, Cryptic. Of those, Corrupted, Wither and Undead use white, and the others have their own colour. The point is that in a stack of look-alike eyes you can tell them apart from the colour alone. The colours are in config/glintsmith.json.

The enchanted book rule

The rule is named "Example: no outline on books", which is also the name of the example in a fresh install. In the pack's file, though, the rule's outline is switched on with a pulsing white colour, and it also sets the glint to the neutral texture with the rainbow tint. So enchanted books carry a pulsing white outline in Nytheria. This reading is from the config file. It has not been checked in game.

The settings screen#

Open it with /glintsmith, with the Mod Menu button, or with a key (see Commands and keys). It is built from vanilla widgets, in English and German, with a tooltip on every setting.

TabWhat is on it
OutlineMaster switch, places, which items, colour, thickness, softness, opacity, fade, proportional width, low durability alert, shader pack options
GlintMaster switch, the four layers with texture, tint, speed, scale, strength and rotation, atlas-independent scale, glint with shader packs
Model fixGap fix mode and the custom values
RulesAdd, edit, reorder and switch off rules
EnchantmentsThe outline colour of every enchantment

Live preview. A framed panel on the right shows the item in your main hand, outline and glint included, while you change settings. It follows every change at once, even unsaved ones in the rule editor and the colour picker. It turns slowly by itself. Drag to turn the item, right click to reset the view. A strip under the panel switches between your held item and a sample enchanted netherite sword. Short notes under it say why something is not shown, for example outlines off, a map in the hand, or a shader pack. In a narrow window the panel moves next to the footer buttons, and if there is no room it hides. The gap fix is not in the preview because it only changes after a resource reload.

Saving. Nothing is saved until you press Done. "Reset tab" puts the current tab back to the mod's built-in defaults (after a confirmation), not to the vanilla look.

Commands and keys#

These are client commands. They need no operator rights and are not sent to a server.

WhatEffect
/glintsmithOpens the settings screen
/glintsmith reloadReads glintsmith.json again and lists repaired values
/glintsmith toggleSwitches all outlines on or off, with a short action bar message
Key "Open Glintsmith settings"Opens the screen. Category Glintsmith. The mod leaves it unbound, Nytheria puts it on the F8 wheel
Key "Toggle item outlines"Same as /glintsmith toggle. The mod leaves it unbound, Nytheria puts it on the O wheel

Both keys share their key with other mods in Nytheria, so hold the key and pick the Glintsmith action on the wheel. Move them under Options, Controls, Key Binds if you want keys of their own. See Controls and Commands.

Shader packs and other mods#

ModHow Glintsmith behaves
Iris Shaders with a shader packOutlines and glints work on a best-effort basis, because they use Iris internals that have no public API. Tested with Iris 1.8.14-beta.1 and Complementary Unbound r5.9.3, which are the versions in the pack
SodiumSupported. The outline code hands Sodium its own vertex writer, so Sodium keeps its fast paths and logs no warning
ImmediatelyFastSupported. Hotbar batching works with outlines, and custom glints are applied to its buffers too
Mod MenuGives the settings button. Optional
Mods that replace the glint themselvesOne of them wins. Use only one glint mod

Under a shader pack:

  • World outlines (third person, worn armor, dropped items, item frames) are on by default through the switch "World with shader pack". Blocks hide them using the pack's own depth. They are drawn on top of the pack's final image, so they appear over water, glass, clouds, rain and particles. A pack that bends the world, such as with curvature, can misalign them. Tested only with Complementary Unbound.
  • Hand outlines stay on ("Hand with shader pack"), and the arm hides them.
  • Screen outlines (inventory, hotbar) work.
  • Glint is drawn in the world and the hand through the pack's own glint program ("Custom glint with shader pack", on by default), so tint and strength look different from pack to pack. Switch it off to keep the vanilla glint under shaders.
  • "Off with shader packs" turns every outline off while a pack is active. It is off in Nytheria.

See Performance & Shaders for the shader packs in the pack.

Config file#

The file is config/glintsmith.json. The mod reads it again about once a second when it changes on disk, and with /glintsmith reload, so you do not need to restart. A file that cannot be read is ignored: the previous settings stay and the problem is logged and shown. Values out of range are clamped, and invalid ones are reset. The repairs are listed in the log and by /glintsmith reload. Your own glint pictures go in config/glintsmith/glints/, and the screen has a button that opens the folder.

KeyMod defaultNytheria
outline.enabledtruetrue
outline.conditionENCHANTEDENCHANTED
outline.targetsall places on except othersame
outline.onlyLocalPlayerfalsefalse
outline.colorstatic #E6B2FFstatic #D088FC
outline.thickness7.57.5
outline.softness00
outline.opacity0.250.25
outline.proportionaltruetrue
outline.minThickness11
outline.fadeStart, outline.fadeEnd0, 00, 0
outline.disableWithShadersfalsefalse
outline.handWithShaderPacktruetrue
outline.worldWithShaderPacktruenot in the file, so true
glint.enabledtruetrue
glint.atlasIndependentScaletruetrue
glint.customWithShaderPacktruenot in the file, so true
glint.item, armor, entity, guineutral, rainbow tint #D088FC, speed 1.0, scale 1.0, strength 0.9, rotation 10same
gapFix.modeAUTOAUTO
gapFix.uvShrinkMultiplier00
gapFix.sideExpansion0.0050.005
gapFix.sideIndent0.00010.0001
gapFix.preciseSpansfalsefalse
durabilityAlerton, 0.10, #FF2A2Aon, 0.10, #FF2A2A
rulestwo examples27 rules (see above)

So Nytheria's file differs from a fresh install in two ways: the outline colour is #D088FC, and it carries the 27 rules.

How to#

Change the outline colour#

  1. Type /glintsmith.
  2. On the Outline tab, click the colour button and pick Static, Rainbow, Pulse, Gradient or Enchantment colors.
  3. Choose a colour in the picker or type a hex colour such as #FF8800.
  4. Watch the preview, then press Done.

Make one item stand out#

  1. Open the settings and go to the Rules tab.
  2. Add a rule. In the item box type the item id, for example minecraft:netherite_sword, or a tag or @modid.
  3. Set the outline to on and choose a colour.
  4. Put the rule below any rule that should not override it. Press Done.

Remove all outlines#

Turn off "Outlines" on the Outline tab, or press the toggle key if you bound one, or type /glintsmith toggle.

Get the vanilla glint back#

Turn off "Custom glint" on the Glint tab. Or set a layer's texture to vanilla.

Use your own glint picture#

  1. Put a PNG into config/glintsmith/glints/, for example mine.png.
  2. On the Glint tab, set a layer's texture to file:mine.png.
  3. Adjust tint, scale and rotation until it looks right.

Fix a crack in a model#

Stay on the gap fix Automatic mode. If an item still shows a seam, try Custom mode with a little more side expansion. Do not turn on precise spans unless you have a problem that nothing else solves, because it adds many faces.

FAQ#

Does it change anything for other players? No. It only changes how things look on your own screen. It is client only.

Why is my outline weak or missing under a shader pack? Outlines under shader packs are best effort. Check "World with shader pack" and "Hand with shader pack". Also make sure "Off with shader packs" is off. Complementary Unbound is the shader pack Glintsmith was tested with.

Why does an item have no outline? Only enchanted items get one by default. Items that are not enchanted need the "All items" choice or a rule. The place may also be switched off, or the item may be drawn without the game's normal item renderer (some mod screens do this).

Does it cost frames? In the author's own test scene in the Nytheria pack without a shader pack, three runs without the mod gave 656, 470 and 531 fps and three with it gave 496, 643 and 587 fps, within the noise of that scene. That says nothing about other scenes or machines.

Can I use it with another glint mod? Use only one. A mod that replaces the glint render types itself can win over Glintsmith or lose to it.

What are "stray pixels" on items? A single pixel at the edge of a flat item can take the colour of the neighbouring texture on the atlas. The gap fix's edge guard prevents it.

Credits#

Navrelis wrote Glintsmith, under the MIT licence. These projects gave the first ideas. No code, texture or data of them is in the mod.

  • Custom Glow Enchantment Outline by Moubarack drew outlines around enchanted items before this mod. Its source is "all rights reserved", so Glintsmith was written without it.
  • Model Gap Fix by MehVahdJukaar (GPL-3.0) describes the cause of MC-73186 and a way around it. The gap fix here was written from that description of the technique, not from its code.
  • The Rainbow Enchantment Glint and Enchantment Outlines resource packs showed what players want from a rainbow glint and from outlines. None of their files is used.

Minecraft is a trademark of Mojang. Glintsmith is not affiliated with Mojang, Microsoft or the authors above. Also see Credits.

See also#

Last updated 2026-12-01 Source: content/mod-glintsmith.md ↑ Back to top