On this page (30)
- What it is and why Nytheria has it
- The short version
- Item outlines
- Where outlines are drawn
- Which items get one
- How it looks
- Colours
- Low durability alert
- Enchantment glint
- Textures
- Tint, speed and strength
- Big texture atlas
- Switching it off
- Model gap fix
- Rules: special looks for single items
- Nytheria's 27 rules
- The settings screen
- Commands and keys
- Shader packs and other mods
- Config file
- How to
- Change the outline colour
- Make one item stand out
- Remove all outlines
- Get the vanilla glint back
- Use your own glint picture
- Fix a crack in a model
- FAQ
- Credits
- See also
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
/glintsmithor 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).
| Place | Default | Nytheria |
|---|---|---|
| First-person hand | On | On |
| Third-person held items (players and mobs) | On | On |
| Dropped items | On | On |
| Item frames | On | On |
| Worn armor, including worn elytra | On | On |
| Items in the screens (inventory, hotbar, menus) | On | On |
| Other places, such as items worn on the head | Off | Off |
Which items get one#
The Outline setting has three choices. Nytheria uses the default.
| Choice | Meaning |
|---|---|
| Enchanted items | Items with enchantments, and items that only show the vanilla glint. Default and Nytheria's setting |
| All items | Every item gets an outline |
| Only items matched by rules | No 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#
| Setting | Range | Default and Nytheria |
|---|---|---|
| Thickness | 0.5 to 16 screen pixels | 7.5 |
| Softness | 0 to 1 | 0 |
| Opacity | 0 to 100 % | 25 % |
| Distance fade (start and end) | 0 to 256 blocks | 0 and 0, so no fade |
| Proportional | on or off | On |
| Minimum width | 0.5 to 8 pixels | 1 |
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.
| Mode | What it does |
|---|---|
| Static | One fixed colour |
| Rainbow | Cycles through all hues |
| Pulse | With one colour the brightness pulses. With two or more it fades back and forth between the first two |
| Gradient | Fades through up to 16 colours in order and loops |
| Enchantment colors | Fades 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.
| Layer | Where you see it |
|---|---|
| Items | Held, dropped and in item frames |
| Armor | Worn armor, elytra and armor on stands |
| Entities | Items and gear on mobs |
| GUI | Items in your inventory, hotbar and menus |
Textures#
For each layer you choose a texture.
| Texture | Look |
|---|---|
vanilla | The normal game glint |
preset:neutral | A grey version of the vanilla glint that is made for tinting. This is Nytheria's choice |
preset:rainbow, aurora, fire, frost, sparkle, gold, void | Soft diagonal streaks like the vanilla glint over an even glow in the preset's colours |
preset:inferno | Rising flame tongues |
preset:nebula | Swirling clouds with stars |
preset:starlight | Four-pointed sparkles |
preset:opal | Iridescent flashes |
preset:storm | Branching lightning |
file:<name>.png | Your own picture from config/glintsmith/glints/ |
namespace:path | A 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.
| Setting | Range | Default and Nytheria |
|---|---|---|
| Speed | 0 to 10 | 1.0 |
| Scale | 0.1 to 10 | 1.0 |
| Strength | 0 to 1 | 0.9 |
| Rotation | -180 to 180 degrees | 10 |
| Tint | any colour style | Rainbow, 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.
| Mode | What it does |
|---|---|
| Off | Nothing |
| Automatic | The 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 |
| Custom | Your 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
*_swordormymod:* - 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.
| Item | Mod | Outline |
|---|---|---|
| Totem of Undying | Minecraft | Static pale yellow #FFF3A5 |
| Totem of Decay | Outline on with the default colour | |
| Totem of Freezing | Static blue #4189FF | |
| Totem of Illusion | Static violet #D252FF | |
| Chorus Totem | Static purple #AE46FF | |
| Angel Ring | Static cyan #00D1FC, plus a rainbow glint tint at speed 0.65 | |
| Advanced Wireless Terminal | Static grey #7E7E7E | |
| Eye of Ender | Minecraft | Pulse green #16FC9E |
| Etheric Eye, Seeking Eye | Pulse #C0FF4E and #8600FC | |
| 16 End Remastered eyes | Pulse, each in its own colour | |
| Enchanted Book | Minecraft | White 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.
| Tab | What is on it |
|---|---|
| Outline | Master switch, places, which items, colour, thickness, softness, opacity, fade, proportional width, low durability alert, shader pack options |
| Glint | Master switch, the four layers with texture, tint, speed, scale, strength and rotation, atlas-independent scale, glint with shader packs |
| Model fix | Gap fix mode and the custom values |
| Rules | Add, edit, reorder and switch off rules |
| Enchantments | The 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.
| What | Effect |
|---|---|
/glintsmith | Opens the settings screen |
/glintsmith reload | Reads glintsmith.json again and lists repaired values |
/glintsmith toggle | Switches 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#
| Mod | How Glintsmith behaves |
|---|---|
| Outlines 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 | |
| Supported. The outline code hands Sodium its own vertex writer, so Sodium keeps its fast paths and logs no warning | |
| Supported. Hotbar batching works with outlines, and custom glints are applied to its buffers too | |
| Gives the settings button. Optional | |
| Mods that replace the glint themselves | One 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.
| Key | Mod default | Nytheria |
|---|---|---|
outline.enabled | true | true |
outline.condition | ENCHANTED | ENCHANTED |
outline.targets | all places on except other | same |
outline.onlyLocalPlayer | false | false |
outline.color | static #E6B2FF | static #D088FC |
outline.thickness | 7.5 | 7.5 |
outline.softness | 0 | 0 |
outline.opacity | 0.25 | 0.25 |
outline.proportional | true | true |
outline.minThickness | 1 | 1 |
outline.fadeStart, outline.fadeEnd | 0, 0 | 0, 0 |
outline.disableWithShaders | false | false |
outline.handWithShaderPack | true | true |
outline.worldWithShaderPack | true | not in the file, so true |
glint.enabled | true | true |
glint.atlasIndependentScale | true | true |
glint.customWithShaderPack | true | not in the file, so true |
glint.item, armor, entity, gui | neutral, rainbow tint #D088FC, speed 1.0, scale 1.0, strength 0.9, rotation 10 | same |
gapFix.mode | AUTO | AUTO |
gapFix.uvShrinkMultiplier | 0 | 0 |
gapFix.sideExpansion | 0.005 | 0.005 |
gapFix.sideIndent | 0.0001 | 0.0001 |
gapFix.preciseSpans | false | false |
durabilityAlert | on, 0.10, #FF2A2A | on, 0.10, #FF2A2A |
rules | two examples | 27 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#
- Type
/glintsmith. - On the Outline tab, click the colour button and pick Static, Rainbow, Pulse, Gradient or Enchantment colors.
- Choose a colour in the picker or type a hex colour such as
#FF8800. - Watch the preview, then press Done.
Make one item stand out#
- Open the settings and go to the Rules tab.
- Add a rule. In the item box type the item id, for example
minecraft:netherite_sword, or a tag or@modid. - Set the outline to on and choose a colour.
- 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#
- Put a PNG into
config/glintsmith/glints/, for examplemine.png. - On the Glint tab, set a layer's texture to
file:mine.png. - 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#
- Made for Nytheria - every mod Navrelis made for the pack
- Enchanting & Anvils - enchanting, the anvil and book handling
- Atmosphere & Visuals - the look of the world
- Performance & Shaders - shader packs and speed
- Controls - keys and the Polybind wheel