Skip to content

Commit fd88301

Browse files
committed
Finish config shit
1 parent 71bde54 commit fd88301

25 files changed

+259
-259
lines changed

README.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ want to suggest features, join our [discord](https://discord.gg/U48eDmst68)!
5050
- fakeOldSneakEyeHeight
5151
- Description: Changes the sneak eye height to be as it was in <=1.13.2 visually.
5252
- Type: BOOLEAN
53-
- oldSneakingFeetPosition
53+
- sneakingFeetPosition
5454
- Description: Fixes the sneaking model offset to be like <1.14?
5555
- Type: BOOLEAN
5656
- syncPlayerModelWithEyeHeight
@@ -62,10 +62,10 @@ want to suggest features, join our [discord](https://discord.gg/U48eDmst68)!
6262

6363
### Cape
6464

65-
- oldCapeMovement
65+
- capeMovement
6666
- Description: Changes the cape model movement to be how it used to be in <=1.12.x.
6767
- Type: BOOLEAN
68-
- dontClampCapeLean
68+
- clampCapeLean
6969
- Description: Removes the cape lean restriction. Disable this to match OptiFine cape physics.
7070
- Type: BOOLEAN
7171
- capeSwingRotation
@@ -75,7 +75,7 @@ want to suggest features, join our [discord](https://discord.gg/U48eDmst68)!
7575
- capeChestplateTranslation
7676
- Description: Stops equipping a chestplate causing the cape to be translated a few pixels away like in <=1.15.x
7777
- Type: BOOLEAN
78-
- oldCapeSneakPosition
78+
- capeSneakPosition
7979
- Description: Positions the cape while sneaking similarly to <=1.7.x
8080
- Type: BOOLEAN
8181

@@ -87,22 +87,22 @@ want to suggest features, join our [discord](https://discord.gg/U48eDmst68)!
8787
- uncapBlockingHeadRotation
8888
- Description: Reverts the change in 1.20.2, making head rotation when blocking as it used to be.
8989
- Type: BOOLEAN
90-
- removeHeadRotationInterpolation
91-
- Description: Removes the head rotation interpolation like in <=1.7.x.
90+
- headRotationInterpolation
91+
- Description: Enable/disable the head rotation interpolation like in <=1.7.x.
9292
- Type: BOOLEAN
9393
- fixVerticalBobbingTilt
9494
- Description: Brings back the camera tilting when falling/flying up like it was in <=1.13.x. (Fixes MC-225335)
9595
- Type: BOOLEAN
96-
- oldViewBobbing
96+
- viewBobbing
9797
- Description: Undoes the 1.21.2+ view bobbing change where when sneaking, your hand still moves normally.
9898
- Type: BOOLEAN
99-
- oldDeathLimbs
99+
- deathLimbs
100100
- Description: Makes entities continue their animation even upon death.
101101
- Type: BOOLEAN
102-
- oldBowArmMovement
102+
- bowArmMovement
103103
- Description: Restores old player body movement in third-person when using the bow like in <=1.7?
104104
- Type: BOOLEAN
105-
- oldDamageTilt
105+
- damageTilt
106106
- Description: Reverts the damage tilt to it's old logic which will tilt in one direction <1.19.4.
107107
- Type: BOOLEAN
108108
</details>
@@ -112,13 +112,13 @@ want to suggest features, join our [discord](https://discord.gg/U48eDmst68)!
112112

113113
## 📷 Screen
114114

115-
- showCrosshairInThirdperson
115+
- crosshairInThirdPerson
116116
- Description: Show crosshair whilst in thirdperson like in <=1.8.x.
117117
- Type: BOOLEAN
118118
- fixHighAttackSpeedIndicator
119119
- Description: Hides the attack indicator when you have such a high attack speed. (Fixes MC-268420)
120120
- Type: BOOLEAN
121-
- removeHeartFlash
121+
- heartFlash
122122
- Description: Remove heart blinking like in <=1.7.x.
123123
- Type: BOOLEAN
124124
- fixTextStrikethroughStyle
@@ -127,34 +127,34 @@ want to suggest features, join our [discord](https://discord.gg/U48eDmst68)!
127127
- centerScrollableListWidgets
128128
- Description: Center scrollable list widgets like <=1.7.x.
129129
- Type: BOOLEAN
130-
- oldListWidgetSelectedBorderColor
130+
- listWidgetSelectedBorderColor
131131
- Description: Returns the old list widget selected border color from <=1.15?
132132
- Type: BOOLEAN
133-
- oldButtonTextColors
133+
- buttonTextColors
134134
- Description: Bring back the old yellow hover/grayish text colors like in <=1.14.4.
135135
- Type: BOOLEAN
136-
- removeDebugHudBackground
137-
- Description: Remove the F3 Debug Hud background.
136+
- debugHudBackground
137+
- Description: Enable/disable the F3 Debug Hud background.
138138
- Type: BOOLEAN
139139
- debugHudTextShadow
140140
- Description: Add text-shadow to F3 Debug Hud.
141141
- Type: BOOLEAN
142-
- disableCameraTransparentPassthrough
143-
- Description: Stops camera passthrough in thirdperson in glass/etc like in <=1.15.
142+
- cameraTransparentPassthrough
143+
- Description: Enable/disable camera passthrough in thirdperson in glass/etc like in <=1.15.
144144
- Type: BOOLEAN
145-
- oldTooltipStyleRendering
145+
- tooltipStyleRendering
146146
- Description: Restores the corners of the tooltip texture that were removed in 1.21.2.
147147
- Type: BOOLEAN
148148
- Note: If you are using a resource pack with a custom tooltip texture, turn this setting OFF to not cause issues!
149-
- oldSlotHoverStyleRendering
149+
- slotHoverStyleRendering
150150
- Description: Restores the old inventory slot hover visual to how it was prior to 1.21.2.
151151
- Type: BOOLEAN
152152
- Note: If you are using a resource pack with a custom slot hover texture, turn this setting OFF to not cause
153153
issues!
154-
- oldEffectsInventoryPosition
154+
- effectsInventoryPosition
155155
- Description: Restores the old potion effects status position in the inventory to like it was in <=1.11/1.19.
156156
- Type: BOOLEAN
157-
- hideRecipeBook
157+
- recipeBook
158158
- Description: Hides the recipe book from the inventory, including the button.
159159
- Type: BOOLEAN
160160
- cameraVersion

src/main/java/btw/mixces/animatium/config/AnimatiumConfig.java

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -67,40 +67,37 @@ public static AnimatiumConfig instance() {
6767
@SerialEntry public boolean smoothSneaking = true;
6868
@SerialEntry public boolean sneakAnimationInterpolation = false;
6969
@SerialEntry public boolean fakeOldSneakEyeHeight = false;
70-
@SerialEntry public boolean oldSneakingFeetPosition = true; //todo
70+
@SerialEntry public boolean sneakingFeetPosition = true;
7171
@SerialEntry public boolean syncPlayerModelWithEyeHeight = false;
7272
@SerialEntry public boolean sneakAnimationWhileFlying = true;
7373
// (Movement) Other
7474
@SerialEntry public boolean rotateBackwardsWalking = true;
7575
@SerialEntry public boolean uncapBlockingHeadRotation = true;
76-
@SerialEntry public boolean removeHeadRotationInterpolation = true; //todo
77-
@SerialEntry public boolean fixVerticalBobbingTilt = true;
78-
@SerialEntry public boolean oldViewBobbing = true; //todo
79-
@SerialEntry public boolean oldDeathLimbs = true; //todo
80-
@SerialEntry public boolean oldBowArmMovement = true; //todo
81-
@SerialEntry public boolean oldDamageTilt = false; //todo
76+
@SerialEntry public boolean headRotationInterpolation = false;
77+
@SerialEntry public boolean viewBobbing = true;
78+
@SerialEntry public boolean deathLimbs = true;
79+
@SerialEntry public boolean bowArmMovement = true;
80+
@SerialEntry public boolean damageTilt = false;
8281
// (Movement) Cape
83-
@SerialEntry public boolean oldCapeMovement = true; //todo
84-
@SerialEntry public boolean dontClampCapeLean = false; //todo
82+
@SerialEntry public boolean capeMovement = true;
83+
@SerialEntry public boolean clampCapeLean = false;
8584
@SerialEntry public boolean capeSwingRotation = true;
8685
@SerialEntry public boolean capeChestplateTranslation = true;
87-
@SerialEntry public boolean oldCapeSneakPosition = false; //todo
86+
@SerialEntry public boolean capeSneakPosition = false;
8887

8988
// (Screen)
90-
@SerialEntry public boolean showCrosshairInThirdperson = false; //todo
91-
@SerialEntry public boolean fixHighAttackSpeedIndicator = true; //todo
92-
@SerialEntry public boolean removeHeartFlash = true; //todo
93-
@SerialEntry public boolean fixTextStrikethroughStyle = true; //todo
94-
@SerialEntry public boolean centerScrollableListWidgets = false; //todo
95-
@SerialEntry public boolean oldListWidgetSelectedBorderColor = true; //todo
96-
@SerialEntry public boolean oldButtonTextColors = true; //todo
97-
@SerialEntry public boolean removeDebugHudBackground = false; //todo
98-
@SerialEntry public boolean debugHudTextShadow = false; //todo
99-
@SerialEntry public boolean disableCameraTransparentPassthrough = false; //todo
100-
@SerialEntry public boolean oldTooltipStyleRendering = true; //todo
101-
@SerialEntry public boolean oldSlotHoverStyleRendering = true; //todo
102-
@SerialEntry public boolean oldEffectsInventoryPosition = true; //todo
103-
@SerialEntry public boolean hideRecipeBook = false; //todo
89+
@SerialEntry public boolean crosshairInThirdPerson = false;
90+
@SerialEntry public boolean heartFlash = false;
91+
@SerialEntry public boolean centerScrollableListWidgets = false;
92+
@SerialEntry public boolean listWidgetSelectedBorderColor = true;
93+
@SerialEntry public boolean buttonTextColors = true;
94+
@SerialEntry public boolean debugHudBackground = true;
95+
@SerialEntry public boolean debugHudTextShadow = false;
96+
@SerialEntry public boolean cameraTransparentPassthrough = true;
97+
@SerialEntry public boolean tooltipStyleRendering = true;
98+
@SerialEntry public boolean slotHoverStyleRendering = true;
99+
@SerialEntry public boolean effectsInventoryPosition = true;
100+
@SerialEntry public boolean recipeBook = false;
104101
@SerialEntry public CameraVersion cameraVersion = CameraVersion.V1_8;
105102

106103
// (Items)
@@ -150,6 +147,9 @@ public static AnimatiumConfig instance() {
150147
@SerialEntry public boolean fixCastLineSwing = true;
151148
@SerialEntry public boolean fixEquipAnimation = true;
152149
@SerialEntry public boolean fixFireballClientsideVisual = true;
150+
@SerialEntry public boolean fixTextStrikethroughStyle = true;
151+
@SerialEntry public boolean fixHighAttackSpeedIndicator = true;
152+
@SerialEntry public boolean fixVerticalBobbingTilt = true;
153153
@SerialEntry public boolean upMinPixelTransparencyLimit = true;
154154

155155
// (Other)

src/main/java/btw/mixces/animatium/config/category/FixesConfigCategory.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,33 @@ public static ConfigCategory setup(AnimatiumConfig defaults, AnimatiumConfig con
9898
(newVal) -> config.fixFireballClientsideVisual = newVal)
9999
.controller(TickBoxControllerBuilder::create)
100100
.build());
101+
category.option(Option.<Boolean>createBuilder()
102+
.name(Component.translatable("animatium.fixTextStrikethroughStyle"))
103+
.description(OptionDescription.of(Component.translatable("animatium.fixTextStrikethroughStyle.description")))
104+
.binding(
105+
defaults.fixTextStrikethroughStyle,
106+
() -> config.fixTextStrikethroughStyle,
107+
(newVal) -> config.fixTextStrikethroughStyle = newVal)
108+
.controller(TickBoxControllerBuilder::create)
109+
.build());
110+
category.option(Option.<Boolean>createBuilder()
111+
.name(Component.translatable("animatium.fixHighAttackSpeedIndicator"))
112+
.description(OptionDescription.of(Component.translatable("animatium.fixHighAttackSpeedIndicator.description")))
113+
.binding(
114+
defaults.fixHighAttackSpeedIndicator,
115+
() -> config.fixHighAttackSpeedIndicator,
116+
(newVal) -> config.fixHighAttackSpeedIndicator = newVal)
117+
.controller(TickBoxControllerBuilder::create)
118+
.build());
119+
category.option(Option.<Boolean>createBuilder()
120+
.name(Component.translatable("animatium.fixVerticalBobbingTilt"))
121+
.description(OptionDescription.of(Component.translatable("animatium.fixVerticalBobbingTilt.description")))
122+
.binding(
123+
defaults.fixVerticalBobbingTilt,
124+
() -> config.fixVerticalBobbingTilt,
125+
(newVal) -> config.fixVerticalBobbingTilt = newVal)
126+
.controller(TickBoxControllerBuilder::create)
127+
.build());
101128
category.option(Option.<Boolean>createBuilder()
102129
.name(Component.translatable("animatium.upMinPixelTransparencyLimit"))
103130
.description(OptionDescription.of(Component.translatable("animatium.upMinPixelTransparencyLimit.description")))

0 commit comments

Comments
 (0)