Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
a94a953
Update to 1.21.5
Omega172 Jun 2, 2025
9682295
Update ItemFrameDupeModule.java
Omega172 Jun 2, 2025
4335c59
Merge branch '1.21.4' into 1.21.5
Omega172 Jun 2, 2025
b1e63df
Merge branch '1.21.4' into 1.21.5
Omega172 Jun 4, 2025
d799c27
Disable workflows
Omega172 Jun 4, 2025
d5d37fd
Merge branch '1.21.4' into 1.21.5
Omega172 Jun 4, 2025
ebb7459
re-enable release workflow
Omega172 Jun 4, 2025
828773a
Merge branch '1.21.4' into 1.21.5
Omega172 Jun 5, 2025
fd1afb1
Merge branch '1.21.4' into 1.21.5
Omega172 Jun 5, 2025
51253ad
Merge branch '1.21.4' into 1.21.5
Omega172 Jun 5, 2025
50e6f70
Merge branch '1.21.4' into 1.21.5
Omega172 Jun 5, 2025
78ecfb0
Merge branch '1.21.4' into 1.21.5
Omega172 Jun 5, 2025
8924f9c
Merge branch '1.21.4' into 1.21.5
Omega172 Jun 5, 2025
fefc6f9
Merge branch '1.21.4' into 1.21.5
Omega172 Jun 5, 2025
724a6f7
Merge branch '1.21.4' into 1.21.5
Omega172 Jun 5, 2025
ab5b111
Merge branch '1.21.4' into 1.21.5
Omega172 Jun 6, 2025
12ca791
Merge branch '1.21.4' into 1.21.5
Omega172 Jun 6, 2025
d9bc6ad
Merge branch 'tpa-1.21.4' into tpa-1.21.5
Powie69 Jun 6, 2025
9b39dc0
Merge branch '1.21.4' into 1.21.5
Omega172 Jun 6, 2025
1be9738
Merge pull request #5 from Powie69/tpa-1.21.5
Omega172 Jun 6, 2025
6a67b9c
Merge branch '1.21.4' into 1.21.5
Omega172 Jun 6, 2025
c26b741
Merge branch 'env-1.21.4' into env-1.21.5
Powie69 Jun 12, 2025
8d19284
Merge pull request #8 from Powie69/env-1.21.5
Omega172 Jun 16, 2025
adf5a30
Add properties for Minecraft version 1.21.10
novalattasya Oct 24, 2025
a6ce9b5
Update fabric-loom and target version
novalattasya Oct 24, 2025
be5ac37
Update mod_version from 1.1.2 to 1.1.6
novalattasya Oct 24, 2025
454aeb0
Update gradle-wrapper.properties
novalattasya Oct 24, 2025
82874c2
Prune
novalattasya Oct 25, 2025
6cfb4a5
Fix: debounce storage interactions, single-fetch, safer requeue
novalattasya Oct 25, 2025
e0027ac
Fix: use result.toString() to avoid compile error on ActionResult
novalattasya Oct 25, 2025
6a08432
Fix: correct typo in loadLinkedStorages (linkedStorage.inventory)
novalattasya Oct 25, 2025
888e0cb
Fix: auto-close storage UI, prevent automated storage re-linking, dis…
novalattasya Oct 25, 2025
26aba60
Enhance build process with anchor and logging
novalattasya Oct 25, 2025
438eb4d
Fix: auto-resume after fetch; force-home on confirmed-out-of-items/st…
novalattasya Oct 25, 2025
f29d40b
Fix: auto-resume after fetch; double-check storage on missing items; …
novalattasya Oct 25, 2025
538dda9
Refactor playerItemCount for better inventory access
novalattasya Oct 25, 2025
1b79769
Fix formatting issue in BetterBaritoneBuild.java
novalattasya Oct 25, 2025
061d043
Fix: reliable chest-interact fallback + robust stuck detection + tole…
novalattasya Oct 25, 2025
c1ed6bf
Increase home arrival retries and add screen open timeout
novalattasya Oct 25, 2025
3ab97ae
Refactor storage interaction to be non-blocking
novalattasya Oct 25, 2025
8fb3b0d
Enhance BetterBaritoneBuild with auto-resume feature
novalattasya Oct 25, 2025
eac939d
Fix: ensure resume after fetch by queueing resume and rely on Invento…
novalattasya Oct 25, 2025
4df6adf
Fix: auto-resume after fetch; double-check linked storages before rep…
novalattasya Oct 25, 2025
7474dea
Refactor playerHasItem to use public API for inventory
novalattasya Oct 25, 2025
37f5a98
Refactor moveSlots method for clarity and efficiency
novalattasya Oct 25, 2025
4a46d71
Enhance item fetch and resume build logic
novalattasya Oct 25, 2025
a379ff1
Enhance Baritone command retry logic and delays
novalattasya Oct 25, 2025
807ccae
Enhance safety and resume settings in BetterBaritoneBuild
novalattasya Oct 25, 2025
bf546fd
Add GitHub Actions workflow for auto build
novalattasya Oct 25, 2025
6afb4e4
Fix visibility setting and rename debounce constant
novalattasya Oct 25, 2025
dbec1da
Refactor BetterBaritoneBuild for improved command handling
novalattasya Oct 25, 2025
da60084
Enhance BetterBaritoneBuild with new features and state machine
novalattasya Oct 25, 2025
db3bab2
Update BetterBaritoneBuild.java
novalattasya Oct 25, 2025
19098ac
Update BetterBaritoneBuild.java
novalattasya Oct 25, 2025
1dc9cba
Update BetterBaritoneBuild.java
novalattasya Oct 26, 2025
c4142fb
Refactor constructor to initialize settings
novalattasya Oct 26, 2025
d2cbf40
Add missing constructor and clean up whitespace
novalattasya Oct 26, 2025
6b93605
Update print statement from 'Hello' to 'Goodbye'
novalattasya Oct 26, 2025
f6f7fd0
Refactor logging and pause handling in BetterBaritoneBuild
novalattasya Oct 26, 2025
9924906
Fix: use explicit Baritone builder API with stored origin to avoid in…
novalattasya Oct 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions .github/workflows/auto_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Auto Build on Push
on:
push:

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Cache Gradle
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', 'gradle/wrapper/**', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-

- name: Set up Gradle
uses: gradle/actions/setup-gradle@v4

- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
cache: 'gradle'

- name: Make gradlew executable
run: chmod +x ./gradlew

- name: Build with Gradle
run: ./gradlew build -Pcommit=${{ github.sha }}
env:
CI: true

- name: Upload Build Archive
uses: actions/upload-artifact@v4
with:
name: build-archive
path: build/libs/*.jar
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ jobs:
run: |
mod_version=$(grep "^mod_version=" gradle.properties | cut -d'=' -f2)
echo "mod_version=$mod_version" >> $GITHUB_OUTPUT
echo "mc_version=1.21.4" >> $GITHUB_OUTPUT
echo "mc_version=1.21.5" >> $GITHUB_OUTPUT

Comment on lines 29 to 33
Copy link

Copilot AI Mar 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The workflow hardcodes mc_version=1.21.5, but the build defaults to target_version=1_21_10 in build.gradle.kts (and getRepo() also reports 1.21.10). This can create release tags/names that don’t match the jar that was actually built. Consider deriving mc_version from the same Gradle property used for the build, or pass -Ptarget_version=... explicitly and set mc_version accordingly.

Copilot uses AI. Check for mistakes.
- name: Create GitHub Release Draft
uses: softprops/action-gh-release@v2
with:
tag_name: v${{ steps.get_versions.outputs.mod_version }}
tag_name: v${{ steps.get_versions.outputs.mod_version }}-mc${{ steps.get_versions.outputs.mc_version }}
name: Release v${{ steps.get_versions.outputs.mod_version }} (MC ${{ steps.get_versions.outputs.mc_version }})
body: |
Release for mod version ${{ steps.get_versions.outputs.mod_version }} and Minecraft ${{ steps.get_versions.outputs.mc_version }}.
Expand Down
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
plugins {
id("fabric-loom") version "1.10-SNAPSHOT"
id("fabric-loom") version "1.11-SNAPSHOT"
}

val targetVersion = findProperty("target_version") as String? ?: "1_21_4"
val targetVersion = findProperty("target_version") as String? ?: "1_21_10"
val minecraftVersion = properties["minecraft_version_$targetVersion"] as String
val yarnMappings = properties["yarn_mappings_$targetVersion"] as String
val loaderVersion = properties["loader_version_$targetVersion"] as String
Expand Down
7 changes: 6 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ org.gradle.jvmargs=-Xmx2G
org.gradle.configuration-cache=true

# Mod Global Properties
mod_version=1.1.2
mod_version=1.1.6
maven_group=xyz.omegaware
archives_base_name=OmegaWare Addons

Expand All @@ -20,3 +20,8 @@ loader_version_1_21_4=0.16.14
minecraft_version_1_21_5=1.21.5
yarn_mappings_1_21_5=1.21.5+build.1
loader_version_1_21_5=0.16.14

# 1.21.10 Fabric Properties
minecraft_version_1_21_10=1.21.10
yarn_mappings_1_21_10=1.21.10+build.2
loader_version_1_21_10=0.17.2
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
35 changes: 8 additions & 27 deletions src/main/java/xyz/omegaware/addon/OmegawareAddons.java
Original file line number Diff line number Diff line change
@@ -1,62 +1,42 @@
package xyz.omegaware.addon;

import meteordevelopment.meteorclient.MeteorClient;
import meteordevelopment.meteorclient.commands.Commands;
import meteordevelopment.meteorclient.pathing.BaritoneUtils;
import meteordevelopment.meteorclient.systems.hud.Hud;
import meteordevelopment.meteorclient.utils.Utils;
import net.fabricmc.loader.api.FabricLoader;
import net.fabricmc.loader.api.metadata.ModMetadata;
import xyz.omegaware.addon.commands.LinkCommand;
import xyz.omegaware.addon.commands.ShulkerQueueCommand;
import xyz.omegaware.addon.hud.OnlineTSRMembersHUD;
import xyz.omegaware.addon.modules.*;
import com.mojang.logging.LogUtils;
import meteordevelopment.meteorclient.addons.GithubRepo;
import meteordevelopment.meteorclient.addons.MeteorAddon;
import meteordevelopment.meteorclient.systems.hud.HudGroup;
import meteordevelopment.meteorclient.systems.modules.Category;
import meteordevelopment.meteorclient.systems.modules.Modules;
import org.slf4j.Logger;

import java.io.File;

/**
* Slimmed-down addon entrypoint: only registers BetterBaritoneBuild.
*/
public class OmegawareAddons extends MeteorAddon {
public static final String MOD_ID = "omegaware-addons";
public static ModMetadata MOD_META;
public static final Logger LOG = LogUtils.getLogger();
public static final Category CATEGORY = new Category("OmegaWare");
public static final HudGroup HUD_GROUP = new HudGroup("OmegaWare");

public static File GetConfigFile(String key, String filename) {
return new File(new File(new File(new File(MeteorClient.FOLDER, "omegaware"), key), Utils.getFileWorldName()), filename);
}

@Override
public void onInitialize() {
LOG.info("Initializing OmegaWare Addons");
LOG.info("Initializing OmegaWare Addons (pruned, BetterBaritoneBuild only)");

MOD_META = FabricLoader.getInstance().getModContainer(MOD_ID).orElseThrow().getMetadata();

// Modules
Modules.get().add(new TPAAutomationModule());
Modules.get().add(new BeaconRangeModule());
Modules.get().add(new ChatFilterModule());
Modules.get().add(new ItemFrameDupeModule());
Modules.get().add(new BetterStashFinderModule());

if (FabricLoader.getInstance().isDevelopmentEnvironment()) {
Modules.get().add(new TSRKitBotModule()); // Is not ready yet
}

// Only register the BetterBaritoneBuild module if Baritone is available.
if (BaritoneUtils.IS_AVAILABLE) {
Modules.get().add(new BetterBaritoneBuild());
Modules.get().add(new xyz.omegaware.addon.modules.BetterBaritoneBuild());
}

Commands.add(new LinkCommand());
Commands.add(new ShulkerQueueCommand());

Hud.get().register(OnlineTSRMembersHUD.INFO);
}

@Override
Expand All @@ -74,9 +54,10 @@ public String getWebsite() {
return "https://github.com/Omega172/OmegaWare-Addons";
}

// Update repo version tag to reflect Minecraft target (kept simple).
@Override
public GithubRepo getRepo() {
return new GithubRepo("Omega172", "OmegaWare-Addons", "1.21.4", null);
return new GithubRepo("Omega172", "OmegaWare-Addons", "1.21.10", null);
}
Comment on lines +57 to 61
Copy link

Copilot AI Mar 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

getRepo() hardcodes the Minecraft tag string ("1.21.10"). Since the build can target different Minecraft versions via Gradle properties, this is easy to forget to update and can drift from what the jar actually targets (similar to the release workflow). Consider generating/injecting this value from build metadata (e.g., via a Gradle resource/property) so it always matches the selected target_version.

Copilot uses AI. Check for mistakes.

@Override
Expand Down
21 changes: 0 additions & 21 deletions src/main/java/xyz/omegaware/addon/commands/LinkCommand.java

This file was deleted.

This file was deleted.

Loading
Loading