File tree Expand file tree Collapse file tree 4 files changed +5
-80
lines changed
core/src/main/java/com/rappytv/glintcolorizer/core
v1_21_1/java/com/rappytv/glintcolorizer/v1_21_1/mixins
v1_21/java/com/rappytv/glintcolorizer/v1_21/mixins Expand file tree Collapse file tree 4 files changed +5
-80
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ plugins {
66val versions = providers.gradleProperty(" net.labymod.minecraft-versions" ).get().split(" ;" )
77
88group = " org.example"
9- version = providers.environmentVariable(" VERSION" ).getOrElse(" 1.0.0 " )
9+ version = providers.environmentVariable(" VERSION" ).getOrElse(" 1.0.1-pre1 " )
1010
1111labyMod {
1212 defaultPackageName = " com.rappytv.glintcolorizer"
@@ -16,7 +16,7 @@ labyMod {
1616 displayName = " GlintColorizer"
1717 author = " RappyTV"
1818 description = " Lets you adjust the color of enchanted items and armor."
19- minecraftVersion = " 1.8.9,1.12.2 "
19+ minecraftVersion = " 1.8.9<1.21.4 "
2020 version = rootProject.version.toString()
2121 }
2222
Original file line number Diff line number Diff line change 88import net .labymod .api .client .gui .screen .widget .widgets .input .dropdown .DropdownWidget .DropdownSetting ;
99import net .labymod .api .configuration .loader .annotation .SpriteSlot ;
1010import net .labymod .api .configuration .loader .annotation .SpriteTexture ;
11+ import net .labymod .api .configuration .loader .annotation .VersionCompatibility ;
1112import net .labymod .api .configuration .loader .property .ConfigProperty ;
1213import net .labymod .api .configuration .settings .annotation .SettingRequires ;
1314import net .labymod .api .configuration .settings .annotation .SettingSection ;
@@ -35,11 +36,13 @@ public class GlintColorizerConfig extends AddonConfig {
3536 private final ConfigProperty <Color > customItemGlintColor = new ConfigProperty <>(Color .WHITE );
3637
3738 @ SettingSection ("armor" )
39+ @ VersionCompatibility ("1.8<1.20.6" )
3840 @ SpriteSlot (x = 2 )
3941 @ SwitchSetting
4042 private final ConfigProperty <Boolean > enableCustomArmorGlintColor = new ConfigProperty <>(true );
4143
4244 @ SettingRequires ("enableCustomArmorGlintColor" )
45+ @ VersionCompatibility ("1.8<1.20.6" )
4346 @ SpriteSlot (size = 32 , x = 3 )
4447 @ ColorPickerSetting (chroma = true )
4548 private final ConfigProperty <Color > customArmorGlintColor = new ConfigProperty <>(NamedTextColor .AQUA .color ());
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments