Compilation failed with 22 error(s):
ERROR in src/main/java/com/futurehud/screen/FutureHudSettingsScreen.java at line 38: incompatible types: String cannot be converted to Text
colorButton = addButton(new ButtonWidget(controlsX, y, 190, 20, colorLabel(), button -> {
^
ERROR in src/main/java/com/futurehud/screen/FutureHudSettingsScreen.java at line 45: incompatible types: String cannot be converted to Text
scaleButton = addButton(new ButtonWidget(controlsX, y, 190, 20, scaleLabel(), button -> {
^
ERROR in src/main/java/com/futurehud/screen/FutureHudSettingsScreen.java at line 52: incompatible types: String cannot be converted to Text
opacityButton = addButton(new ButtonWidget(controlsX, y, 190, 20, opacityLabel(), button -> {
^
ERROR in src/main/java/com/futurehud/screen/FutureHudSettingsScreen.java at line 62: incompatible types: String cannot be converted to Text
speedButton = addButton(new ButtonWidget(controlsX, y, 190, 20, toggleLabel("Speed", config.showSpeed), button -> {
^
ERROR in src/main/java/com/futurehud/screen/FutureHudSettingsScreen.java at line 68: incompatible types: String cannot be converted to Text
fpsButton = addButton(new ButtonWidget(controlsX, y, 190, 20, toggleLabel("FPS", config.showFps), button -> {
^
ERROR in src/main/java/com/futurehud/screen/FutureHudSettingsScreen.java at line 74: incompatible types: String cannot be converted to Text
pingButton = addButton(new ButtonWidget(controlsX, y, 190, 20, toggleLabel("Ping", config.showPing), button -> {
^
ERROR in src/main/java/com/futurehud/screen/FutureHudSettingsScreen.java at line 80: incompatible types: String cannot be converted to Text
coordinatesButton = addButton(new ButtonWidget(controlsX, y, 190, 20, toggleLabel("Coordinates", config.showCoordinates), button -> {
^
ERROR in src/main/java/com/futurehud/screen/FutureHudSettingsScreen.java at line 86: incompatible types: String cannot be converted to Text
statusButton = addButton(new ButtonWidget(controlsX, y, 190, 20, toggleLabel("Status", config.showStatus), button -> {
^
ERROR in src/main/java/com/futurehud/screen/FutureHudSettingsScreen.java at line 93: cannot find symbol
addButton(new ButtonWidget(controlsX, y, 92, 20, new LiteralText("Reset Pos"), button -> {
^
symbol: method addButton(ButtonWidget)
location: class FutureHudSettingsScreen
ERROR in src/main/java/com/futurehud/screen/FutureHudSettingsScreen.java at line 98: cannot find symbol
addButton(new ButtonWidget(controlsX + 98, y, 92, 20, new LiteralText("Done"), button -> closeScreen()));
^
symbol: method addButton(ButtonWidget)
location: class FutureHudSettingsScreen
ERROR in src/main/java/com/futurehud/hud/FutureHudRenderer.java at line 57: cannot find symbol
drawText(client, matrices, String.format(Locale.ROOT, "FPS %3d", client.getCurrentFps()), 11, line, accent);
^
symbol: method getCurrentFps()
location: variable client of type MinecraftClient
ERROR in src/main/java/com/futurehud/screen/FutureHudSettingsScreen.java at line 38: incompatible types: String cannot be converted to Text
colorButton = addButton(new ButtonWidget(controlsX, y, 190, 20, colorLabel(), button -> {
^
ERROR in src/main/java/com/futurehud/screen/FutureHudSettingsScreen.java at line 45: incompatible types: String cannot be converted to Text
scaleButton = addButton(new ButtonWidget(controlsX, y, 190, 20, scaleLabel(), button -> {
^
ERROR in src/main/java/com/futurehud/screen/FutureHudSettingsScreen.java at line 52: incompatible types: String cannot be converted to Text
opacityButton = addButton(new ButtonWidget(controlsX, y, 190, 20, opacityLabel(), button -> {
^
ERROR in src/main/java/com/futurehud/screen/FutureHudSettingsScreen.java at line 62: incompatible types: String cannot be converted to Text
speedButton = addButton(new ButtonWidget(controlsX, y, 190, 20, toggleLabel("Speed", config.showSpeed), button -> {
^
ERROR in src/main/java/com/futurehud/screen/FutureHudSettingsScreen.java at line 68: incompatible types: String cannot be converted to Text
fpsButton = addButton(new ButtonWidget(controlsX, y, 190, 20, toggleLabel("FPS", config.showFps), button -> {
^
ERROR in src/main/java/com/futurehud/screen/FutureHudSettingsScreen.java at line 74: incompatible types: String cannot be converted to Text
pingButton = addButton(new ButtonWidget(controlsX, y, 190, 20, toggleLabel("Ping", config.showPing), button -> {
^
ERROR in src/main/java/com/futurehud/screen/FutureHudSettingsScreen.java at line 80: incompatible types: String cannot be converted to Text
coordinatesButton = addButton(new ButtonWidget(controlsX, y, 190, 20, toggleLabel("Coordinates", config.showCoordinates), button -> {
^
ERROR in src/main/java/com/futurehud/screen/FutureHudSettingsScreen.java at line 86: incompatible types: String cannot be converted to Text
statusButton = addButton(new ButtonWidget(controlsX, y, 190, 20, toggleLabel("Status", config.showStatus), button -> {
^
ERROR in src/main/java/com/futurehud/screen/FutureHudSettingsScreen.java at line 93: cannot find symbol
addButton(new ButtonWidget(controlsX, y, 92, 20, new LiteralText("Reset Pos"), button -> {
^
symbol: method addButton(ButtonWidget)
location: class FutureHudSettingsScreen
ERROR in src/main/java/com/futurehud/screen/FutureHudSettingsScreen.java at line 98: cannot find symbol
addButton(new ButtonWidget(controlsX + 98, y, 92, 20, new LiteralText("Done"), button -> closeScreen()));
^
symbol: method addButton(ButtonWidget)
location: class FutureHudSettingsScreen
ERROR in src/main/java/com/futurehud/hud/FutureHudRenderer.java at line 57: cannot find symbol
drawText(client, matrices, String.format(Locale.ROOT, "FPS %3d", client.getCurrentFps()), 11, line, accent);
^
symbol: method getCurrentFps()
location: variable client of type MinecraftClient
=== COMPILATION ERROR ANALYSIS ===
MISSING METHODS:
- addButton(ButtonWidget)
- getCurrentFps()
ACTION: Check method names and signatures
TYPE MISMATCHES:
- incompatible types: String cannot be converted to Text
- incompatible types: String cannot be converted to Text
- incompatible types: String cannot be converted to Text
- incompatible types: String cannot be converted to Text
- incompatible types: String cannot be converted to Text
- incompatible types: String cannot be converted to Text
- incompatible types: String cannot be converted to Text
- incompatible types: String cannot be converted to Text
- incompatible types: String cannot be converted to Text
- incompatible types: String cannot be converted to Text
- incompatible types: String cannot be converted to Text
- incompatible types: String cannot be converted to Text
- incompatible types: String cannot be converted to Text
- incompatible types: String cannot be converted to Text
- incompatible types: String cannot be converted to Text
- incompatible types: String cannot be converted to Text
ACTION: Fix variable types or casting
FILES TO INVESTIGATE:
- src/main/java/com/futurehud/screen/FutureHudSettingsScreen.java
- src/main/java/com/futurehud/hud/FutureHudRenderer.java
- src/main/java/com/futurehud/screen/FutureHudSettingsScreen.java
- src/main/java/com/futurehud/hud/FutureHudRenderer.java
Please fix this error by creating a new artifact with the corrected code.