Skip to content
This repository was archived by the owner on Nov 3, 2025. It is now read-only.

Commit 8930fcd

Browse files
committed
Fix config naming consistency & Remove removed setting from README
1 parent 826a049 commit 8930fcd

File tree

5 files changed

+11
-14
lines changed

5 files changed

+11
-14
lines changed

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ want to suggest features, join our [discord](https://discord.gg/U48eDmst68)!
3535
- minimalViewBobbing
3636
- Description: Removes the view bobbing from tilting the world.
3737
- Type: BOOLEAN
38-
- nameTagInThirdperson
38+
- nameTagInThirdPerson
3939
- Description: Show the player nametag whilst in third-person.
4040
- Type: BOOLEAN
4141
- nameTagBackground
@@ -70,9 +70,6 @@ want to suggest features, join our [discord](https://discord.gg/U48eDmst68)!
7070
- dontMoveBlueVoid
7171
- Description: Stops the blue void sky from moving based on eye height. [Requires blueVoidSky to be enabled]
7272
- Type: BOOLEAN
73-
- usageSwingingParticles
74-
- Description: Shows fake block-breaking particles during usage swinging to match <=1.7.x.
75-
- Type: BOOLEAN
7673
- entityDeathTopple
7774
- Description: Toggle the dying entity from rotating 90 degrees.
7875
- Type: BOOLEAN

src/main/java/btw/lowercase/animatium_extras/config/AnimatiumExtrasConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public static AnimatiumExtrasConfig instance() {
5656
}
5757

5858
@SerialEntry public boolean minimalViewBobbing = false;
59-
@SerialEntry public boolean nameTagInThirdperson = false;
59+
@SerialEntry public boolean nameTagInThirdPerson = false;
6060
@SerialEntry public boolean nameTagBackground = true;
6161
@SerialEntry public boolean nameTagTextShadow = false;
6262
@SerialEntry public boolean debugHudTextColor = false;

src/main/java/btw/lowercase/animatium_extras/config/catgory/QOLConfigCategory.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ public static ConfigCategory setup(AnimatiumExtrasConfig defaults, AnimatiumExtr
4444
.controller(TickBoxControllerBuilder::create)
4545
.build());
4646
category.option(Option.<Boolean>createBuilder()
47-
.name(Component.translatable("animatium_extras.nameTagInThirdperson"))
48-
.description(OptionDescription.of(Component.translatable("animatium_extras.nameTagInThirdperson.description")))
47+
.name(Component.translatable("animatium_extras.nameTagInThirdPerson"))
48+
.description(OptionDescription.of(Component.translatable("animatium_extras.nameTagInThirdPerson.description")))
4949
.binding(
50-
defaults.nameTagInThirdperson,
51-
() -> config.nameTagInThirdperson,
52-
(newVal) -> config.nameTagInThirdperson = newVal)
50+
defaults.nameTagInThirdPerson,
51+
() -> config.nameTagInThirdPerson,
52+
(newVal) -> config.nameTagInThirdPerson = newVal)
5353
.controller(TickBoxControllerBuilder::create)
5454
.build());
5555
category.option(Option.<Boolean>createBuilder()

src/main/java/btw/lowercase/animatium_extras/mixins/renderer/entity/MixinLivingEntityRenderer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
@Mixin(LivingEntityRenderer.class)
4141
public abstract class MixinLivingEntityRenderer<S extends LivingEntityRenderState> {
4242
@WrapOperation(method = "shouldShowName(Lnet/minecraft/world/entity/LivingEntity;D)Z", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/Minecraft;getCameraEntity()Lnet/minecraft/world/entity/Entity;"))
43-
private Entity animatium_extras$showNametagInThirdperson(Minecraft instance, Operation<Entity> original) {
44-
if (AnimatiumClient.isEnabled() && AnimatiumExtrasConfig.instance().nameTagInThirdperson) {
43+
private Entity animatium_extras$nameTagInThirdPerson(Minecraft instance, Operation<Entity> original) {
44+
if (AnimatiumClient.isEnabled() && AnimatiumExtrasConfig.instance().nameTagInThirdPerson) {
4545
return null;
4646
} else {
4747
return original.call(instance);

src/main/resources/assets/animatium_extras/lang/en_us.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"animatium_extras.category.qol": "Quality of Life",
55
"animatium_extras.minimalViewBobbing": "Minimal view bobbing",
66
"animatium_extras.minimalViewBobbing.description": "Removes the view bobbing from tilting the world.",
7-
"animatium_extras.nameTagInThirdperson": "Show nametag in third-person",
8-
"animatium_extras.nameTagInThirdperson.description": "Show the player nametag whilst in third-person.",
7+
"animatium_extras.nameTagInThirdPerson": "Show nametag in third-person",
8+
"animatium_extras.nameTagInThirdPerson.description": "Show the player nametag whilst in third-person.",
99
"animatium_extras.nameTagBackground": "Hide nametag background",
1010
"animatium_extras.nameTagBackground.description": "Toggle the nametag background.",
1111
"animatium_extras.nameTagTextShadow": "Apply text shadow to nametag",

0 commit comments

Comments
 (0)