Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

Custom Block Outline

This is a simple mod to change the look of the highlighted block. That's it.

News!

I've finally gotten the time to work on mods again, so here we are! I've fixed up a bunch of old bugs and crashes and added more features to this mod. It is also now open source.

Old versions of this mod require MidnightLib to work, but I've switched to YACL for modern versions. In hindsight, that might have been a mistake, since you don't see your settings in real time due to the dirt background screen, but at least it looks nicer now !!

Options

  • Outline
    • Enabled
    • Color
    • Alpha
    • Line width
    • Mode
      • Default - render the outline like in vanilla
      • All - render all sides of the block
      • Air exposed - render sides of the block that are exposed to air
      • Concealed faces - render the faces that are in contact with other blocks
      • Looked at - render only the side that you are looking at.
    • Adjust size by - makes the cube smaller or larger based on the setting (this can be used to combat Z-fighting if you are experiencing it, but you have to manually edit the configuration file and specify a very small value)
    • Connected outlines - this will make the outline select multiple blocks if they are connected. This applies to both the fill and outline.
  • Fill
    • Enabled
    • Color
    • Alpha
    • Mode - same thing as above.
    • Adjust size by
  • Easing
    • Ease movement - whether or not to animate the block moving from one to another.
    • Ease speed - how fast the animation is. Due to my janky code, the speed depends on your game's FPS, so if it looks weird, play around with this setting.
    • Easing mode - select a function to use for easing. For more details see https://easings.net/

Roadmap

  • Gradients / Chroma for colors
  • Screen-space outline
  • Advanced outline models
  • More rendering modes
  • Easing rewrite
  • Backend rewrite

Contact

I won't backport this mod to older versions since I'm using YACL V3, which only supports downwards to 1.19.4.

If you want to contact me about anything regarding the mod (e.g suggestions / feature requests, bug reports, translations, etc.), join the discord linked, or just DM me @tektonikal

External resources



Project members

Tektonikal

Owner


Technical information

License
LGPL-3.0-only
Client side
required
Server side
unsupported
Project ID