hschwar / AccurateBlockPlacement-Reborn

Makes block placement smarter by timing it for you.
https://modrinth.com/mod/accurate-block-placement-reborn
MIT License
10 stars 4 forks source link

Add mode for stacking scaffolding and 3 high walls quickly #19

Open Pongpaks0 opened 5 months ago

Pongpaks0 commented 5 months ago

I'm unable to stack scaffolding quickly with the mod enabled, I need to either disable the mod or look up and down. Similarly, I need to turn off the mod when stacking 3 high walls from the top block.

I think that a mode that just removes the build delay would be nice to have

hschwar commented 2 days ago

I'm not too sure I understand. What specifically is the undesirable behaviour?

For the last part, are you looking for an auto-clicker?

KadTheHunter commented 2 days ago

@hschwar open the bit below this:

Explanation of the OG report If you try to place ~3 blocks vertically towards you, while standing at the edge of another block (e.g, building up a wall in survival mode), you can't do it quickly without moving your mouse. Pic for reference: ![image](https://github.com/user-attachments/assets/ba7dfaa9-9241-43a8-a7d2-830a1b545ceb) In Vanilla placement mode, you can simply hold RMB and it will stack them up. As for the scaffolding, if you try and stack it up, you have to keep moving your mouse up/down. In Vanilla placement mode, you can simply hold RMB and it stacks them as high as it can.

In both of these situations, it's caused by how the mod handles accurate placement; It's not just "insta-place" like FastBlockBreaking is effectively "insta-break", it has a load of math attached that gets the last placed block, its pos, your pos, etc.

That's preventing blocks from being placed, because the player isn't moving (body or head), and thus the target block is never updating.

I should be able to fix the scaffolding similar to how I fixed #18, but I think that would be a bandaid patch over the larger issue, which is that simply holding RMB does not place blocks.

I could just mark this as "works as intended", but I'm curious if it's even possible to fix this without breaking the entire mod.