Translations:Soulsand/9/en

From Minecraft Parkour Wiki

Below is a slightly simplified snippet of the code that explains the aforementioned properties:<syntaxhighlight lang="java"> /* In Entity.java, called at the end of each tick (from Entity.moveEntity) */ protected void doBlockCollisions() {

   BlockPos posMin = new BlockPos(this.minX+0.001, this.minY+0.001, this.minZ+0.001);
   BlockPos posMax = new BlockPos(this.maxX-0.001, this.maxY-0.001, this.maxZ-0.001);