juancarloscp52 / BedrockIfy

A Minecraft mod that implements some Minecraft Bedrock features into Java edition.
GNU General Public License v3.0
178 stars 38 forks source link

ReachAround cannot reach #220

Closed lonefelidae16 closed 1 year ago

lonefelidae16 commented 1 year ago

Hi👋

I’ve found that ReachAround block placement feature won’t work when reachAroundBlockDistance is more than 0.5.

It’s caused by the PR #212. When a new BlockHitResult is created, the player’s position is directly specified in the first argument.

https://github.com/juancarloscp52/BedrockIfy/blob/3ec4e7391cd04e31a12c0724254171e93ce60fda/src/main/java/me/juancarloscp52/bedrockify/mixin/client/features/reacharoundPlacement/MinecraftClientMixin.java#L50

I will create a new PR for this fix.