Minecraft bug XRAY without cheat. 1.17.1 how fix?

how fix xray bug on my server?
composter and plunger

Copied from Discord:
Fixing this in the sense of “preventing players from moving into a composter” wouldn’t solve the root issue. I mean this is nothing else than a worse way to “xray” in vanilla Minecraft. Hacked clients (xray hacks) can do the same thing without even moving into a block. The root issue is that the client has all this data of the world. So fixing that particular thing effectively prevents nothing. A proper solution for this “composter + piston xray trick” is to enable Anti-Xray in engine-mode 2 with air in hidden-blocks. See my gist.

1 Like