Skip to content
This repository has been archived by the owner on Sep 15, 2024. It is now read-only.

Commit

Permalink
add nametag background color description
Browse files Browse the repository at this point in the history
  • Loading branch information
MicrocontrollersDev committed Feb 13, 2024
1 parent 675ab60 commit 4f1ffa3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@ Downloads can be found on the [Modrinth page](https://modrinth.com/mod/nametagtw
- Hide Entity Nametags in F1 Mode
- Hide Player Nametags in F1 Mode
- Hide Armor Stand Nametags in F1 Mode
- Nametag Height Offset
- Custom Nametag Background Color
- Nametag Text Shadow (slightly broken)
- Nametag Scale
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ public static Screen configScreen(Screen parent) {
.build())
.option(Option.<Color>createBuilder()
.name(Text.literal("Nametag Background Color"))
.description(OptionDescription.of(Text.of("Allows setting a custom color for the background of nametags.")))
.binding(defaults.nametagColor, () -> config.nametagColor, value -> config.nametagColor = value)
.customController(opt -> new ColorController(opt, true))
.build())
Expand Down

0 comments on commit 4f1ffa3

Please sign in to comment.