Comment on height150 (with axis tracing).

This commit is contained in:
asofold 2016-11-24 16:19:18 +01:00
parent ae44be5740
commit 0a834624ac
2 changed files with 10 additions and 0 deletions

View File

@ -45,6 +45,12 @@ public class PassableAxisTracing extends AxisTracing implements ICollidePassable
final double maxX, final double maxY, final double maxZ,
final Axis axis, final int increment) {
if (BlockProperties.isPassableBox(blockCache, blockX, blockY, blockZ, minX, minY, minZ, maxX, maxY, maxZ)) {
/*
* TODO: HEIGHT150 -> if not passable... how/where to test for block
* change tracker? E.g.: y-offset from block < 0.5 -> check the
* block underneath. (one method check box normal + opportunistic
* past state handling in one?)
*/
return true;
}
// TODO: if (blockChangeTracker != null && -- check with BlockChangeTracker and BlockChangeReference --

View File

@ -4092,6 +4092,10 @@ public class BlockProperties {
}
}
}
/*
* Consider doing an xz iteration here for HEIGHT150, iff y-offset <=
* 0.5 (and possibly a flag is set).
*/
return added;
}