Máté Orosz

build it and improve it

📎 1 file 2,745 chars
đź“„
pasted-code-1794772764326.txt
txt 165 lines
â–¶
Build: Abyss Debug — Meteor Client Addon

Create a complete Minecraft Meteor Client addon named Abyss Debug.

1. Project configuration

Minecraft: 1.21.11

Java: 21

Fabric Loader

Meteor Client addon

Addon name: Abyss Debug

Module count: EXACTLY 1

Module name: Abyss Light Debug

Package: com.abyssdebug

Mod ID: abyss-debug

Use the official Meteor Client addon architecture and APIs. Do NOT create a standalone Fabric mod with its own independent module system.

2. Main module: Abyss Light Debug

Register exactly one Meteor module:

Abyss Light Debug

Category: Render

Functionality

Create an underground light visualizer.

Detection requirements:

Detect air blocks below Y=0.

Read block-light levels from Minecraft's available lighting data.

Detect light-emitting blocks.

Detect underground positions receiving block light.

Scan loaded chunks only.

Never request or inspect unloaded chunk data.

Update markers when relevant lighting data changes.

Use configurable scanning radius.

Rendering

Display detected positions using yellow block overlays.

Requirements:

Bright yellow transparent block fill.

Yellow block outline.

Render through terrain using Meteor's rendering APIs.

Accurate block coordinates.

Only render positions below Y=0.

Remove outdated markers.

No actual world modifications.

Settings

Implement Meteor settings:

Minimum light level.

Maximum light level.

Scan radius.

Render distance.

Show air-block markers.

Show light-source markers.

Fill opacity.

Outline thickness.

Use Meteor's native settings system.

3. Meteor integration

Extend Meteor's Module class.

Register through the Meteor addon initializer.

Use Meteor's module registry.

Use Meteor's rendering events.

Use Meteor's native settings.

Follow Meteor's naming and coding conventions.

Ensure compatibility with Meteor Client and Minecraft 1.21.11.

4. GUI

The module must appear inside Meteor's normal ClickGUI.

Use the standard Meteor settings interface. Do not create a separate GUI.

5. Performance

Avoid scanning the entire world every tick.

Use incremental scanning.

Cache detected positions.

Clear caches on world changes.

Handle chunk unloading.

Avoid blocking the render thread.

6. Build

Include:

Complete source code.

build.gradle.

settings.gradle.

gradle.properties.

gradlew.bat.

Correct Meteor dependencies.

Fabric metadata.

All required resources.

Run:

gradlew.bat build

Fix all compilation errors.

Final output:

build/libs/abyss-debug-1.0.0.jar

The result must be a working Meteor Client addon, not a standalone Fabric mod.
Kodari AI
KodariNov 15 at 8:04 pm 5
AbyssLightDebug
Abyss Light Debug is a Meteor Client addon for Minecraft 1.21.11 that visualizes underground lighting conditions below Y=0. It scans loaded chunks within a configurable radius, detecting air blocks, light-emitting blocks, and positions receiving block light. The addon renders bright yellow transparent block overlays with outlines through terrain using Meteor's rendering APIs. It features incremental scanning with cached positions, automatic cache clearing on world changes, and chunk unloading handling. Settings include minimum/maximum light levels, scan radius, render distance, marker toggles, fill opacity, and outline thickness. The module integrates seamlessly into Meteor's ClickGUI with native settings interface, providing efficient performance without blocking the render thread.
  • Register one Meteor Render module with native settings.

  • Scan loaded chunks incrementally and refresh cached markers.

  • Render translucent yellow overlays through terrain.

Created Abyss Debug with one Meteor Render module, incremental loaded-chunk scanning, cached light markers, and native settings.

The build and resulting JAR could not be verified here; gradlew.bat build was not run.

Máté Orosz

continue

Kodari AI
KodariNov 15 at 8:20 pm 3
  1. Keep scans progressing while moving and remove stale or out-of-range markers.

  2. Allow compatible Meteor 1.21.11 builds rather than requiring a literal snapshot version.

Improved scanning so movement no longer repeatedly restarts it, and markers are removed when they leave range or their chunks unload. Relaxed the Meteor dependency to accept compatible builds.

The JAR is still unverified. To build it, click Compile in the top bar, then Compile in the window; download it when the build succeeds.

Máté Orosz

The compilation failed with this error:

code
Compilation failed with 124 error(s):

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 6: package meteordevelopment.meteorclient.events.render does not exist
import meteordevelopment.meteorclient.events.render.Render3DEvent;
                                                   ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 7: package meteordevelopment.meteorclient.events.world does not exist
import meteordevelopment.meteorclient.events.world.TickEvent;
                                                  ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 8: package meteordevelopment.meteorclient.renderer does not exist
import meteordevelopment.meteorclient.renderer.ShapeMode;
                                              ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 9: package meteordevelopment.meteorclient.settings does not exist
import meteordevelopment.meteorclient.settings.BoolSetting;
                                              ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 10: package meteordevelopment.meteorclient.settings does not exist
import meteordevelopment.meteorclient.settings.DoubleSetting;
                                              ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 11: package meteordevelopment.meteorclient.settings does not exist
import meteordevelopment.meteorclient.settings.IntSetting;
                                              ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 12: package meteordevelopment.meteorclient.settings does not exist
import meteordevelopment.meteorclient.settings.Setting;
                                              ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 13: package meteordevelopment.meteorclient.settings does not exist
import meteordevelopment.meteorclient.settings.SettingGroup;
                                              ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 14: package meteordevelopment.meteorclient.systems.modules does not exist
import meteordevelopment.meteorclient.systems.modules.Categories;
                                                     ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 15: package meteordevelopment.meteorclient.systems.modules does not exist
import meteordevelopment.meteorclient.systems.modules.Module;
                                                     ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 16: package meteordevelopment.meteorclient.utils.render.color does not exist
import meteordevelopment.meteorclient.utils.render.color.Color;
                                                        ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 17: package meteordevelopment.orbit does not exist
import meteordevelopment.orbit.EventHandler;
                              ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 25: cannot inherit from final Module
public class AbyssLightDebug extends Module {
                                     ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 26: cannot find symbol
    private final SettingGroup general = settings.getDefaultGroup();
                  ^
  symbol: class SettingGroup
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 27: cannot find symbol
    private final Setting<Integer> minimumLight = general.add(new IntSetting.Builder().name("minimum-light-level").description("Minimum block light for air markers.").defaultValue(1).range(0, 15).sliderRange(0, 15).build());
                  ^
  symbol: class Setting
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 28: cannot find symbol
    private final Setting<Integer> maximumLight = general.add(new IntSetting.Builder().name("maximum-light-level").description("Maximum block light for air markers.").defaultValue(15).range(0, 15).sliderRange(0, 15).build());
                  ^
  symbol: class Setting
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 29: cannot find symbol
    private final Setting<Integer> scanRadius = general.add(new IntSetting.Builder().name("scan-radius").description("Scanning radius in blocks around the player.").defaultValue(12).range(1, 32).sliderRange(1, 32).build());
                  ^
  symbol: class Setting
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 30: cannot find symbol
    private final Setting<Integer> renderDistance = general.add(new IntSetting.Builder().name("render-distance").description("Maximum marker distance in blocks.").defaultValue(12).range(1, 32).sliderRange(1, 32).build());
                  ^
  symbol: class Setting
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 31: cannot find symbol
    private final Setting<Boolean> showAir = general.add(new BoolSetting.Builder().name("show-air-block-markers").description("Show air receiving block light.").defaultValue(true).build());
                  ^
  symbol: class Setting
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 32: cannot find symbol
    private final Setting<Boolean> showSources = general.add(new BoolSetting.Builder().name("show-light-source-markers").description("Show emitting blocks regardless of sampled light.").defaultValue(true).build());
                  ^
  symbol: class Setting
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 33: cannot find symbol
    private final Setting<Integer> fillOpacity = general.add(new IntSetting.Builder().name("fill-opacity").description("Yellow fill opacity from 0 to 255.").defaultValue(35).range(0, 255).sliderRange(0, 255).build());
                  ^
  symbol: class Setting
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 34: cannot find symbol
    private final Setting<Double> outlineThickness = general.add(new DoubleSetting.Builder().name("outline-thickness").description("Outline thickness in block units.").defaultValue(0.02).range(0.002, 0.1).sliderRange(0.002, 0.1).build());
                  ^
  symbol: class Setting
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 63: package TickEvent does not exist
    private void onTick(TickEvent.Pre event) {
                                 ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 120: cannot find symbol
    private void onRender(Render3DEvent event) {
                          ^
  symbol: class Render3DEvent
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssDebug.java at line 3: package meteordevelopment.meteorclient.addons does not exist
import meteordevelopment.meteorclient.addons.MeteorAddon;
                                            ^

ERROR in src/client/java/com/abyssdebug/AbyssDebug.java at line 4: package meteordevelopment.meteorclient.systems.modules does not exist
import meteordevelopment.meteorclient.systems.modules.Modules;
                                                     ^

ERROR in src/client/java/com/abyssdebug/AbyssDebug.java at line 6: cannot find symbol
public class AbyssDebug extends MeteorAddon {
                                ^
  symbol: class MeteorAddon

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 62: cannot find symbol
    @EventHandler
     ^
  symbol: class EventHandler
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 119: cannot find symbol
    @EventHandler
     ^
  symbol: class EventHandler
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 27: package IntSetting does not exist
    private final Setting<Integer> minimumLight = general.add(new IntSetting.Builder().name("minimum-light-level").description("Minimum block light for air markers.").defaultValue(1).range(0, 15).sliderRange(0, 15).build());
                                                                            ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 28: package IntSetting does not exist
    private final Setting<Integer> maximumLight = general.add(new IntSetting.Builder().name("maximum-light-level").description("Maximum block light for air markers.").defaultValue(15).range(0, 15).sliderRange(0, 15).build());
                                                                            ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 29: package IntSetting does not exist
    private final Setting<Integer> scanRadius = general.add(new IntSetting.Builder().name("scan-radius").description("Scanning radius in blocks around the player.").defaultValue(12).range(1, 32).sliderRange(1, 32).build());
                                                                          ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 30: package IntSetting does not exist
    private final Setting<Integer> renderDistance = general.add(new IntSetting.Builder().name("render-distance").description("Maximum marker distance in blocks.").defaultValue(12).range(1, 32).sliderRange(1, 32).build());
                                                                              ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 31: package BoolSetting does not exist
    private final Setting<Boolean> showAir = general.add(new BoolSetting.Builder().name("show-air-block-markers").description("Show air receiving block light.").defaultValue(true).build());
                                                                        ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 32: package BoolSetting does not exist
    private final Setting<Boolean> showSources = general.add(new BoolSetting.Builder().name("show-light-source-markers").description("Show emitting blocks regardless of sampled light.").defaultValue(true).build());
                                                                            ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 33: package IntSetting does not exist
    private final Setting<Integer> fillOpacity = general.add(new IntSetting.Builder().name("fill-opacity").description("Yellow fill opacity from 0 to 255.").defaultValue(35).range(0, 255).sliderRange(0, 255).build());
                                                                           ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 34: package DoubleSetting does not exist
    private final Setting<Double> outlineThickness = general.add(new DoubleSetting.Builder().name("outline-thickness").description("Outline thickness in block units.").defaultValue(0.02).range(0.002, 0.1).sliderRange(0.002, 0.1).build());
                                                                                  ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 42: cannot find symbol
        super(Categories.Render, "abyss-light-debug", "Visualizes underground block light and light sources.");
              ^
  symbol: variable Categories
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 45: method does not override or implement a method from a supertype
    @Override
    ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 50: method does not override or implement a method from a supertype
    @Override
    ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 64: cannot find symbol
        if (mc.world == null || mc.player == null) {
            ^
  symbol: variable mc
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 68: package mc does not exist
        int px = (int) Math.floor(mc.player.getX());
                                    ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 69: package mc does not exist
        int py = (int) Math.floor(mc.player.getY());
                                    ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 70: package mc does not exist
        int pz = (int) Math.floor(mc.player.getZ());
                                    ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 71: cannot find symbol
        if (world != mc.world || !initialized || radius != scanRadius.get()) {
                     ^
  symbol: variable mc
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 73: cannot find symbol
            world = mc.world;
                    ^
  symbol: variable mc
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 121: cannot find symbol
        if (mc.world == null || mc.world != world || mc.player == null) return;
            ^
  symbol: variable mc
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 122: cannot find symbol
        Color fill = new Color(255, 235, 0, fillOpacity.get());
        ^
  symbol: class Color
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 123: cannot find symbol
        Color line = new Color(255, 235, 0, 255);
        ^
  symbol: class Color
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 131: package mc does not exist
            double dx = pos.getX() + 0.5 - mc.player.getX();
                                             ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 132: package mc does not exist
            double dy = pos.getY() + 0.5 - mc.player.getY();
                                             ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 133: package mc does not exist
            double dz = pos.getZ() + 0.5 - mc.player.getZ();
                                             ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 135: package mc does not exist
            long sx = (long) pos.getX() - (int) Math.floor(mc.player.getX());
                                                             ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 136: package mc does not exist
            long sy = (long) pos.getY() - (int) Math.floor(mc.player.getY());
                                                             ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 137: package mc does not exist
            long sz = (long) pos.getZ() - (int) Math.floor(mc.player.getZ());
                                                             ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 141: cannot find symbol
            event.renderer.box(x, y, z, x + 1, y + 1, z + 1, fill, line, ShapeMode.Sides, 0);
                                                                         ^
  symbol: variable ShapeMode
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 146: cannot find symbol
                    event.renderer.box(x, y + u, z + v, x + 1, y + u + t, z + v + t, line, line, ShapeMode.Sides, 0);
                                                                                                 ^
  symbol: variable ShapeMode
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 147: cannot find symbol
                    event.renderer.box(x + u, y, z + v, x + u + t, y + 1, z + v + t, line, line, ShapeMode.Sides, 0);
                                                                                                 ^
  symbol: variable ShapeMode
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 148: cannot find symbol
                    event.renderer.box(x + u, y + v, z, x + u + t, y + v + t, z + 1, line, line, ShapeMode.Sides, 0);
                                                                                                 ^
  symbol: variable ShapeMode
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssDebug.java at line 7: method does not override or implement a method from a supertype
    @Override
    ^

ERROR in src/client/java/com/abyssdebug/AbyssDebug.java at line 9: cannot find symbol
        Modules.get().add(new AbyssLightDebug());
        ^
  symbol: variable Modules
  location: class AbyssDebug

ERROR in src/client/java/com/abyssdebug/AbyssDebug.java at line 12: method does not override or implement a method from a supertype
    @Override
    ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 26: cannot find symbol
      private final SettingGroup general = settings.getDefaultGroup();
                    ^
  symbol: class SettingGroup
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 27: cannot find symbol
      private final Setting<Integer> minimumLight = general.add(new IntSetting.Builder().name("minimum-light-level").description("Minimum block light for air markers.").defaultValue(1).range(0, 15).sliderRange(0, 15).build());
                    ^
  symbol: class Setting
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 28: cannot find symbol
      private final Setting<Integer> maximumLight = general.add(new IntSetting.Builder().name("maximum-light-level").description("Maximum block light for air markers.").defaultValue(15).range(0, 15).sliderRange(0, 15).build());
                    ^
  symbol: class Setting
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 29: cannot find symbol
      private final Setting<Integer> scanRadius = general.add(new IntSetting.Builder().name("scan-radius").description("Scanning radius in blocks around the player.").defaultValue(12).range(1, 32).sliderRange(1, 32).build());
                    ^
  symbol: class Setting
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 30: cannot find symbol
      private final Setting<Integer> renderDistance = general.add(new IntSetting.Builder().name("render-distance").description("Maximum marker distance in blocks.").defaultValue(12).range(1, 32).sliderRange(1, 32).build());
                    ^
  symbol: class Setting
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 31: cannot find symbol
      private final Setting<Boolean> showAir = general.add(new BoolSetting.Builder().name("show-air-block-markers").description("Show air receiving block light.").defaultValue(true).build());
                    ^
  symbol: class Setting
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 32: cannot find symbol
      private final Setting<Boolean> showSources = general.add(new BoolSetting.Builder().name("show-light-source-markers").description("Show emitting blocks regardless of sampled light.").defaultValue(true).build());
                    ^
  symbol: class Setting
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 33: cannot find symbol
      private final Setting<Integer> fillOpacity = general.add(new IntSetting.Builder().name("fill-opacity").description("Yellow fill opacity from 0 to 255.").defaultValue(35).range(0, 255).sliderRange(0, 255).build());
                    ^
  symbol: class Setting
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 34: cannot find symbol
      private final Setting<Double> outlineThickness = general.add(new DoubleSetting.Builder().name("outline-thickness").description("Outline thickness in block units.").defaultValue(0.02).range(0.002, 0.1).sliderRange(0.002, 0.1).build());
                    ^
  symbol: class Setting
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 120: cannot find symbol
      private void onRender(Render3DEvent event) {
                            ^
  symbol: class Render3DEvent
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 62: cannot find symbol
      @EventHandler
       ^
  symbol: class EventHandler
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 119: cannot find symbol
      @EventHandler
       ^
  symbol: class EventHandler
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 42: cannot find symbol
          super(Categories.Render, "abyss-light-debug", "Visualizes underground block light and light sources.");
                ^
  symbol: variable Categories
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 64: cannot find symbol
          if (mc.world == null || mc.player == null) {
              ^
  symbol: variable mc
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 71: cannot find symbol
          if (world != mc.world || !initialized || radius != scanRadius.get()) {
                       ^
  symbol: variable mc
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 73: cannot find symbol
              world = mc.world;
                      ^
  symbol: variable mc
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 121: cannot find symbol
          if (mc.world == null || mc.world != world || mc.player == null) return;
              ^
  symbol: variable mc
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 122: cannot find symbol
          Color fill = new Color(255, 235, 0, fillOpacity.get());
          ^
  symbol: class Color
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 123: cannot find symbol
          Color line = new Color(255, 235, 0, 255);
          ^
  symbol: class Color
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 141: cannot find symbol
              event.renderer.box(x, y, z, x + 1, y + 1, z + 1, fill, line, ShapeMode.Sides, 0);
                                                                           ^
  symbol: variable ShapeMode
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 146: cannot find symbol
                      event.renderer.box(x, y + u, z + v, x + 1, y + u + t, z + v + t, line, line, ShapeMode.Sides, 0);
                                                                                                   ^
  symbol: variable ShapeMode
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 147: cannot find symbol
                      event.renderer.box(x + u, y, z + v, x + u + t, y + 1, z + v + t, line, line, ShapeMode.Sides, 0);
                                                                                                   ^
  symbol: variable ShapeMode
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 148: cannot find symbol
                      event.renderer.box(x + u, y + v, z, x + u + t, y + v + t, z + 1, line, line, ShapeMode.Sides, 0);
                                                                                                   ^
  symbol: variable ShapeMode
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssDebug.java at line 9: cannot find symbol
          Modules.get().add(new AbyssLightDebug());
          ^
  symbol: variable Modules
  location: class AbyssDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 25: cannot inherit from final Module
  public class AbyssLightDebug extends Module {
                                       ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 45: method does not override or implement a method from a supertype
      @Override
      ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 50: method does not override or implement a method from a supertype
      @Override
      ^

ERROR in   src/client/java/com/abyssdebug/AbyssDebug.java at line 7: method does not override or implement a method from a supertype
      @Override
      ^

ERROR in   src/client/java/com/abyssdebug/AbyssDebug.java at line 12: method does not override or implement a method from a supertype
      @Override
      ^

ERROR in   src/client/java/com/abyssdebug/AbyssDebug.java at line 6: cannot find symbol
  public class AbyssDebug extends MeteorAddon {
                                  ^
  symbol: class MeteorAddon

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 6: package meteordevelopment.meteorclient.events.render does not exist
  import meteordevelopment.meteorclient.events.render.Render3DEvent;
                                                     ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 7: package meteordevelopment.meteorclient.events.world does not exist
  import meteordevelopment.meteorclient.events.world.TickEvent;
                                                    ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 8: package meteordevelopment.meteorclient.renderer does not exist
  import meteordevelopment.meteorclient.renderer.ShapeMode;
                                                ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 9: package meteordevelopment.meteorclient.settings does not exist
  import meteordevelopment.meteorclient.settings.BoolSetting;
                                                ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 10: package meteordevelopment.meteorclient.settings does not exist
  import meteordevelopment.meteorclient.settings.DoubleSetting;
                                                ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 11: package meteordevelopment.meteorclient.settings does not exist
  import meteordevelopment.meteorclient.settings.IntSetting;
                                                ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 12: package meteordevelopment.meteorclient.settings does not exist
  import meteordevelopment.meteorclient.settings.Setting;
                                                ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 13: package meteordevelopment.meteorclient.settings does not exist
  import meteordevelopment.meteorclient.settings.SettingGroup;
                                                ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 14: package meteordevelopment.meteorclient.systems.modules does not exist
  import meteordevelopment.meteorclient.systems.modules.Categories;
                                                       ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 15: package meteordevelopment.meteorclient.systems.modules does not exist
  import meteordevelopment.meteorclient.systems.modules.Module;
                                                       ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 16: package meteordevelopment.meteorclient.utils.render.color does not exist
  import meteordevelopment.meteorclient.utils.render.color.Color;
                                                          ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 17: package meteordevelopment.orbit does not exist
  import meteordevelopment.orbit.EventHandler;
                                ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 63: package TickEvent does not exist
      private void onTick(TickEvent.Pre event) {
                                   ^

ERROR in   src/client/java/com/abyssdebug/AbyssDebug.java at line 3: package meteordevelopment.meteorclient.addons does not exist
  import meteordevelopment.meteorclient.addons.MeteorAddon;
                                              ^

ERROR in   src/client/java/com/abyssdebug/AbyssDebug.java at line 4: package meteordevelopment.meteorclient.systems.modules does not exist
  import meteordevelopment.meteorclient.systems.modules.Modules;
                                                       ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 27: package IntSetting does not exist
      private final Setting<Integer> minimumLight = general.add(new IntSetting.Builder().name("minimum-light-level").description("Minimum block light for air markers.").defaultValue(1).range(0, 15).sliderRange(0, 15).build());
                                                                              ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 28: package IntSetting does not exist
      private final Setting<Integer> maximumLight = general.add(new IntSetting.Builder().name("maximum-light-level").description("Maximum block light for air markers.").defaultValue(15).range(0, 15).sliderRange(0, 15).build());
                                                                              ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 29: package IntSetting does not exist
      private final Setting<Integer> scanRadius = general.add(new IntSetting.Builder().name("scan-radius").description("Scanning radius in blocks around the player.").defaultValue(12).range(1, 32).sliderRange(1, 32).build());
                                                                            ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 30: package IntSetting does not exist
      private final Setting<Integer> renderDistance = general.add(new IntSetting.Builder().name("render-distance").description("Maximum marker distance in blocks.").defaultValue(12).range(1, 32).sliderRange(1, 32).build());
                                                                                ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 31: package BoolSetting does not exist
      private final Setting<Boolean> showAir = general.add(new BoolSetting.Builder().name("show-air-block-markers").description("Show air receiving block light.").defaultValue(true).build());
                                                                          ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 32: package BoolSetting does not exist
      private final Setting<Boolean> showSources = general.add(new BoolSetting.Builder().name("show-light-source-markers").description("Show emitting blocks regardless of sampled light.").defaultValue(true).build());
                                                                              ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 33: package IntSetting does not exist
      private final Setting<Integer> fillOpacity = general.add(new IntSetting.Builder().name("fill-opacity").description("Yellow fill opacity from 0 to 255.").defaultValue(35).range(0, 255).sliderRange(0, 255).build());
                                                                             ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 34: package DoubleSetting does not exist
      private final Setting<Double> outlineThickness = general.add(new DoubleSetting.Builder().name("outline-thickness").description("Outline thickness in block units.").defaultValue(0.02).range(0.002, 0.1).sliderRange(0.002, 0.1).build());
                                                                                    ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 68: package mc does not exist
          int px = (int) Math.floor(mc.player.getX());
                                      ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 69: package mc does not exist
          int py = (int) Math.floor(mc.player.getY());
                                      ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 70: package mc does not exist
          int pz = (int) Math.floor(mc.player.getZ());
                                      ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 131: package mc does not exist
              double dx = pos.getX() + 0.5 - mc.player.getX();
                                               ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 132: package mc does not exist
              double dy = pos.getY() + 0.5 - mc.player.getY();
                                               ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 133: package mc does not exist
              double dz = pos.getZ() + 0.5 - mc.player.getZ();
                                               ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 135: package mc does not exist
              long sx = (long) pos.getX() - (int) Math.floor(mc.player.getX());
                                                               ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 136: package mc does not exist
              long sy = (long) pos.getY() - (int) Math.floor(mc.player.getY());
                                                               ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 137: package mc does not exist
              long sz = (long) pos.getZ() - (int) Math.floor(mc.player.getZ());
                                                               ^


=== COMPILATION ERROR ANALYSIS ===

MISSING CLASSES:
  - SettingGroup
  - Setting
  - Render3DEvent
  - MeteorAddon
  - EventHandler
  - Color
ACTION: Create these classes or check imports

FILES TO INVESTIGATE:
  - src/client/java/com/abyssdebug/AbyssLightDebug.java
  - src/client/java/com/abyssdebug/AbyssDebug.java
  -   src/client/java/com/abyssdebug/AbyssLightDebug.java
  -   src/client/java/com/abyssdebug/AbyssDebug.java

Please fix this error by creating a new artifact with the corrected code.

Kodari AI
KodariNov 15 at 8:24 pm 2

The build is missing Meteor Client and Orbit from its compile classpath. build.gradle already declares Meteor, which in turn declares Orbit, so creating replacement classes would not fix the addon.

I can’t verify why Kodari’s compiler didn’t include those dependencies or produce a corrected artifact from this error alone. The build needs to resolve the existing Meteor dependency before the remaining code can be checked.

Máté Orosz

The compilation failed with this error:

code
Compilation failed with 124 error(s):

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 6: package meteordevelopment.meteorclient.events.render does not exist
import meteordevelopment.meteorclient.events.render.Render3DEvent;
                                                   ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 7: package meteordevelopment.meteorclient.events.world does not exist
import meteordevelopment.meteorclient.events.world.TickEvent;
                                                  ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 8: package meteordevelopment.meteorclient.renderer does not exist
import meteordevelopment.meteorclient.renderer.ShapeMode;
                                              ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 9: package meteordevelopment.meteorclient.settings does not exist
import meteordevelopment.meteorclient.settings.BoolSetting;
                                              ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 10: package meteordevelopment.meteorclient.settings does not exist
import meteordevelopment.meteorclient.settings.DoubleSetting;
                                              ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 11: package meteordevelopment.meteorclient.settings does not exist
import meteordevelopment.meteorclient.settings.IntSetting;
                                              ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 12: package meteordevelopment.meteorclient.settings does not exist
import meteordevelopment.meteorclient.settings.Setting;
                                              ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 13: package meteordevelopment.meteorclient.settings does not exist
import meteordevelopment.meteorclient.settings.SettingGroup;
                                              ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 14: package meteordevelopment.meteorclient.systems.modules does not exist
import meteordevelopment.meteorclient.systems.modules.Categories;
                                                     ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 15: package meteordevelopment.meteorclient.systems.modules does not exist
import meteordevelopment.meteorclient.systems.modules.Module;
                                                     ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 16: package meteordevelopment.meteorclient.utils.render.color does not exist
import meteordevelopment.meteorclient.utils.render.color.Color;
                                                        ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 17: package meteordevelopment.orbit does not exist
import meteordevelopment.orbit.EventHandler;
                              ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 25: cannot inherit from final Module
public class AbyssLightDebug extends Module {
                                     ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 26: cannot find symbol
    private final SettingGroup general = settings.getDefaultGroup();
                  ^
  symbol: class SettingGroup
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 27: cannot find symbol
    private final Setting<Integer> minimumLight = general.add(new IntSetting.Builder().name("minimum-light-level").description("Minimum block light for air markers.").defaultValue(1).range(0, 15).sliderRange(0, 15).build());
                  ^
  symbol: class Setting
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 28: cannot find symbol
    private final Setting<Integer> maximumLight = general.add(new IntSetting.Builder().name("maximum-light-level").description("Maximum block light for air markers.").defaultValue(15).range(0, 15).sliderRange(0, 15).build());
                  ^
  symbol: class Setting
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 29: cannot find symbol
    private final Setting<Integer> scanRadius = general.add(new IntSetting.Builder().name("scan-radius").description("Scanning radius in blocks around the player.").defaultValue(12).range(1, 32).sliderRange(1, 32).build());
                  ^
  symbol: class Setting
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 30: cannot find symbol
    private final Setting<Integer> renderDistance = general.add(new IntSetting.Builder().name("render-distance").description("Maximum marker distance in blocks.").defaultValue(12).range(1, 32).sliderRange(1, 32).build());
                  ^
  symbol: class Setting
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 31: cannot find symbol
    private final Setting<Boolean> showAir = general.add(new BoolSetting.Builder().name("show-air-block-markers").description("Show air receiving block light.").defaultValue(true).build());
                  ^
  symbol: class Setting
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 32: cannot find symbol
    private final Setting<Boolean> showSources = general.add(new BoolSetting.Builder().name("show-light-source-markers").description("Show emitting blocks regardless of sampled light.").defaultValue(true).build());
                  ^
  symbol: class Setting
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 33: cannot find symbol
    private final Setting<Integer> fillOpacity = general.add(new IntSetting.Builder().name("fill-opacity").description("Yellow fill opacity from 0 to 255.").defaultValue(35).range(0, 255).sliderRange(0, 255).build());
                  ^
  symbol: class Setting
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 34: cannot find symbol
    private final Setting<Double> outlineThickness = general.add(new DoubleSetting.Builder().name("outline-thickness").description("Outline thickness in block units.").defaultValue(0.02).range(0.002, 0.1).sliderRange(0.002, 0.1).build());
                  ^
  symbol: class Setting
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 63: package TickEvent does not exist
    private void onTick(TickEvent.Pre event) {
                                 ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 120: cannot find symbol
    private void onRender(Render3DEvent event) {
                          ^
  symbol: class Render3DEvent
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssDebug.java at line 3: package meteordevelopment.meteorclient.addons does not exist
import meteordevelopment.meteorclient.addons.MeteorAddon;
                                            ^

ERROR in src/client/java/com/abyssdebug/AbyssDebug.java at line 4: package meteordevelopment.meteorclient.systems.modules does not exist
import meteordevelopment.meteorclient.systems.modules.Modules;
                                                     ^

ERROR in src/client/java/com/abyssdebug/AbyssDebug.java at line 6: cannot find symbol
public class AbyssDebug extends MeteorAddon {
                                ^
  symbol: class MeteorAddon

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 62: cannot find symbol
    @EventHandler
     ^
  symbol: class EventHandler
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 119: cannot find symbol
    @EventHandler
     ^
  symbol: class EventHandler
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 27: package IntSetting does not exist
    private final Setting<Integer> minimumLight = general.add(new IntSetting.Builder().name("minimum-light-level").description("Minimum block light for air markers.").defaultValue(1).range(0, 15).sliderRange(0, 15).build());
                                                                            ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 28: package IntSetting does not exist
    private final Setting<Integer> maximumLight = general.add(new IntSetting.Builder().name("maximum-light-level").description("Maximum block light for air markers.").defaultValue(15).range(0, 15).sliderRange(0, 15).build());
                                                                            ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 29: package IntSetting does not exist
    private final Setting<Integer> scanRadius = general.add(new IntSetting.Builder().name("scan-radius").description("Scanning radius in blocks around the player.").defaultValue(12).range(1, 32).sliderRange(1, 32).build());
                                                                          ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 30: package IntSetting does not exist
    private final Setting<Integer> renderDistance = general.add(new IntSetting.Builder().name("render-distance").description("Maximum marker distance in blocks.").defaultValue(12).range(1, 32).sliderRange(1, 32).build());
                                                                              ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 31: package BoolSetting does not exist
    private final Setting<Boolean> showAir = general.add(new BoolSetting.Builder().name("show-air-block-markers").description("Show air receiving block light.").defaultValue(true).build());
                                                                        ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 32: package BoolSetting does not exist
    private final Setting<Boolean> showSources = general.add(new BoolSetting.Builder().name("show-light-source-markers").description("Show emitting blocks regardless of sampled light.").defaultValue(true).build());
                                                                            ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 33: package IntSetting does not exist
    private final Setting<Integer> fillOpacity = general.add(new IntSetting.Builder().name("fill-opacity").description("Yellow fill opacity from 0 to 255.").defaultValue(35).range(0, 255).sliderRange(0, 255).build());
                                                                           ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 34: package DoubleSetting does not exist
    private final Setting<Double> outlineThickness = general.add(new DoubleSetting.Builder().name("outline-thickness").description("Outline thickness in block units.").defaultValue(0.02).range(0.002, 0.1).sliderRange(0.002, 0.1).build());
                                                                                  ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 42: cannot find symbol
        super(Categories.Render, "abyss-light-debug", "Visualizes underground block light and light sources.");
              ^
  symbol: variable Categories
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 45: method does not override or implement a method from a supertype
    @Override
    ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 50: method does not override or implement a method from a supertype
    @Override
    ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 64: cannot find symbol
        if (mc.world == null || mc.player == null) {
            ^
  symbol: variable mc
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 68: package mc does not exist
        int px = (int) Math.floor(mc.player.getX());
                                    ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 69: package mc does not exist
        int py = (int) Math.floor(mc.player.getY());
                                    ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 70: package mc does not exist
        int pz = (int) Math.floor(mc.player.getZ());
                                    ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 71: cannot find symbol
        if (world != mc.world || !initialized || radius != scanRadius.get()) {
                     ^
  symbol: variable mc
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 73: cannot find symbol
            world = mc.world;
                    ^
  symbol: variable mc
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 121: cannot find symbol
        if (mc.world == null || mc.world != world || mc.player == null) return;
            ^
  symbol: variable mc
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 122: cannot find symbol
        Color fill = new Color(255, 235, 0, fillOpacity.get());
        ^
  symbol: class Color
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 123: cannot find symbol
        Color line = new Color(255, 235, 0, 255);
        ^
  symbol: class Color
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 131: package mc does not exist
            double dx = pos.getX() + 0.5 - mc.player.getX();
                                             ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 132: package mc does not exist
            double dy = pos.getY() + 0.5 - mc.player.getY();
                                             ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 133: package mc does not exist
            double dz = pos.getZ() + 0.5 - mc.player.getZ();
                                             ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 135: package mc does not exist
            long sx = (long) pos.getX() - (int) Math.floor(mc.player.getX());
                                                             ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 136: package mc does not exist
            long sy = (long) pos.getY() - (int) Math.floor(mc.player.getY());
                                                             ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 137: package mc does not exist
            long sz = (long) pos.getZ() - (int) Math.floor(mc.player.getZ());
                                                             ^

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 141: cannot find symbol
            event.renderer.box(x, y, z, x + 1, y + 1, z + 1, fill, line, ShapeMode.Sides, 0);
                                                                         ^
  symbol: variable ShapeMode
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 146: cannot find symbol
                    event.renderer.box(x, y + u, z + v, x + 1, y + u + t, z + v + t, line, line, ShapeMode.Sides, 0);
                                                                                                 ^
  symbol: variable ShapeMode
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 147: cannot find symbol
                    event.renderer.box(x + u, y, z + v, x + u + t, y + 1, z + v + t, line, line, ShapeMode.Sides, 0);
                                                                                                 ^
  symbol: variable ShapeMode
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssLightDebug.java at line 148: cannot find symbol
                    event.renderer.box(x + u, y + v, z, x + u + t, y + v + t, z + 1, line, line, ShapeMode.Sides, 0);
                                                                                                 ^
  symbol: variable ShapeMode
  location: class AbyssLightDebug

ERROR in src/client/java/com/abyssdebug/AbyssDebug.java at line 7: method does not override or implement a method from a supertype
    @Override
    ^

ERROR in src/client/java/com/abyssdebug/AbyssDebug.java at line 9: cannot find symbol
        Modules.get().add(new AbyssLightDebug());
        ^
  symbol: variable Modules
  location: class AbyssDebug

ERROR in src/client/java/com/abyssdebug/AbyssDebug.java at line 12: method does not override or implement a method from a supertype
    @Override
    ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 26: cannot find symbol
      private final SettingGroup general = settings.getDefaultGroup();
                    ^
  symbol: class SettingGroup
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 27: cannot find symbol
      private final Setting<Integer> minimumLight = general.add(new IntSetting.Builder().name("minimum-light-level").description("Minimum block light for air markers.").defaultValue(1).range(0, 15).sliderRange(0, 15).build());
                    ^
  symbol: class Setting
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 28: cannot find symbol
      private final Setting<Integer> maximumLight = general.add(new IntSetting.Builder().name("maximum-light-level").description("Maximum block light for air markers.").defaultValue(15).range(0, 15).sliderRange(0, 15).build());
                    ^
  symbol: class Setting
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 29: cannot find symbol
      private final Setting<Integer> scanRadius = general.add(new IntSetting.Builder().name("scan-radius").description("Scanning radius in blocks around the player.").defaultValue(12).range(1, 32).sliderRange(1, 32).build());
                    ^
  symbol: class Setting
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 30: cannot find symbol
      private final Setting<Integer> renderDistance = general.add(new IntSetting.Builder().name("render-distance").description("Maximum marker distance in blocks.").defaultValue(12).range(1, 32).sliderRange(1, 32).build());
                    ^
  symbol: class Setting
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 31: cannot find symbol
      private final Setting<Boolean> showAir = general.add(new BoolSetting.Builder().name("show-air-block-markers").description("Show air receiving block light.").defaultValue(true).build());
                    ^
  symbol: class Setting
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 32: cannot find symbol
      private final Setting<Boolean> showSources = general.add(new BoolSetting.Builder().name("show-light-source-markers").description("Show emitting blocks regardless of sampled light.").defaultValue(true).build());
                    ^
  symbol: class Setting
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 33: cannot find symbol
      private final Setting<Integer> fillOpacity = general.add(new IntSetting.Builder().name("fill-opacity").description("Yellow fill opacity from 0 to 255.").defaultValue(35).range(0, 255).sliderRange(0, 255).build());
                    ^
  symbol: class Setting
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 34: cannot find symbol
      private final Setting<Double> outlineThickness = general.add(new DoubleSetting.Builder().name("outline-thickness").description("Outline thickness in block units.").defaultValue(0.02).range(0.002, 0.1).sliderRange(0.002, 0.1).build());
                    ^
  symbol: class Setting
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 120: cannot find symbol
      private void onRender(Render3DEvent event) {
                            ^
  symbol: class Render3DEvent
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 62: cannot find symbol
      @EventHandler
       ^
  symbol: class EventHandler
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 119: cannot find symbol
      @EventHandler
       ^
  symbol: class EventHandler
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 42: cannot find symbol
          super(Categories.Render, "abyss-light-debug", "Visualizes underground block light and light sources.");
                ^
  symbol: variable Categories
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 64: cannot find symbol
          if (mc.world == null || mc.player == null) {
              ^
  symbol: variable mc
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 71: cannot find symbol
          if (world != mc.world || !initialized || radius != scanRadius.get()) {
                       ^
  symbol: variable mc
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 73: cannot find symbol
              world = mc.world;
                      ^
  symbol: variable mc
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 121: cannot find symbol
          if (mc.world == null || mc.world != world || mc.player == null) return;
              ^
  symbol: variable mc
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 122: cannot find symbol
          Color fill = new Color(255, 235, 0, fillOpacity.get());
          ^
  symbol: class Color
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 123: cannot find symbol
          Color line = new Color(255, 235, 0, 255);
          ^
  symbol: class Color
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 141: cannot find symbol
              event.renderer.box(x, y, z, x + 1, y + 1, z + 1, fill, line, ShapeMode.Sides, 0);
                                                                           ^
  symbol: variable ShapeMode
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 146: cannot find symbol
                      event.renderer.box(x, y + u, z + v, x + 1, y + u + t, z + v + t, line, line, ShapeMode.Sides, 0);
                                                                                                   ^
  symbol: variable ShapeMode
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 147: cannot find symbol
                      event.renderer.box(x + u, y, z + v, x + u + t, y + 1, z + v + t, line, line, ShapeMode.Sides, 0);
                                                                                                   ^
  symbol: variable ShapeMode
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 148: cannot find symbol
                      event.renderer.box(x + u, y + v, z, x + u + t, y + v + t, z + 1, line, line, ShapeMode.Sides, 0);
                                                                                                   ^
  symbol: variable ShapeMode
  location: class AbyssLightDebug

ERROR in   src/client/java/com/abyssdebug/AbyssDebug.java at line 9: cannot find symbol
          Modules.get().add(new AbyssLightDebug());
          ^
  symbol: variable Modules
  location: class AbyssDebug

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 25: cannot inherit from final Module
  public class AbyssLightDebug extends Module {
                                       ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 45: method does not override or implement a method from a supertype
      @Override
      ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 50: method does not override or implement a method from a supertype
      @Override
      ^

ERROR in   src/client/java/com/abyssdebug/AbyssDebug.java at line 7: method does not override or implement a method from a supertype
      @Override
      ^

ERROR in   src/client/java/com/abyssdebug/AbyssDebug.java at line 12: method does not override or implement a method from a supertype
      @Override
      ^

ERROR in   src/client/java/com/abyssdebug/AbyssDebug.java at line 6: cannot find symbol
  public class AbyssDebug extends MeteorAddon {
                                  ^
  symbol: class MeteorAddon

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 6: package meteordevelopment.meteorclient.events.render does not exist
  import meteordevelopment.meteorclient.events.render.Render3DEvent;
                                                     ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 7: package meteordevelopment.meteorclient.events.world does not exist
  import meteordevelopment.meteorclient.events.world.TickEvent;
                                                    ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 8: package meteordevelopment.meteorclient.renderer does not exist
  import meteordevelopment.meteorclient.renderer.ShapeMode;
                                                ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 9: package meteordevelopment.meteorclient.settings does not exist
  import meteordevelopment.meteorclient.settings.BoolSetting;
                                                ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 10: package meteordevelopment.meteorclient.settings does not exist
  import meteordevelopment.meteorclient.settings.DoubleSetting;
                                                ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 11: package meteordevelopment.meteorclient.settings does not exist
  import meteordevelopment.meteorclient.settings.IntSetting;
                                                ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 12: package meteordevelopment.meteorclient.settings does not exist
  import meteordevelopment.meteorclient.settings.Setting;
                                                ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 13: package meteordevelopment.meteorclient.settings does not exist
  import meteordevelopment.meteorclient.settings.SettingGroup;
                                                ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 14: package meteordevelopment.meteorclient.systems.modules does not exist
  import meteordevelopment.meteorclient.systems.modules.Categories;
                                                       ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 15: package meteordevelopment.meteorclient.systems.modules does not exist
  import meteordevelopment.meteorclient.systems.modules.Module;
                                                       ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 16: package meteordevelopment.meteorclient.utils.render.color does not exist
  import meteordevelopment.meteorclient.utils.render.color.Color;
                                                          ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 17: package meteordevelopment.orbit does not exist
  import meteordevelopment.orbit.EventHandler;
                                ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 63: package TickEvent does not exist
      private void onTick(TickEvent.Pre event) {
                                   ^

ERROR in   src/client/java/com/abyssdebug/AbyssDebug.java at line 3: package meteordevelopment.meteorclient.addons does not exist
  import meteordevelopment.meteorclient.addons.MeteorAddon;
                                              ^

ERROR in   src/client/java/com/abyssdebug/AbyssDebug.java at line 4: package meteordevelopment.meteorclient.systems.modules does not exist
  import meteordevelopment.meteorclient.systems.modules.Modules;
                                                       ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 27: package IntSetting does not exist
      private final Setting<Integer> minimumLight = general.add(new IntSetting.Builder().name("minimum-light-level").description("Minimum block light for air markers.").defaultValue(1).range(0, 15).sliderRange(0, 15).build());
                                                                              ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 28: package IntSetting does not exist
      private final Setting<Integer> maximumLight = general.add(new IntSetting.Builder().name("maximum-light-level").description("Maximum block light for air markers.").defaultValue(15).range(0, 15).sliderRange(0, 15).build());
                                                                              ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 29: package IntSetting does not exist
      private final Setting<Integer> scanRadius = general.add(new IntSetting.Builder().name("scan-radius").description("Scanning radius in blocks around the player.").defaultValue(12).range(1, 32).sliderRange(1, 32).build());
                                                                            ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 30: package IntSetting does not exist
      private final Setting<Integer> renderDistance = general.add(new IntSetting.Builder().name("render-distance").description("Maximum marker distance in blocks.").defaultValue(12).range(1, 32).sliderRange(1, 32).build());
                                                                                ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 31: package BoolSetting does not exist
      private final Setting<Boolean> showAir = general.add(new BoolSetting.Builder().name("show-air-block-markers").description("Show air receiving block light.").defaultValue(true).build());
                                                                          ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 32: package BoolSetting does not exist
      private final Setting<Boolean> showSources = general.add(new BoolSetting.Builder().name("show-light-source-markers").description("Show emitting blocks regardless of sampled light.").defaultValue(true).build());
                                                                              ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 33: package IntSetting does not exist
      private final Setting<Integer> fillOpacity = general.add(new IntSetting.Builder().name("fill-opacity").description("Yellow fill opacity from 0 to 255.").defaultValue(35).range(0, 255).sliderRange(0, 255).build());
                                                                             ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 34: package DoubleSetting does not exist
      private final Setting<Double> outlineThickness = general.add(new DoubleSetting.Builder().name("outline-thickness").description("Outline thickness in block units.").defaultValue(0.02).range(0.002, 0.1).sliderRange(0.002, 0.1).build());
                                                                                    ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 68: package mc does not exist
          int px = (int) Math.floor(mc.player.getX());
                                      ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 69: package mc does not exist
          int py = (int) Math.floor(mc.player.getY());
                                      ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 70: package mc does not exist
          int pz = (int) Math.floor(mc.player.getZ());
                                      ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 131: package mc does not exist
              double dx = pos.getX() + 0.5 - mc.player.getX();
                                               ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 132: package mc does not exist
              double dy = pos.getY() + 0.5 - mc.player.getY();
                                               ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 133: package mc does not exist
              double dz = pos.getZ() + 0.5 - mc.player.getZ();
                                               ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 135: package mc does not exist
              long sx = (long) pos.getX() - (int) Math.floor(mc.player.getX());
                                                               ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 136: package mc does not exist
              long sy = (long) pos.getY() - (int) Math.floor(mc.player.getY());
                                                               ^

ERROR in   src/client/java/com/abyssdebug/AbyssLightDebug.java at line 137: package mc does not exist
              long sz = (long) pos.getZ() - (int) Math.floor(mc.player.getZ());
                                                               ^


=== COMPILATION ERROR ANALYSIS ===

MISSING CLASSES:
  - SettingGroup
  - Setting
  - Render3DEvent
  - MeteorAddon
  - EventHandler
  - Color
ACTION: Create these classes or check imports

FILES TO INVESTIGATE:
  - src/client/java/com/abyssdebug/AbyssLightDebug.java
  - src/client/java/com/abyssdebug/AbyssDebug.java
  -   src/client/java/com/abyssdebug/AbyssLightDebug.java
  -   src/client/java/com/abyssdebug/AbyssDebug.java

Please fix this error by creating a new artifact with the corrected code.

Kodari AI
KodariNov 15 at 8:38 pm 8

The errors indicate that Meteor Client and Orbit are missing from the compiler’s classpath. The project already declares Meteor, and Fabric Loom’s split client source set inherits the main compile classpath, so adding placeholder classes or changing source sets would not reliably fix this.

I can’t produce a verified corrected artifact until the compiler resolves the declared Meteor dependency. No files were changed.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
gradlew.bat
settings.gradle
Code
7 262
src/client/java/com/abyssdebug/AbyssLightDebug.java
package com.abyssdebug;

import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import meteordevelopment.meteorclient.events.render.Render3DEvent;
import meteordevelopment.meteorclient.events.world.TickEvent;
import meteordevelopment.meteorclient.renderer.ShapeMode;
import meteordevelopment.meteorclient.settings.BoolSetting;
import meteordevelopment.meteorclient.settings.DoubleSetting;
import meteordevelopment.meteorclient.settings.IntSetting;
import meteordevelopment.meteorclient.settings.Setting;
import meteordevelopment.meteorclient.settings.SettingGroup;
import meteordevelopment.meteorclient.systems.modules.Categories;
import meteordevelopment.meteorclient.systems.modules.Module;
import meteordevelopment.meteorclient.utils.render.color.Color;
import meteordevelopment.orbit.EventHandler;
import net.minecraft.block.BlockState;
import net.minecraft.client.world.ClientWorld;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.LightType;
import net.minecraft.world.chunk.ChunkStatus;
import net.minecraft.world.chunk.WorldChunk;

public class AbyssLightDebug extends Module {
    private final SettingGroup general = settings.getDefaultGroup();
    private final Setting<Integer> minimumLight = general.add(new IntSetting.Builder().name("minimum-light-level").description("Minimum block light for air markers.").defaultValue(1).range(0, 15).sliderRange(0, 15).build());
    private final Setting<Integer> maximumLight = general.add(new IntSetting.Builder().name("maximum-light-level").description("Maximum block light for air markers.").defaultValue(15).range(0, 15).sliderRange(0, 15).build());
    private final Setting<Integer> scanRadius = general.add(new IntSetting.Builder().name("scan-radius").description("Scanning radius in blocks around the player.").defaultValue(12).range(1, 32).sliderRange(1, 32).build());
    private final Setting<Integer> renderDistance = general.add(new IntSetting.Builder().name("render-distance").description("Maximum marker distance in blocks.").defaultValue(12).range(1, 32).sliderRange(1, 32).build());
    private final Setting<Boolean> showAir = general.add(new BoolSetting.Builder().name("show-air-block-markers").description("Show air receiving block light.").defaultValue(true).build());
    private final Setting<Boolean> showSources = general.add(new BoolSetting.Builder().name("show-light-source-markers").description("Show emitting blocks regardless of sampled light.").defaultValue(true).build());
    private final Setting<Integer> fillOpacity = general.add(new IntSetting.Builder().name("fill-opacity").description("Yellow fill opacity from 0 to 255.").defaultValue(35).range(0, 255).sliderRange(0, 255).build());
    private final Setting<Double> outlineThickness = general.add(new DoubleSetting.Builder().name("outline-thickness").description("Outline thickness in block units.").defaultValue(0.02).range(0.002, 0.1).sliderRange(0.002, 0.1).build());

    private final Map<BlockPos, Marker> markers = new HashMap<>();
    private ClientWorld world;
    private int centerX, centerY, centerZ, radius, cursor;
    private boolean initialized;

    public AbyssLightDebug() {
        super(Categories.Render, "abyss-light-debug", "Visualizes underground block light and light sources.");
    }

    @Override
    public void onActivate() {
        clear();
    }

    @Override
    public void onDeactivate() {
        clear();
    }

    private void clear() {
        markers.clear();
        world = null;
        initialized = false;
        cursor = 0;
    }

    @EventHandler
    private void onTick(TickEvent.Pre event) {
        if (mc.world == null || mc.player == null) {
            clear();
            return;
        }
        int px = (int) Math.floor(mc.player.getX());
        int py = (int) Math.floor(mc.player.getY());
        int pz = (int) Math.floor(mc.player.getZ());
        if (world != mc.world || !initialized || radius != scanRadius.get()) {
            markers.clear();
            world = mc.world;
            centerX = px;
            centerY = py;
            centerZ = pz;
            radius = scanRadius.get();
            cursor = 0;
            initialized = true;
        }

        Iterator<BlockPos> iterator = markers.keySet().iterator();
        while (iterator.hasNext()) {
            BlockPos pos = iterator.next();
            long dx = (long) pos.getX() - px, dy = (long) pos.getY() - py, dz = (long) pos.getZ() - pz;
            if (dx * dx + dy * dy + dz * dz > (long) radius * radius
                || world.getChunkManager().getChunk(pos.getX() >> 4, pos.getZ() >> 4, ChunkStatus.FULL, false) == null) iterator.remove();
        }

        int side = radius * 2 + 1;
        int volume = side * side * side;
        for (int i = 0; i < Math.min(4096, volume); i++) {
            int index = cursor++;
            int dx = index % side - radius;
            int dz = index / side % side - radius;
            int dy = index / (side * side) - radius;
            if (dx * dx + dy * dy + dz * dz > radius * radius) continue;
            int x = centerX + dx, y = centerY + dy, z = centerZ + dz;
            if (y >= 0 || y < world.getBottomY() || y > world.getTopYInclusive()) continue;
            WorldChunk chunk = world.getChunkManager().getChunk(x >> 4, z >> 4, ChunkStatus.FULL, false);
            if (chunk == null) continue;
            BlockPos pos = new BlockPos(x, y, z);
            BlockState state = chunk.getBlockState(pos);
            boolean air = state.isAir();
            boolean source = state.getLuminance() > 0;
            if (air || source) {
                int light = world.getLightLevel(LightType.BLOCK, pos);
                markers.put(pos, new Marker(air, source, light));
            } else markers.remove(pos);
        }
        if (cursor >= volume) {
            cursor = 0;
            centerX = px;
            centerY = py;
            centerZ = pz;
        }
    }

    @EventHandler
    private void onRender(Render3DEvent event) {
        if (mc.world == null || mc.world != world || mc.player == null) return;
        Color fill = new Color(255, 235, 0, fillOpacity.get());
        Color line = new Color(255, 235, 0, 255);
        double maxDistance = renderDistance.get();
        double maxSquared = maxDistance * maxDistance;
        double t = outlineThickness.get();
        for (Map.Entry<BlockPos, Marker> entry : markers.entrySet()) {
            BlockPos pos = entry.getKey();
            Marker marker = entry.getValue();
            if (!(showSources.get() && marker.source()) && !(showAir.get() && marker.air() && marker.light() >= minimumLight.get() && marker.light() <= maximumLight.get())) continue;
            double dx = pos.getX() + 0.5 - mc.player.getX();
            double dy = pos.getY() + 0.5 - mc.player.getY();
            double dz = pos.getZ() + 0.5 - mc.player.getZ();
            if (dx * dx + dy * dy + dz * dz > maxSquared) continue;
            long sx = (long) pos.getX() - (int) Math.floor(mc.player.getX());
            long sy = (long) pos.getY() - (int) Math.floor(mc.player.getY());
            long sz = (long) pos.getZ() - (int) Math.floor(mc.player.getZ());
            if (sx * sx + sy * sy + sz * sz > (long) radius * radius) continue;
            if (world.getChunkManager().getChunk(pos.getX() >> 4, pos.getZ() >> 4, ChunkStatus.FULL, false) == null) continue;
            double x = pos.getX(), y = pos.getY(), z = pos.getZ();
            event.renderer.box(x, y, z, x + 1, y + 1, z + 1, fill, line, ShapeMode.Sides, 0);
            for (int a = 0; a < 2; a++) {
                for (int b = 0; b < 2; b++) {
                    double u = a == 0 ? 0 : 1 - t;
                    double v = b == 0 ? 0 : 1 - t;
                    event.renderer.box(x, y + u, z + v, x + 1, y + u + t, z + v + t, line, line, ShapeMode.Sides, 0);
                    event.renderer.box(x + u, y, z + v, x + u + t, y + 1, z + v + t, line, line, ShapeMode.Sides, 0);
                    event.renderer.box(x + u, y + v, z, x + u + t, y + v + t, z + 1, line, line, ShapeMode.Sides, 0);
                }
            }
        }
    }

    private record Marker(boolean air, boolean source, int light) {}
}