Fire Anarchy

can you create a mod for fabric 1.20.4 which moves the player left and right, only changing direction once you hit a wall and stop all movememnt when a gui is opened, this must also connect to discord via a webhook to alert the user when a gui has opened

Kodari AI
KodariOct 5 at 2:16 pm 1
WallBounceWalker
Creates a Fabric 1.20.4 mod that automatically moves the player left and right, reversing direction upon wall collision and ceasing all movement when any GUI is opened. Integrates Discord webhook notifications to alert the user whenever a GUI opens, providing real-time remote monitoring of player activity and automated movement behavior.
  1. Check the Fabric 1.20.4 client tick, player collision, and keybinding APIs used for automatic strafe movement.

  2. Create the client-only Fabric project and a configurable Discord webhook notification when a GUI opens.

  3. Add the minimal Gradle and mod metadata needed to build it.

Created the Fabric 1.20.4 client mod. It continuously strafes left, reverses when it hits a wall, and releases its movement keys while a GUI is open.

On first launch, it creates config/sideways.properties. Add your Discord webhook URL after webhook_url=; the mod then sends an alert when a GUI opens.

Fire Anarchy

can you also add a feature to count the amount of crops, blocks broken and send it to the discord when a certain key is pressed?

Kodari AI
KodariOct 5 at 2:23 pm 1
  1. Review the existing client config and Discord sender.

  2. Verify the exact 1.20.4 APIs for keybind polling and client-side block-break tracking.

  3. Add persistent block/crop totals and send a report on the chosen key press.

Added a break report on K (rebindable in Controls). It tracks successfully broken blocks and crop blocks included in that total, then sends the cumulative counts since launch to the configured Discord webhook. The mixin records the block type before the break, so crops are counted correctly.

Fire Anarchy

can you change it so you can turn the auto walker left and right and add a way to change the key to do so in the settings?

Kodari AI
KodariOct 5 at 2:31 pm 1

Added a Toggle Auto Walker keybind, defaulting to J. Press it to pause or resume movement; change the key under Options → Controls → Sideways Walker. The walker remains enabled by default.

Fire Anarchy

change this so the walker is disabled by default

Kodari AI
KodariOct 5 at 2:34 pm 1

The auto walker is now disabled by default. Press the configured toggle key (default J) to start it.

Fire Anarchy

one final change can you show what the username of the player is that is using the mod?

Kodari AI
KodariOct 5 at 2:36 pm 1
  1. Find the existing Discord notification/report flow and decide where to include the player’s username.

  2. Verify the exact Minecraft client/player name API in the 1.20.4 source.

  3. Add the username to the Discord messages.

Discord webhook messages now include the active Minecraft username, including GUI-open alerts and block/crop reports.

Fire Anarchy

can you change this so the player can move left and right while the mod is disabled

Kodari AI
KodariOct 5 at 2:40 pm 1
  1. Check the walker’s disabled-state input handling.

  2. Verify the relevant Fabric/Minecraft input APIs, then adjust it so vanilla left/right movement remains available when disabled.

When the walker is disabled, it now restores movement key states from the physical keyboard, so you can move left and right normally. GUI-open movement blocking is unchanged.

Fire Anarchy

ok, remove the part of the discord webhook which sends a notification everytime a gui is opened, only leave the blocks and crops broken send via keybind, also impliment a feature where it detects what block/crop is broken

Kodari AI
KodariOct 5 at 2:53 pm 1
  1. Remove GUI-open Discord notifications while keeping the keybind report.

  2. Track the specific broken block/crop types and include their counts in the Discord report.

Removed GUI-open webhook alerts. Pressing K now sends the session totals plus counts for each broken block type and crop type, identified by its Minecraft block ID. The existing player username prefix remains.

Fire Anarchy

change this so it takes note of cocoa beans, potatoes wheat and carrots

Kodari AI
KodariOct 5 at 3:01 pm 1
  1. Check how broken-block IDs and crop totals are currently recorded.

  2. Verify the exact 1.20.4 block identifiers for cocoa, potatoes, wheat, and carrots.

  3. Update the report tracking so those crops are counted explicitly.

Updated crop detection to explicitly include cocoa pods, potatoes, wheat, and carrots. Successful breaks are counted in the crop totals and shown individually by block ID in the Discord report sent with the report keybind.

Fire Anarchy

can you impliment a feature where if i type !ss into discord it will send a screenshot of minecraft and embed it to the discord webhook

Kodari AI
KodariOct 5 at 3:34 pm 1

The current webhook is send-only; it can post reports but cannot receive Discord messages like !ss. A screenshot also has to be captured by the running Minecraft client, so this needs a small Discord bot backend to listen for the command and relay the request to the mod.

Build and deploy a Discord bot project on Kodari for that backend. Then I can connect the mod so an online client captures and uploads the screenshot, and the bot posts it in Discord. The mod currently contains a hard-coded webhook URL, so rotate that URL in Discord before sharing the project further.

Fire Anarchy

ok fine, impliment another keybind to send a screenshot of the users screen when a keybind is pressed which can be reconfigured in the controls menu

Kodari AI
KodariOct 5 at 7:45 pm 1
  1. Check the existing keybind and Discord webhook flow.

  2. Verify the screenshot and keybinding APIs against the mounted 1.20.4 source.

  3. Add a configurable Controls keybind that captures and posts a screenshot.

Added Send Minecraft screenshot, defaulting to F8. Press it to upload a screenshot to the configured Discord webhook as an image embed; the key can be changed under Options → Controls → Sideways Walker.

Fire Anarchy

can you add an ingame gui to show the user what they have broken and how many they have broken

Kodari AI
KodariOct 5 at 8:19 pm 1
  1. Find the existing broken-block counters and client keybind setup.

  2. Add a configurable in-game screen to display each broken block and its count.

  3. Verify any Minecraft/Fabric API signatures used against the mounted 1.20.4 source.

Added Show Broken Block Stats to Controls, defaulting to H. It opens an in-game screen with total blocks and crops broken, plus counts for each block and crop type; scroll to browse longer lists. The screen doesn’t pause the game, and these counts reset when the client restarts.

Fire Anarchy

ok remove the block breaking stat and only have the crops broken and have the mod display a image of what have been broken rather then the item name

Kodari AI
KodariOct 5 at 8:33 pm 1
  1. Inspect the stats screen and crop tracking.

  2. Remove block totals and names, showing an item image for each broken crop with its count.

  3. Verify the Minecraft rendering API before updating the screen.

Updated the H stats screen to show only crops broken. Each crop now appears as an item image with its count instead of a block name; the total crop count remains. Block-break tracking for Discord reports is unchanged.

Fire Anarchy

change it so there is 2 pages of stats, one being the current instance and the other being a save number of lifetime crops broken

Kodari AI
KodariOct 5 at 8:44 pm 2
  1. Locate the crop counters and stats screen.

  2. Add a second page for lifetime totals, persisting those counts across restarts.

  3. Add page navigation and keep the current-instance page intact.

Added This session and Lifetime pages to the crop stats screen. Click the tabs to switch; both show crop icons and counts. Lifetime totals are saved to config/sideways-lifetime-crops.properties and persist across restarts.

Fire Anarchy

change the block broken counter to just count crops

Kodari AI
KodariOct 6 at 1:46 pm 1
  1. Keep successful-break detection unchanged.

  2. Increment the block counter and per-block breakdown only when the broken block is a crop.

The block-break counter and per-block breakdown now count crops only. Ordinary blocks no longer increase either counter; the session and lifetime crop stats remain unchanged.

Fire Anarchy

add a feature to monitor chat and send a discord message when the chat says Grim Reaper found you a Jade Crystal!

Kodari AI
KodariOct 6 at 2:04 pm 1
  1. Find the existing Discord webhook sender and client initialization flow.

  2. Verify the Fabric 1.20.4 client chat event signature.

  3. Add a chat listener that sends a Discord notification when the exact message appears.

Added chat monitoring for both player chat and server/game messages. When a message contains “Grim Reaper found you a Jade Crystal!”, the mod sends a notification to the configured Discord webhook, tagged with the Minecraft username.

Fire Anarchy

add a feature that allows the player to adjust the camera angle by 1* using the arrows keys

Kodari AI
KodariOct 8 at 10:24 am 1
  • Add four arrow-key bindings (left/right yaw, up/down pitch), exposed in Controls.

  • Apply one-degree steps while in gameplay and clamp pitch to valid view limits.

Added four configurable bindings under Options → Controls → Sideways Walker. The arrow keys turn left/right or look up/down by 1° per press; vertical angle is clamped to Minecraft’s ±90° limit.

Fire Anarchy

can you do it for pitch and yaw

Kodari AI
KodariOct 8 at 10:25 am 1

The current bindings already adjust both axes by 1° per press: ←/→ change yaw, and ↑/↓ change pitch. You can reconfigure all four in Options → Controls → Sideways Walker.

Fire Anarchy

change it so if the angle for whatever angle such as 64.3 it will adjust to the nearest whole number

Kodari AI
KodariOct 8 at 10:29 am 1

Arrow-key adjustments now round the current pitch or yaw to the nearest whole degree before applying the 1° change. Pitch remains clamped to ±90°.

Fire Anarchy

can you make this mod sync with other devices but if the instance/device is using an account which has farmed on a different device it will update on every device that the account has been on

Kodari AI
KodariOct 9 at 9:58 am 1
  1. Check how crop counts are stored and what identity/configuration the mod already exposes.

  2. Add account-keyed sync only if there’s a safe backend path; this needs a hosted API to share data between devices.Cross-device sync needs an online backend; the mod’s current lifetime counts are stored only on each device. Create a Discord bot project on Kodari and deploy it to provide an API at its https://<name>.kodaribots.com address. The API should securely store and return crop totals keyed by the player’s Minecraft account UUID—not username.

Once you have the deployed API URL and its authentication method, I can connect the mod so it uploads crop breaks and refreshes lifetime totals on each device.

Fire Anarchy

can you impliment a hud element that also shows the amount of crops broken like in the crops broken menu but it is on the screen while the player is farming, also make it customizable size and position

Kodari AI
KodariOct 10 at 2:00 pm 1
  1. Add a crop-count HUD and persist its position and scale.

  2. Add drag-to-position and size controls to the existing crop stats screen.

Added an in-game crop counter showing the current-session total. Press H to open the crop stats menu, click Move HUD, then drag the counter to reposition it. Use − / + to adjust its size; position and scale are saved between launches.

Fire Anarchy

can you add a feature where the user can type /gif then add a link behind it to display a gif as a gui element

Kodari AI
KodariOct 14 at 2:49 pm 3
  1. Check the existing client setup and identify a Fabric 1.20.4 hook for /gif <URL>.

  2. Add a client-side command that fetches a GIF and renders it as a movable GUI overlay, with basic validation and error feedback.

  3. Verify every Minecraft/Fabric API signature against the mounted source before editing Java files.

Added animated GIF overlays. In-game, enter /gif <direct HTTP(S) GIF link> to display one centered on screen; use /gif clear (or /gif with no link) to remove it. Downloads and image sizes are capped to limit resource use.

Fire Anarchy

add a feature to adjust the size of the gif and location

Kodari AI
KodariOct 14 at 2:54 pm 1

Added persistent GIF size and position controls:

  • /gif size <pixels> sets the GIF’s maximum dimension (16–1024 pixels).

  • /gif position <x> <y> places it at those screen coordinates from the top-left.

  • /gif center returns it to the center.

The overlay scales down to fit the screen, and its size and position are saved between launches.

Fire Anarchy

make it so i can drag the gif anywhere and use the scroll wheel to shrink/enlarge the gif only when a inventory is open

Kodari AI
KodariOct 14 at 3:07 pm 2

GIFs can now be repositioned by left-clicking and dragging them while an inventory or container screen is open. Hover over the GIF and use the scroll wheel to enlarge or shrink it; the size and position are saved when you finish dragging.

Fire Anarchy

make it possible to have multiple gifs on the screen at once and have it save over instance launces

Kodari AI
KodariOct 14 at 3:21 pm 3
  1. Update the GIF overlay to manage multiple GIFs at once.

  2. Persist the full GIF collection so it is restored after restarting the instance.

Added support for multiple GIF overlays. Each GIF can be dragged and resized independently while an inventory is open. The mod saves each GIF’s URL, size, and position in config/sideways-gif-hud.properties, then reloads the GIFs on the next launch.

Use /gif <URL> to add another GIF; /gif clear removes all overlays and clears the saved list.

Fire Anarchy

make this work with larger/longer gifs as this currently only works with small/short gifs

Kodari AI
KodariOct 14 at 3:42 pm 1

Raised the GIF limits: files up to 25 MiB, dimensions up to 1024 × 1024, and up to 300 frames, with a combined decoded-pixel cap to limit memory use. Longer or larger GIFs within those limits should now load.

Fire Anarchy

can you add a feature where it gives the user a warning via discord alerting the player is at y=-50

Kodari AI
KodariOct 14 at 10:46 pm 1
  1. Add a one-shot alert when the local player reaches or drops below Y=-50.

  2. Re-arm it after the player rises above Y=-50, and send the warning through the existing Discord webhook.

Added a Discord warning when the player reaches or falls below Y=-50. It sends once per descent and can alert again after the player rises above Y=-50; it uses the mod’s existing webhook configuration.

Fire Anarchy

change this so it only alerts the user when the crop being farmed is potatoes, and make it so i can do /gif clear to clear all of the gifs off of my screen

Kodari AI
KodariOct 15 at 8:33 am 1
  1. Restrict the Y=-50 Discord warning to potato farming.

  2. Confirm /gif clear removes every GIF and its saved entry.

  1. The Y=-50 Discord alert now fires only when a potato crop is successfully harvested below that height; rising above Y=-50 rearms it.

  2. Check that /gif clear removes all active GIFs and clears their saved entries.1. The Y=-50 Discord alert now triggers only when a potato crop is successfully harvested below Y=-50. Rising above that height rearms it.

  3. /gif clear already clears all GIF overlays, saves an empty list, and prevents them from returning after relaunch.

Fire Anarchy

add a feature that tracks when the game was launched and when the user sends a status update of how many crops farmed it says when the game was launched

Kodari AI
KodariOct 16 at 9:54 am 1

Discord crop reports now include the game’s launch date and time, using the computer’s local timezone.

Fire Anarchy

add a in game menu in which the user can put a set of coordinates, once the user hits/arrives at those coordinates send a message to the discord webhook

Kodari AI
KodariOct 18 at 5:50 pm 2
  1. Inspect the current client initialization, webhook sender, and mixins to find the cleanest way to open and submit an in-game coordinate form.

  2. Verify the Minecraft/Fabric screen, input, and tick signatures against the 1.20.4 source.

  3. Add the menu and send a Discord webhook alert once the player reaches the saved coordinates.

Added /coords, which opens a menu to enter block coordinates as x y z (spaces or commas) and set an arrival target. When the player reaches that exact block, the mod sends the coordinates to the configured Discord webhook once, then clears the target.

Fire Anarchy

make the user be able to change/create a message to send when the player gets to the given coordinates

Kodari AI
KodariOct 18 at 5:53 pm 1
  • Add a message field to /coords and store its text with the active target.

  • Send that custom text on arrival, falling back to the existing coordinate alert when left blank; properly JSON-escape the webhook content.

Added a Message sent on arrival field to /coords. Enter a custom message before setting the target; it’s sent to Discord when you arrive. Leaving it blank keeps the default message with the coordinates. Custom text is safely escaped for Discord’s JSON payload.

Fire Anarchy

instead of having it as a command have it as a gui where the user can input coordinates and the message

Kodari AI
KodariOct 18 at 5:55 pm 1
  • Replace /coords with a dedicated in-game keybinding that opens the existing coordinate-and-message screen.

  • Add its control-menu label and keep the existing arrival alert behavior unchanged.

Replaced /coords with the Open Coordinate Alert Menu keybinding (default O). It opens the existing GUI for entering coordinates and a custom Discord message; you can change the key in Minecraft’s Controls menu. Arrival alerts still work as before.

Fire Anarchy

ok change this into a waypoints menu where it will have a list of all the coordintes set, and will allow the user to change what message is sent to the discord webhook

Kodari AI
KodariOct 19 at 9:36 am 2
  1. Inspect how coordinate alerts and the current menu are implemented.

  2. Verify the Minecraft 1.20.4 screen/input APIs needed for a waypoint list and editing flow.

  3. Replace the single-target menu with a persistent waypoint list where each waypoint has editable coordinates and Discord message.

Replaced the single-target form with a Waypoints Menu. Add waypoints with coordinates and a custom Discord message, edit or remove them from the paginated list, and they’re saved across launches in config/sideways-waypoints.properties. Each waypoint alerts Discord when you arrive; leaving and returning to it can trigger the alert again. The menu remains on the existing configurable keybind, now labeled Open Waypoints Menu.

Fire Anarchy

for the block breaking discord report i now want it to be cleaner, only telling me the amount of crops i have broken in a message such as [player] has broken [number of crops] , then give a list of what the player has broken in a clean manner such as just a list, not block by type,crops by type, just a number of crops and what the player has broken

i also want fire coral,horn coral, tube coral, brain coral and bubble coral to be considered as a crop now

Kodari AI
KodariOct 23 at 7:42 am 1
  1. Simplify the crop-breaking Discord report to show a total and one clean list of broken crops.

  2. Include fire, horn, tube, brain, and bubble coral in crop tracking.

The Discord report now says “[player] has broken [number] crops.” followed by an alphabetized bullet list of crop names and counts, without the launch timestamp or separate block/crop sections.

Fire, horn, tube, brain, and bubble coral are now counted as crops, including their dead, block, plant, fan, and wall-fan variants.

Fire Anarchy

can you add a feature where it can send a message of when the game is launched, from what device and what server they have joined and who has launched the game with the mod, add a feature so it can be sent to a seperate discord webhook

Kodari AI
KodariOct 23 at 7:52 am 1
  1. Trace the existing webhook configuration and client lifecycle/server-join hooks.

  2. Add a separate launch/join webhook setting and report player name, device/OS, launch time, and joined server.

  3. Verify any Minecraft/Fabric API signatures used against the 1.20.4 source.

Added launch and server-join alerts through a separate Discord webhook. The reports include the player’s Minecraft username, launch time, operating system and architecture; server-join reports include the server name and address.

Set launch_webhook_url in config/sideways.properties to the new webhook URL. These alerts won’t send until it’s configured; the existing webhook remains unchanged.

Fire Anarchy

change it so i can have 2 discord webhooks at once

Kodari AI
KodariOct 23 at 8:11 am 1
  • Keep both configured webhook URLs and broadcast each report to both.

  • Preserve compatibility by using the existing launch webhook as the second destination if no second URL is configured.

  • Send screenshots to both webhook destinations as well.

All Discord reports and screenshots now send to both configured webhooks. Set webhook_url and webhook_url_2 in config/sideways.properties; existing launch_webhook_url is still used as the second URL if webhook_url_2 isn’t set.

Fire Anarchy

have one webhook for sending the device id, player who launched and what server and have the other one remain for the crops and the screenshots and the waypoint messages

Kodari AI
KodariOct 23 at 8:14 am 1
  1. Trace which reports use each webhook and where launch/server-join alerts are triggered.

  2. Route device/player/server alerts only to the first webhook; keep crop reports, screenshots, and waypoint alerts on the other.

  3. Update the webhook configuration labels or documentation if needed.

Launch and server-join reports now go only to webhook_url_2 (or legacy launch_webhook_url); crop reports, screenshots, and waypoint alerts go only to webhook_url. The launch reports still include the player name and existing device/OS details.

Fire Anarchy

make the code very obvious where to put both of the discord webhooks

Kodari AI
KodariOct 23 at 8:31 am 1

The generated config/sideways.properties now labels both webhook fields:

  • webhook_url — crop reports, screenshots, and waypoint alerts

  • webhook_url_2 — player launch/device and server-join alerts

Paste each full webhook URL after its =. Existing config files are left untouched to preserve their saved URLs; the labels apply when a new config is generated.

Fire Anarchy

create a gui menu for when the right shift key is pressed a clickgui of the features shows up, make a new feature wheere the user has an option for the mod to hold w aswell as a and d

Kodari AI
KodariOct 25 at 8:46 am 1
  1. Inspect the client setup and add a Right Shift click GUI listing configurable features.

  2. Add a toggleable movement feature that holds W, A, and D, and verify all Fabric/Minecraft APIs against the 1.20.4 source.

Added a click GUI opened with Right Shift. It includes toggles for Auto Walker and Hold W/A/D; the latter holds forward and both strafe keys while you’re in-game. Press Right Shift or Esc to close the menu. The keybinding can be changed in Minecraft’s Controls menu.

Fire Anarchy

change it so the mod will hold a or d and still change when it hits a wall but add the option for it to hold w aswell when waliking left and right, also add a feature that brings up a tempory notifcation in the bottom right of the screen telling the user if the autowalker has been turned on or not

Kodari AI
KodariOct 25 at 8:56 am 1

Updated Auto Walker to alternate between A and D when it hits a wall. The click GUI now has an “Auto Walker holds W” toggle for forward movement; when Auto Walker is active, it keeps steering in one direction rather than pressing both A and D.

Toggling Auto Walker from the GUI or its keybind now displays a 2.5-second ON/OFF notification in the bottom-right corner.

Fire Anarchy

that works fine but add it so the walker changes direction when it hits a wall

Kodari AI
KodariOct 25 at 9:05 am 2

Moved wall-collision detection to the end of each client tick, after the player’s movement has been resolved. Auto Walker now reverses between A and D when that movement hits a wall.

Fire Anarchy

have it so the mod still walks left and right changing everytime it hits a wall even while holding w

Kodari AI
KodariOct 25 at 9:12 am 1

Auto Walker now measures sideways movement separately from forward movement. Holding W no longer masks a side-wall collision: it switches between A and D when the current sideways direction is blocked.

Fire Anarchy

add a feature which shows how fast the player is moving

Kodari AI
KodariOct 25 at 9:27 am 1

Added Show Player Speed to the Right Shift feature menu. When enabled, a top-right HUD displays horizontal movement speed in blocks per second; it’s off by default.

Fire Anarchy

add a feature which will detect what device has launched the game and send it to the same webhook, also make the speed player hud is always on the screen and can be moved from within the crops broken gui

Kodari AI
KodariOct 27 at 3:33 pm 4
  1. Improve launch alerts with the detected device/platform details, sent to the existing launch webhook.

  2. Keep the speed HUD always visible and add a way to reposition it from the feature GUI.

  • Launch report: The configured webhook now receives the player name, launch time, detected OS and architecture, OS version, and Java version. It reports platform details, not a persistent hardware ID.

  • Speed HUD: It’s always enabled during gameplay; the toggle was removed from the feature menu. Open the crop stats screen with H, select Move HUD, and drag the speed display. Its position is saved with the crop HUD settings.

Fire Anarchy

add a feature in the mod where it tracks the messages in chat and if the message repeats display the message again with a number next to it with the amount of times the messages is sent, also add a feature where when the chat is open the user can hover over a messages and press right control and it will copy the message to the clipboard

Kodari AI
KodariOct 31 at 12:22 am 2
  1. Add repeat-counting for duplicate chat messages.

  2. Add hover + Right Control to copy a chat message, using the 1.20.4 chat APIs.

Duplicate incoming chat lines now get a running count suffix, such as (x2) and (x3). Next I’m adding the hover + Right Control copy interaction.

Added both chat features:

  • Consecutive repeated messages display a running count, such as (x2) and (x3).

  • While chat is open, hover over a message and press Right Control to copy the full message to your clipboard. Wrapped messages copy as one complete message.

Fire Anarchy

make this mod compatible with the later Minecraft versions such as fabric 26.2

Kodari AI
KodariNov 1 at 4:16 pm 1

This project is a Fabric 1.20.4 mod, so I can’t make it compatible with Minecraft 26.2 here. Kodari supports Fabric 26.2—switch to that project to port the mod. Switch to Fabric 26.2

Fire Anarchy

Will this version of the mod still work with 1.20.4 and 26.2

Kodari AI
KodariNov 1 at 4:22 pm 2

Not as one jar. The existing 1.20.4 build should remain for 1.20.4; a 26.2 port would be a separate build, and each version needs its matching mod jar.

Fire Anarchy

change this back to a 1.20.4 mod version

Kodari AI
KodariNov 2 at 8:07 pm 1

This project targets Fabric 26.2, so I can’t change it back to 1.20.4 here. Kodari supports Fabric 1.20.4; switch to that project to continue with the older version. Switch to Fabric 1.20.4

Fire Anarchy

add a gui element where the user can input a total a number of crops they already have and then the new crop counter will count the number of crops ontop of the number the user has inputted, allow this gui element to be moved in the crop gui menu aswell

Kodari AI
KodariNov 2 at 8:16 pm 2
  1. Add a saved starting crop total that the live counter adds to.

  2. Make its HUD display movable from the crop GUI and preserve the position.

Added a Starting crop total field to the crop stats screen. The HUD now shows that saved starting number plus crops broken this session. To reposition the counter, click Move HUD and drag it as before; the total and position are saved between sessions.

Fire Anarchy

remove the feature where it shows where the mod has been turned on and add a toggle feature in the mod which holds down the left click when pressed, add this to the right shift gui and also add a small visual next to the player hot bar where it will turn green if the mod is togles on, do this for the auto walker on the other side of the hotbar

Kodari AI
KodariNov 3 at 2:40 am 2
  1. Remove the Auto Walker ON/OFF notification.

  2. Add a GUI toggle for holding left-click, with a green hotbar-side indicator when enabled.

  3. Keep the Auto Walker toggle indicator on the opposite side of the hotbar.

Removed the temporary Auto Walker ON/OFF notification. Added a Hold Left Click toggle to the Right Shift GUI; when enabled, it holds attack while in-game. Small L and W indicators now sit on opposite sides of the hotbar and turn green when Hold Left Click or Auto Walker is enabled.

Fire Anarchy

Remove the L and W from the indicator boxes, change the toggle click into the controls menu where the user can choose what key it is, this feature is to automatically hold down the left click button in game for the user automatically, and can be turned off with the keybind pressed

Kodari AI
KodariNov 3 at 5:29 pm 2
  1. Remove the L and W letters from the hotbar indicators.

  2. Replace the GUI-only click toggle with a configurable Controls-menu keybind that toggles automatic left-click holding on/off.

Removed the L/W labels while keeping the hotbar indicators. Hold Left Click is no longer a toggle in the Right Shift GUI; assign its initially unbound key in Options → Controls → Key Binds, then press it in-game to toggle automatic left-click holding on or off.

Fire Anarchy

remove the hold left click feature and increase the size of the gifs that can be imported into minecraft to 100mb

Kodari AI
KodariTue at 12:03 am 2
  1. Remove the hold-left-click feature and its controls.

  2. Increase the GIF download limit to 100 MiB.

  • Removed Hold Left Click, its keybind, and its indicator.

  • Increased the GIF download limit to 100 MiB. The existing dimension, frame-count, and decoded-pixel limits still apply.

Fire Anarchy

change the speed hud to work when the player is going up and down aswell

Kodari AI
KodariTue at 12:04 am 1

I’ll include vertical movement in the existing speed calculation.

The speed HUD now includes vertical movement, showing total movement speed in blocks per second.

Fire Anarchy

rename the mod to appleskin so when the mod launches it shows up as apple skin

Kodari AI
KodariTue at 12:06 am 1

I’ll change the displayed mod name without changing its ID or saved settings.

The mod now appears as Apple Skin in the mod list. Its internal ID and saved settings remain unchanged.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
15 2,188
src/main/java/com/kodari/sideways/SidewaysClient.java
package com.kodari.sideways;

import com.mojang.brigadier.arguments.StringArgumentType;
import com.mojang.brigadier.arguments.IntegerArgumentType;
import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.fabric.api.client.command.v2.ClientCommandManager;
import net.fabricmc.fabric.api.client.command.v2.ClientCommandRegistrationCallback;
import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents;
import net.fabricmc.fabric.api.client.keybinding.v1.KeyBindingHelper;
import net.fabricmc.fabric.api.client.message.v1.ClientReceiveMessageEvents;
import net.fabricmc.fabric.api.client.rendering.v1.HudRenderCallback;
import net.minecraft.client.MinecraftClient;
import net.minecraft.client.gui.DrawContext;
import net.minecraft.client.option.KeyBinding;
import net.minecraft.text.Text;
import org.lwjgl.glfw.GLFW;

import java.io.IOException;
import java.io.Reader;
import java.io.Writer;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.LinkedHashMap;
import java.util.Locale;
import java.util.Map;
import java.util.Properties;

public class SidewaysClient implements ClientModInitializer {
    private static final KeyBinding REPORT_KEY = KeyBindingHelper.registerKeyBinding(
            new KeyBinding("key.sideways.send_report", GLFW.GLFW_KEY_K, "category.sideways")
    );
    private static final KeyBinding WALKER_TOGGLE_KEY = KeyBindingHelper.registerKeyBinding(
            new KeyBinding("key.sideways.toggle_walker", GLFW.GLFW_KEY_J, "category.sideways")
    );
    private static final KeyBinding SCREENSHOT_KEY = KeyBindingHelper.registerKeyBinding(
            new KeyBinding("key.sideways.send_screenshot", GLFW.GLFW_KEY_F8, "category.sideways")
    );
    private static final KeyBinding BROKEN_BLOCKS_KEY = KeyBindingHelper.registerKeyBinding(
            new KeyBinding("key.sideways.show_broken_blocks", GLFW.GLFW_KEY_H, "category.sideways")
    );
    private static final KeyBinding COORDINATE_ALERT_KEY = KeyBindingHelper.registerKeyBinding(
            new KeyBinding("key.sideways.open_coordinate_alert", GLFW.GLFW_KEY_O, "category.sideways")
    );
    private static final KeyBinding CLICK_GUI_KEY = KeyBindingHelper.registerKeyBinding(
            new KeyBinding("key.sideways.open_click_gui", GLFW.GLFW_KEY_RIGHT_SHIFT, "category.sideways")
    );
    private static final KeyBinding CAMERA_LEFT_KEY = KeyBindingHelper.registerKeyBinding(
            new KeyBinding("key.sideways.camera_left", GLFW.GLFW_KEY_LEFT, "category.sideways")
    );
    private static final KeyBinding CAMERA_RIGHT_KEY = KeyBindingHelper.registerKeyBinding(
            new KeyBinding("key.sideways.camera_right", GLFW.GLFW_KEY_RIGHT, "category.sideways")
    );
    private static final KeyBinding CAMERA_UP_KEY = KeyBindingHelper.registerKeyBinding(
            new KeyBinding("key.sideways.camera_up", GLFW.GLFW_KEY_UP, "category.sideways")
    );
    private static final KeyBinding CAMERA_DOWN_KEY = KeyBindingHelper.registerKeyBinding(
            new KeyBinding("key.sideways.camera_down", GLFW.GLFW_KEY_DOWN, "category.sideways")
    );
    private static final Path LIFETIME_CROPS_PATH = Path.of("config", "sideways-lifetime-crops.properties");
    private static final Path CROP_HUD_SETTINGS_PATH = Path.of("config", "sideways-crop-hud.properties");
    private static boolean movingLeft = true;
    private static boolean walkerEnabled = false;
    private static boolean walkerHoldForwardEnabled = false;
    private static boolean holdWadEnabled = false;
    private static int speedHudX = -1;
    private static int speedHudY = 8;
    private static boolean hasSpeedPosition;
    private static double speedPositionX;
    private static double speedPositionY;
    private static double speedPositionZ;
    private static double playerSpeed;
    private static boolean wasColliding;
    private static double walkerStartX;
    private static double walkerStartZ;
    private static boolean yMinus50AlertSent;
    private static long blocksBroken;
    private static long cropsBroken;
    private static int cropHudX = 8;
    private static int cropHudY = 8;
    private static float cropHudScale = 1.0F;
    private static final Map<String, Long> blocksByType = new LinkedHashMap<>();
    private static final Map<String, Long> cropsByType = new LinkedHashMap<>();
    private static final Map<String, Long> lifetimeCropsByType = new LinkedHashMap<>();

    @Override
    public void onInitializeClient() {
        DiscordWebhook.load();
        CoordinateAlertScreen.load();
        loadLifetimeCropCounts();
        loadCropHudSettings();
        GifHud.loadSettings();
        ClientTickEvents.START_CLIENT_TICK.register(SidewaysClient::tick);
        ClientTickEvents.END_CLIENT_TICK.register(SidewaysClient::checkWalkerWallCollision);
        HudRenderCallback.EVENT.register(SidewaysClient::renderCropHud);
        HudRenderCallback.EVENT.register(SidewaysClient::renderSpeedHud);
        HudRenderCallback.EVENT.register(SidewaysClient::renderFeatureIndicators);
        HudRenderCallback.EVENT.register(GifHud::render);
        ClientCommandRegistrationCallback.EVENT.register((dispatcher, registryAccess) ->
                dispatcher.register(ClientCommandManager.literal("gif")
                        .executes(context -> {
                            GifHud.clear();
                            context.getSource().sendFeedback(Text.literal("GIF overlay cleared."));
                            return 1;
                        })
                        .then(ClientCommandManager.argument("url", StringArgumentType.greedyString())
                                .executes(context -> {
                                    String url = StringArgumentType.getString(context, "url");
                                    if (url.equalsIgnoreCase("clear") || url.equalsIgnoreCase("off")) {
                                        GifHud.clear();
                                        context.getSource().sendFeedback(Text.literal("GIF overlay cleared."));
                                    } else {
                                        GifHud.show(url);
                                        context.getSource().sendFeedback(Text.literal("Loading GIF. Use /gif size <pixels> and /gif position <x> <y> to adjust it."));
                                    }
                                    return 1;
                                }))
                        .then(ClientCommandManager.literal("size")
                                .then(ClientCommandManager.argument("pixels", IntegerArgumentType.integer(16, 1024))
                                        .executes(context -> {
                                            int pixels = IntegerArgumentType.getInteger(context, "pixels");
                                            GifHud.setMaxSize(pixels);
                                            context.getSource().sendFeedback(Text.literal("GIF maximum dimension set to " + pixels + " pixels."));
                                            return 1;
                                        })))
                        .then(ClientCommandManager.literal("position")
                                .then(ClientCommandManager.argument("x", IntegerArgumentType.integer(0))
                                        .then(ClientCommandManager.argument("y", IntegerArgumentType.integer(0))
                                                .executes(context -> {
                                                    int x = IntegerArgumentType.getInteger(context, "x");
                                                    int y = IntegerArgumentType.getInteger(context, "y");
                                                    GifHud.setPosition(x, y);
                                                    context.getSource().sendFeedback(Text.literal("GIF position set to " + x + ", " + y + " pixels from the top-left."));
                                                    return 1;
                                                }))))
                        .then(ClientCommandManager.literal("center")
                                .executes(context -> {
                                    GifHud.center();
                                    context.getSource().sendFeedback(Text.literal("GIF centered."));
                                    return 1;
                                }))));
        ClientReceiveMessageEvents.CHAT.register((message, signedMessage, sender, params, receptionTimestamp) -> {
            if (message.getString().contains("Grim Reaper found you a Jade Crystal!")) {
                DiscordWebhook.notifyJadeCrystalFound();
            }
        });
        ClientReceiveMessageEvents.GAME.register((message, overlay) -> {
            if (message.getString().contains("Grim Reaper found you a Jade Crystal!")) {
                DiscordWebhook.notifyJadeCrystalFound();
            }
        });
    }

    private static void tick(MinecraftClient client) {
        updatePlayerSpeed(client);
        if (client.player != null) {
            walkerStartX = client.player.getX();
            walkerStartZ = client.player.getZ();
        }

        while (WALKER_TOGGLE_KEY.wasPressed()) {
            toggleWalker();
        }

        while (REPORT_KEY.wasPressed()) {
            DiscordWebhook.notifyBreakStats(cropsBroken, Map.copyOf(cropsByType));
        }

        while (SCREENSHOT_KEY.wasPressed()) {
            DiscordWebhook.sendScreenshot(client.getFramebuffer());
        }

        while (BROKEN_BLOCKS_KEY.wasPressed()) {
            long lifetimeCropsBroken = lifetimeCropsByType.values().stream().mapToLong(Long::longValue).sum();
            client.setScreen(new BrokenBlocksScreen(cropsBroken, Map.copyOf(cropsByType),
                    lifetimeCropsBroken, Map.copyOf(lifetimeCropsByType)));
        }

        while (COORDINATE_ALERT_KEY.wasPressed()) {
            client.setScreen(new CoordinateAlertScreen());
        }

        while (CLICK_GUI_KEY.wasPressed()) {
            if (client.currentScreen instanceof FeatureClickScreen) {
                client.setScreen(null);
            } else {
                client.setScreen(new FeatureClickScreen());
            }
        }

        if (client.player == null) {
            releaseMovement(client);
            wasColliding = false;
            return;
        }

        CoordinateAlertScreen.tick(client);

        if (client.player.getY() > -50.0) {
            yMinus50AlertSent = false;