612613614615616617618619620
* Unstep current position to previous position */ @Override public BlockStep unstepPosition() { BlockStep ls = laststep; stepPosition(unstep[ls.ordinal()]); return ls; }
681682683684685686687688689690691
return snap.getBlockTypeId(bx, y + 1, bz); } } else { BlockStep ls = laststep; stepPosition(s); int tid = snap.getBlockTypeId(bx, y, bz); unstepPosition(); laststep = ls; return tid;
453454455456457458459460461
/** * Unstep current position to previous position */ @Override public BlockStep unstepPosition() { BlockStep ls = laststep; stepPosition(unstep[ls.ordinal()]); return ls; }
501502503504505506507508509510511
else if(s == BlockStep.Y_PLUS) { if(y < (worldheight-1)) return snap.getBlockTypeId(bx, y+1, bz); } else { BlockStep ls = laststep; stepPosition(s); int tid = snap.getBlockTypeId(bx, y, bz); unstepPosition(); laststep = ls; return tid;