After you are done installing, head over to the Java edition of the game. Now, click on the dropdown menu and check that the list of instances contains Minecraft with Iris Shaders 1.21.11, indicating ...
When using built-in OptiFine shaders, the player's hand and lower arm clip into blocks when holding a sword and standing near ground-level blocks. This happens only with OptiFine shaders enabled.