Added requires on features

This commit is contained in:
2026-03-24 12:55:03 +01:00
parent 3d0b95b566
commit dceff0e675
11 changed files with 22 additions and 11 deletions
@@ -31,7 +31,8 @@ public class SpeedometerMod extends Mod implements HudMod {
new ModSpec("Speedometer", "speed")
.description("Displays your current movement speed")
.version("v0.2.0")
.tags("Utility"),
.tags("Utility")
.requires(Providers.feature::player),
enabled.named("Enabled"),
axis.named("Speed type"),
unitText.named("Unit text"),