Closed TheRedstoneShark closed 1 day ago
No idea if hschwar is still active, or if I'll ever follow up on this, but I'll put this here for future reference: Line 261 of GameRendererMixin.java appears to be related to this.
// don't override behavior of clicking activatable blocks (and stairs) unless holding SNEAKING to replicate vanilla behaviors
if(isTargetBlockActivatable && !(targetBlock instanceof StairsBlock) && !client.player.isSneaking()) {
return;
}
Interestingly it seems like that should be preventing this very issue from happening, by handing control back to Vanilla if the target block is activatable, not a stair and you're not sneaking. I've also looked through CutThroughs source, specifically its GameRendererMixin file, and can't find anything there that would cause this.
For now I recommend binding a key to toggle ABPs placement mode, so you can swap back to Vanilla handling when needed.
Current behavior: when right-clicking to close fence with any item in your hand, the fence does not close, and if you're holding a block, the block is placed behind the fence.
Steps to reproduce:
https://github.com/hschwar/AccurateBlockPlacement-Reborn/assets/67612434/c0317614-dda8-41dc-aad2-a2f4b5feb953