From 327ad3dcd8f75e3c8dcfccc574a96668693ec41a Mon Sep 17 00:00:00 2001
From: Kaddicus <47439649+KadTheHunter@users.noreply.github.com>
Date: Sat, 7 Dec 2024 12:50:29 -0500
Subject: [PATCH 1/6] Fix workflow
---
.github/workflows/build.yml | 40 ++++++++++++++++++++++++++++++++++++
.github/workflows/gradle.yml | 32 -----------------------------
2 files changed, 40 insertions(+), 32 deletions(-)
create mode 100644 .github/workflows/build.yml
delete mode 100644 .github/workflows/gradle.yml
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..b368158
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,40 @@
+# Automatically build the project and run any configured tests for every push
+# and submitted pull request. This can help catch issues that only occur on
+# certain platforms or Java versions, and provides a first line of defence
+# against bad commits.
+
+name: build
+on: [pull_request, push]
+
+jobs:
+ build:
+ strategy:
+ matrix:
+ # Use these Java versions
+ java: [
+ 21, # Current Java LTS
+ ]
+ # and run on both Linux and Windows
+ os: [ubuntu-22.04, windows-2022]
+ runs-on: ${{ matrix.os }}
+ steps:
+ - name: checkout repository
+ uses: actions/checkout@v4
+ - name: validate gradle wrapper
+ uses: gradle/wrapper-validation-action@v1
+ - name: setup jdk ${{ matrix.java }}
+ uses: actions/setup-java@v4
+ with:
+ java-version: ${{ matrix.java }}
+ distribution: 'microsoft'
+ - name: make gradle wrapper executable
+ if: ${{ runner.os != 'Windows' }}
+ run: chmod +x ./gradlew
+ - name: build
+ run: ./gradlew build
+ - name: capture build artifacts
+ if: ${{ runner.os == 'Linux' && matrix.java == '21' }} # Only upload artifacts built from latest java on one OS
+ uses: actions/upload-artifact@v4
+ with:
+ name: Artifacts
+ path: build/libs/
\ No newline at end of file
diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml
deleted file mode 100644
index 9830dc3..0000000
--- a/.github/workflows/gradle.yml
+++ /dev/null
@@ -1,32 +0,0 @@
-name: 'Build mod'
-on:
- push:
- paths-ignore:
- - 'README.md'
- - 'LICENSE'
- - 'src/main/resources/assets/**'
-jobs:
- build:
- runs-on: ubuntu-latest
- steps:
- - name: 'Checkout repository'
- uses: actions/checkout@v4
- - name: 'Validate gradle wrapper'
- uses: gradle/wrapper-validation-action@v3
- - name: 'Setup JDK 21'
- uses: actions/setup-java@v4
- with:
- distribution: 'adopt'
- java-version: '17'
- - name: 'Make gradle wrapper executable'
- run: chmod +x ./gradlew
- - name: 'Build mod'
- run: ./gradlew build
- - name: 'Get the mod version'
- id: get_mod_version
- run: echo "MOD_VERSION=$(grep '^mod_version\s*=\s*' gradle.properties | awk -F'= ' '{print $2}')" >> $GITHUB_ENV
- - name: 'Upload artifact'
- uses: actions/upload-artifact@v4
- with:
- name: AccurateBlockPlacementRebornMOD
- path: "build/libs/accurate-block-placement-${{ env.MOD_VERSION }}.jar"
From 4cbf382fc790b5a4b4d760114f0e6d03f57e5af2 Mon Sep 17 00:00:00 2001
From: Kaddicus <47439649+KadTheHunter@users.noreply.github.com>
Date: Sat, 7 Dec 2024 13:28:19 -0500
Subject: [PATCH 2/6] Improve README
- Add badges for MR/CF/GH releases, MR/CF download counts
- Rewrite & rearrange information
---
README.md | 51 +++++++++++++++++++++++++++++++++++++--------------
1 file changed, 37 insertions(+), 14 deletions(-)
diff --git a/README.md b/README.md
index 62d4f42..253de1d 100644
--- a/README.md
+++ b/README.md
@@ -1,22 +1,45 @@
-# Accurate Block Placement Reborn
-[Modrinth Page](https://modrinth.com/mod/accurate-block-placement-reborn)
+
Accurate Block Placement: Reborn
-[CurseForge Page](https://www.curseforge.com/minecraft/mc-mods/accurate-block-placement-reborn)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-This fork adds support for versions 1.19-1.21.3
+AccurateBlockPlacement: Reborn is a client-side mod for the [Fabric](https://fabricmc.net) and [Quilt](https://quiltmc.org) mod-loaders.
-The version numbers are continuing from the original [Accurate Block Placement](https://www.curseforge.com/minecraft/mc-mods/accurate-block-placement) mod.
+[Fabric API](https://modrinth.com/mod/fabric-api) is required, [Mod Menu](https://modrinth.com/mod/modmenu) and [Cloth Config API](https://modrinth.com/mod/cloth-config) are optional, but strongly recommended.
-This is a client side mod made for [Fabric](https://fabricmc.net), but it also works with [Quilt](https://quiltmc.org).
-[Fabric API](https://modrinth.com/mod/fabric-api) is required, [Mod Menu](https://modrinth.com/mod/modmenu) and [Cloth Config API](https://modrinth.com/mod/cloth-config) are optional.
+## Features
+**[WARNING]** This mod could get you banned on some servers with anti-cheats! Please check the servers rules before using this mod.
-**[WARNING]** This mod could get you banned on some servers with anti-cheats!
->This includes (but is not whatsoever limited to) Hypixel & most competitive servers.
+### Accurate Block Placement
+Accurate Block Placement makes placing blocks a smooth and reliable process. The best way to explain it is the following GIF:
-In vanilla Minecraft, if you hold right-click with blocks, the game will place a block every 4 ticks. This means that if you try to place a row of blocks, you might miss some blocks or place too many. This mod fixes both problems, as seen in the GIF below.
+
-You can set a keybind to toggle this mod on or off.
-![Mod Showcase](https://cdn-raw.modrinth.com/data/kzwxhsjp/images/94a4de623aca8c5afdc07edca76ed663127d93b2.gif)
+This can be toggled on or off by way of a configurable keybind. Accurate Block Placement is enabled by default, with no bound key.
-**NOTE:**
-This mod is not to be confused with the [Tweakeroo](https://www.curseforge.com/minecraft/mc-mods/tweakeroo)/[Carpet](https://modrinth.com/mod/carpet) feature of the same name, which is a completely different thing.
+### Fast Block Breaking
+Fast Block Breaking makes breaking blocks much easier and more consistent, by removing the Mining Cooldown when breaking blocks.
+
+No GIF for this one yet :(
+
+This can be toggled on or off by way of a configurable keybind. Fast Block Breaking is disabled by default, with no bound key.
+
+## License
+Accurate Block Placement: Reborn is provided under the [MIT License](https://github.com/hschwar/AccurateBlockPlacement-Reborn/blob/main/LICENSE).
\ No newline at end of file
From 87400386df69e14cb3388e65c29b417aa59aca01 Mon Sep 17 00:00:00 2001
From: Kaddicus <47439649+KadTheHunter@users.noreply.github.com>
Date: Sat, 7 Dec 2024 13:40:46 -0500
Subject: [PATCH 3/6] Fix incorrect links on MR/CF badges
---
README.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 253de1d..87fb871 100644
--- a/README.md
+++ b/README.md
@@ -1,10 +1,10 @@
Accurate Block Placement: Reborn
-
+
-
+
From 955f4d38262445903032646a0a8203b62af4c65d Mon Sep 17 00:00:00 2001
From: hschwar <82989057+hschwar@users.noreply.github.com>
Date: Sun, 8 Dec 2024 02:57:46 -0800
Subject: [PATCH 4/6] slight modifications to README.md
- reworded toggle on/off to emphasize the default Enabled/Disabled status (more important?)
- removed mention of quilt as it is not relevant today
---
README.md | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/README.md b/README.md
index 87fb871..10c8b79 100644
--- a/README.md
+++ b/README.md
@@ -20,26 +20,26 @@
-AccurateBlockPlacement: Reborn is a client-side mod for the [Fabric](https://fabricmc.net) and [Quilt](https://quiltmc.org) mod-loaders.
+AccurateBlockPlacement: Reborn is a client-side mod for [Fabric](https://fabricmc.net).
[Fabric API](https://modrinth.com/mod/fabric-api) is required, [Mod Menu](https://modrinth.com/mod/modmenu) and [Cloth Config API](https://modrinth.com/mod/cloth-config) are optional, but strongly recommended.
## Features
-**[WARNING]** This mod could get you banned on some servers with anti-cheats! Please check the servers rules before using this mod.
+**WARNING:** This mod may be considered a "cheat" on some servers (and detected as so)! Please check the server's rules before using this mod. _Use this at your own risk._
### Accurate Block Placement
-Accurate Block Placement makes placing blocks a smooth and reliable process. The best way to explain it is the following GIF:
+Accurate Block Placement makes placing blocks a smooth and reliable process when holding right click. The best way to explain it is the following GIF:
-This can be toggled on or off by way of a configurable keybind. Accurate Block Placement is enabled by default, with no bound key.
+Enabled by default, can be toggled on or off through the config or by way of a configurable keybind (default: Not Bound).
### Fast Block Breaking
Fast Block Breaking makes breaking blocks much easier and more consistent, by removing the Mining Cooldown when breaking blocks.
-No GIF for this one yet :(
+No GIF for this one yet :(, _essentially haste insta-mining but for creative mode_
-This can be toggled on or off by way of a configurable keybind. Fast Block Breaking is disabled by default, with no bound key.
+Disabled by default, can be toggled on or off through the config or by way of a configurable keybind (default: Not Bound).
## License
-Accurate Block Placement: Reborn is provided under the [MIT License](https://github.com/hschwar/AccurateBlockPlacement-Reborn/blob/main/LICENSE).
\ No newline at end of file
+Accurate Block Placement: Reborn is provided under the [MIT License](https://github.com/hschwar/AccurateBlockPlacement-Reborn/blob/main/LICENSE).
From c9222962bb8a3fddd9b6424bd0f537a661777408 Mon Sep 17 00:00:00 2001
From: hschwar <82989057+hschwar@users.noreply.github.com>
Date: Sun, 8 Dec 2024 04:13:18 -0800
Subject: [PATCH 5/6] Update README.md
- added note that the new FBB feature is only available on the latest versions
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 10c8b79..9675b82 100644
--- a/README.md
+++ b/README.md
@@ -34,7 +34,7 @@ Accurate Block Placement makes placing blocks a smooth and reliable process when
Enabled by default, can be toggled on or off through the config or by way of a configurable keybind (default: Not Bound).
-### Fast Block Breaking
+### Fast Block Breaking (v1.3.0+ for 1.21.3+)
Fast Block Breaking makes breaking blocks much easier and more consistent, by removing the Mining Cooldown when breaking blocks.
No GIF for this one yet :(, _essentially haste insta-mining but for creative mode_
From 0ced37bbdd0bb088a8df1e7c0eeec099cc5b0ebc Mon Sep 17 00:00:00 2001
From: Kaddicus <47439649+KadTheHunter@users.noreply.github.com>
Date: Sun, 8 Dec 2024 09:07:39 -0500
Subject: [PATCH 6/6] Add blurb
---
README.md | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/README.md b/README.md
index 9675b82..36a00a9 100644
--- a/README.md
+++ b/README.md
@@ -24,6 +24,10 @@ AccurateBlockPlacement: Reborn is a client-side mod for [Fabric](https://fabricm
[Fabric API](https://modrinth.com/mod/fabric-api) is required, [Mod Menu](https://modrinth.com/mod/modmenu) and [Cloth Config API](https://modrinth.com/mod/cloth-config) are optional, but strongly recommended.
+---
+
+*Although many experienced minecraft players know exactly how to time their clicks in order to rapidly place blocks with no mistakes, why should it be that difficult? In this mod, if you hold your 'use key' (usually RMB) and look at a new block it will automatically place it no matter how fast you move. No more need to time when you click or look in order to accurately place blocks quickly!*
+
## Features
**WARNING:** This mod may be considered a "cheat" on some servers (and detected as so)! Please check the server's rules before using this mod. _Use this at your own risk._