Translations:Soulsand/10/en

    From Minecraft Parkour Wiki

    for (int i = posMin.getX(); i <= posMax.getX(); ++i)

       {
           for (int j = posMin.getY(); j <= posMax.getY(); ++j)
           {
               for (int k = posMin.getZ(); k <= posMax.getZ(); ++k)
               {
                   BlockPos pos = new BlockPos(i, j, k);
                   Block block = getBlockState(pos);
                   block.onEntityCollidedWithBlock(this); //see addendum for blocks that are concerned.
               }
           }
       }
    

    }