Skip to content
Open
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
4e38048
Update to 1.20.1
KadTheHunter Jun 22, 2023
868ade7
Update README.md
hschwar Jul 22, 2023
5222192
Update LICENSE
hschwar Jul 22, 2023
ab7f2b8
Update gradle.properties
hschwar Sep 12, 2023
8d18d46
Update fabric.mod.json
hschwar Sep 12, 2023
903011e
Update fabric.mod.json
hschwar Sep 12, 2023
c238c1a
Copied over BurrConnie's changes from the other branch
hschwar Sep 12, 2023
0c8a694
Update en_us.json
hschwar Sep 12, 2023
9ec04d8
Delete src/main/resources/assets/accurateblockplacement/icon.png
hschwar Sep 12, 2023
e36a515
Add files via upload
hschwar Sep 12, 2023
ec2df6d
Delete src/main/resources/assets/accurateblockplacement/icon.png
hschwar Sep 12, 2023
e626a1b
fixed new icon
hschwar Sep 12, 2023
e2da992
Update README.md
hschwar Sep 13, 2023
4464924
Update gradle.properties
hschwar Sep 21, 2023
3faa1de
Update gradle.properties
hschwar Sep 21, 2023
0e7f751
Update README.md
hschwar Sep 21, 2023
069774e
Use fabric-api mod ID for Fabric API in fabric.mod.json
Poopooracoocoo Oct 3, 2023
940267e
Merge pull request #1 from Poopooracoocoo/patch-1
hschwar Oct 13, 2023
b44b690
Update gradle.properties
hschwar Dec 11, 2023
3671f27
Update gradle.properties
hschwar Dec 11, 2023
9bc790d
Update gradle.properties
hschwar Dec 11, 2023
d3ef063
Update README.md
hschwar Dec 11, 2023
dd8e9c7
Update README.md
hschwar Dec 11, 2023
169656d
Update README.md
hschwar Feb 4, 2024
1a3d704
Create pt-br.json
hschwar Mar 19, 2024
6e6daf8
1.20.5/1.20.6
KadTheHunter Jun 22, 2024
28b1919
1.20.5/1.20.6 (#12)
KadTheHunter Jun 22, 2024
5fe5614
Fix incorrect version listing
KadTheHunter Jun 22, 2024
a175e1c
1.21
KadTheHunter Jun 22, 2024
08401e5
Merge branch 'main' into main
KadTheHunter Jun 22, 2024
e84331f
Merge pull request #13 from KadTheHunter/main
KadTheHunter Jun 22, 2024
efae5a5
Add Turkish (tr_tr) language support
MrErenK Jun 13, 2024
f3ce871
Drop deprecated usages in workflow
MrErenK Jun 15, 2024
67ded96
Fix blockActivateMethodName spam
KadTheHunter Jul 1, 2024
72ed862
Merge branch 'main' into MrErenK
KadTheHunter Jul 1, 2024
b667feb
Bump Yarn Mappings + Fabric API
KadTheHunter Jul 1, 2024
6e87a61
Add MrErenK to Contributors
KadTheHunter Jul 1, 2024
189949e
Merge pull request #17 from KadTheHunter/MrErenK
KadTheHunter Jul 1, 2024
c5dd864
Update README.md
hschwar Jul 3, 2024
b1c9948
Create it_it.json
VladAndreiMorariu Aug 13, 2024
4b9f99c
#20 from VladAndreiMorariu it_it.json
KadTheHunter Nov 1, 2024
a0bf794
Mark VladAndreiMorariu as Contributor
KadTheHunter Nov 1, 2024
5f0d3e8
Misc. README changes
KadTheHunter Dec 2, 2024
3660be8
Fix #11
KadTheHunter Dec 2, 2024
6b9131b
Update to MC 1.21.3
KadTheHunter Dec 2, 2024
ce4e2e5
Fix #18
KadTheHunter Dec 4, 2024
86dd11c
Implement #5
KadTheHunter Dec 4, 2024
011cc4d
Soft implementation of #2, by adding ClothConfig
KadTheHunter Dec 4, 2024
2c74edd
v1.3.0
KadTheHunter Dec 5, 2024
327ad3d
Fix workflow
KadTheHunter Dec 7, 2024
4cbf382
Improve README
KadTheHunter Dec 7, 2024
8740038
Fix incorrect links on MR/CF badges
KadTheHunter Dec 7, 2024
955f4d3
slight modifications to README.md
hschwar Dec 8, 2024
c922296
Update README.md
hschwar Dec 8, 2024
0ced37b
Add blurb
KadTheHunter Dec 8, 2024
115e75f
README Improvements + Workflow Fix
KadTheHunter Dec 8, 2024
b4f0ab3
Update README.md
hschwar Dec 12, 2024
2314da7
Fix pt_br being invalid (#25)
KadTheHunter Dec 18, 2024
e3b9605
Fixes #28
KadTheHunter Jan 20, 2025
f269e31
Add Confirmation/Type, improve messages
KadTheHunter Jan 20, 2025
ba51c71
v1.3.2
KadTheHunter Jan 20, 2025
955cc74
Update fabric.mod.json
hschwar Mar 17, 2025
d07dc51
Update GitHub links to reflect repository ownership change
KadTheHunter Mar 20, 2025
b9009d7
v1.3.3
KadTheHunter Mar 26, 2025
c772f95
Compile against CC-18.0.145
KadTheHunter Mar 26, 2025
4064e35
Fix #30
KadTheHunter Apr 12, 2025
051e15c
Fix offhand blocks not placing accurately
KadTheHunter Apr 12, 2025
90a3dbe
Improve comments and formatting
KadTheHunter Apr 12, 2025
72f0180
v1.3.4
KadTheHunter Apr 12, 2025
5f3c21f
Add BuyMeACoffee sponsor button
KadTheHunter May 5, 2025
723773f
Add BMAC link to README
KadTheHunter May 6, 2025
3f54d33
Add new default strings to all language
KadTheHunter May 11, 2025
d2fafbb
Update Russian Translations (@chtko)
KadTheHunter May 11, 2025
1586d54
1.3.5
KadTheHunter May 31, 2025
75177be
Update pt_br.json
seriousfreezing Jun 12, 2025
f5d8c1b
Add seriousfreezing to Contributors, bump version
KadTheHunter Jun 13, 2025
695fc88
Update pt_br.json, add seriousfreezing to contributors, bump to v1.3.6
KadTheHunter Jun 13, 2025
027486a
Add comments to ease dual-building
KadTheHunter Jun 13, 2025
083075e
Attempt to fix Build failures on GitHub
KadTheHunter Jun 13, 2025
f467650
v1.3.7
KadTheHunter Jun 17, 2025
6ca78c9
Bump CCAPI
KadTheHunter Jun 18, 2025
17159e0
Update code comment to reflect v1.3.5 [Skip]
KadTheHunter Jul 2, 2025
c72fda4
v1.3.8 - Update to MC-1.21.7
KadTheHunter Jul 2, 2025
f41398c
Fix #35
KadTheHunter Jul 12, 2025
587dce6
Initial update to 1.21.9+
KadTheHunter Sep 28, 2025
99613fb
v1.3.10 / 1.21.9 Support
KadTheHunter Oct 3, 2025
31f3623
Bump to 1.21.10
KadTheHunter Oct 9, 2025
55e1de8
Update README.md
KadTheHunter Oct 12, 2025
1d11cc2
Update ru_ru.json
chtko Dec 6, 2025
8e40236
Fix Russian translations (#38 from chtko/main)
KadTheHunter Dec 7, 2025
b3c7319
Swap to Mojang Mappings
KadTheHunter Jan 24, 2026
78977d6
Fix #43
KadTheHunter Jan 24, 2026
32fcba6
Renovate build.gradle
KadTheHunter Jan 24, 2026
fd41f66
Fix archives_base_name using old name
KadTheHunter Jan 24, 2026
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
4 changes: 4 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
MIT License

Copyright (c) 2023 schwar

Copyright (c) 2023 KadTheHunter

Copyright (c) 2022 Flourick

Copyright (c) 2019 Clayborn
Expand Down
22 changes: 16 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
# Accurate Block Placement
# Accurate Block Placement Reborn
[Modrinth Page](https://modrinth.com/mod/accurate-block-placement-reborn)

A simple fabric mod for Minecraft which causes players to place blocks based on what they are looking at rather than a timer.
[CurseForge Page](https://legacy.curseforge.com/minecraft/mc-mods/accurate-block-placement-reborn)

## Installation
This fork adds support for versions 1.19-1.20.2
The version numbers are continuing from the original [Accurate Block Placement](https://legacy.curseforge.com/minecraft/mc-mods/accurate-block-placement) mod.
This is a client side mod made for [Fabric](https://fabricmc.net) but also works with [Quilt](https://quiltmc.org).
[Fabric API](https://modrinth.com/mod/fabric-api) is required.

1. Download fabric loader from [here](https://fabricmc.net/use/) (**REQUIRES** Fabric-API! Get it [here](https://www.curseforge.com/minecraft/mc-mods/fabric-api) (Make sure you get the right one for your version!))
**[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.

2. Download AccurateBlockPlacement jar release from [here](https://github.com/Flourick/AccurateBlockPlacement/releases).
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)

3. Once you run fabric loader a mods folder will be created in your *.minecraft* directory. Move the `accurate-block-placement-*.jar` and `fabric-api-*.jar` there.
**NOTE:**
This mod is not to be confused with the [Tweakeroo](https://legacy.curseforge.com/minecraft/mc-mods/tweakeroo)/[Carpet](https://modrinth.com/mod/carpet) feature of the same name, which is a completely different thing.

There is another mod called [Precise Block Placing](https://legacy.curseforge.com/minecraft/mc-mods/preciseblockplacing) which has a similar goal to this mod, but works very differently.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'fabric-loom' version '1.0-SNAPSHOT'
id 'fabric-loom' version '1.2-SNAPSHOT'
id 'maven-publish'
}

Expand Down
10 changes: 5 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
org.gradle.jvmargs=-Xmx4G

# Fabric Properties (https://fabricmc.net/versions.html)
minecraft_version=1.19.3
yarn_mappings=1.19.3+build.3
loader_version=0.14.11
minecraft_version=1.20.2
yarn_mappings=1.20.2+build.1
loader_version=0.14.22

# Mod Properties (to automatically tag on linux: 'git tag $(grep -oP '^mod_version = \K.*' gradle.properties)')
mod_version = 1.0.16
mod_version = 1.2
maven_group = net.clayborn
archives_base_name = accurate-block-placement

# Dependencies
fabric_version=0.69.0+1.19.3
fabric_version=0.89.1+1.20.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-7.6-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ private void onUpdateTargetedEntityComplete(CallbackInfo info)
}

// are they holding the use key and is the item to use a block?
// also is the the SAME item we started with if we are in repeat mode?
// also is the SAME item we started with if we are in repeat mode?
// note: check both freshKey and current state in cause of shitty frame rates
if((freshKeyPress || client.options.useKey.isPressed())) {
// it's a block!! it's go time!
Expand Down
Binary file modified src/main/resources/assets/accurateblockplacement/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"net.clayborn.accurateblockplacement.togglevanillaplacement": "Toggle Vanilla Placement",
"net.clayborn.accurateblockplacement.togglevanillaplacement": "Toggle Placement Mode",
"net.clayborn.accurateblockplacement.modplacementmodemessage": "Accurate block placement mode is now enabled!",
"net.clayborn.accurateblockplacement.vanillaplacementmodemessage": "Vanilla block placement mode is now enabled!"
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"net.clayborn.accurateblockplacement.togglevanillaplacement": "Перемикання класичного розміщення",
"net.clayborn.accurateblockplacement.modplacementmodemessage": "Акуратне розміщення блоків увімкнено!",
"net.clayborn.accurateblockplacement.togglevanillaplacement": "Перемикання режиму розміщення",
"net.clayborn.accurateblockplacement.modplacementmodemessage": "Точне розміщення блоків увімкнено!",
"net.clayborn.accurateblockplacement.vanillaplacementmodemessage": "Класичне розміщення блоків увімкнено!"
}
10 changes: 6 additions & 4 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,16 @@
"description": "Build at super speed with your bare hands!",
"authors": [
"Clayborn",
"Flourick"
"Flourick",
"KadTheHunter",
"schwar"
],
"contributors": [
"Andolamin"
],
"contact": {
"homepage": "https://minecraft.curseforge.com/projects/accurate-block-placement",
"sources": "https://github.com/Flourick/AccurateBlockPlacement"
"homepage": "https://modrinth.com/mod/accurate-block-placement-reborn",
"sources": "https://github.com/hschwar/AccurateBlockPlacement-Reborn"
},

"license": "MIT",
Expand All @@ -31,7 +33,7 @@
],

"depends": {
"minecraft": "~1.19.3",
"minecraft": ">=1.19",
"fabricloader": ">=0.14.11",
"fabric": "*",
Copy link

@Poopooracoocoo Poopooracoocoo Oct 3, 2023

Choose a reason for hiding this comment

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

Could you also change the mod ID of Fabric API to fabric-api?

"java": ">=17"
Expand Down