Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
Mixces committed Jun 29, 2024
2 parents f31dd92 + 35370a6 commit 4f4ce03
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 17 deletions.
19 changes: 15 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,21 @@
<img align="right" src="src/main/resources/glintcolorizer_dark.svg" alt="GlintColorizer Icon"/>

# GlintColorizer

![Compact Powered by OneConfig](https://polyfrost.org/img/compact_vector.svg)
![Dev Workflow Status](https://img.shields.io/github/v/release/Polyfrost/GlintColorizer.svg?style=for-the-badge&color=1452cc&label=release)

### Customize the glint of enchanted items.
An Overly Complex Glint Customizer

## Features

- Glint Color
- Individual Stroke Color
- Sliding Speed
- Rotation
- Scale
- Shiny Pots

## Gallery

Allows changing:
- The color
- Whether to apply to potion background
![settings-page.png](images/settings-page.png)
Binary file added images/settings-page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 0 additions & 13 deletions src/main/kotlin/org/polyfrost/glintcolorizer/config/GlintConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ object GlintConfig : Config(
framedItem.reset(true)
shinyPots.reset(true)
armorColor = OneColor(defaultColor)
save()
openGui()
}

@Button(
Expand All @@ -52,8 +50,6 @@ object GlintConfig : Config(
droppedItem.reset2()
framedItem.reset2()
shinyPots.reset2()
save()
openGui()
}

@Button(
Expand All @@ -68,8 +64,6 @@ object GlintConfig : Config(
potionGlintBackground = false
potionBasedColor = false
potionGlintForeground = false
save()
openGui()
}

@Color(
Expand Down Expand Up @@ -101,8 +95,6 @@ object GlintConfig : Config(
droppedItem.individualStrokes = false
framedItem.individualStrokes = false
shinyPots.individualStrokes = false
save()
openGui()
}

@Button(
Expand All @@ -118,9 +110,6 @@ object GlintConfig : Config(
droppedItem.glintColor = OneColor(oldGlintValue)
framedItem.glintColor = OneColor(oldGlintValue)
shinyPots.glintColor = OneColor(oldGlintValue)

save()
openGui()
}

/* Held Items */
Expand Down Expand Up @@ -157,8 +146,6 @@ object GlintConfig : Config(
)
var resetArmor = Runnable {
armorColor = OneColor(defaultColor)
save()
openGui()
}

@Switch(
Expand Down

0 comments on commit 4f4ce03

Please sign in to comment.