286287288289290291292293294295296
*/ public TileValue getTileValue(int x, int y) { if (!withinWorld(x, y)) { return null; } TileValue t = tileType[x][y]; if (t == null) { t = TileValue.create(0, new byte[6]); tileType[x][y] = t; } return t;
170171172173174175176177178
if (mob instanceof Player) { Player p = (Player) mob; if (p.isMod()) return false; } TileValue t = world.getTileValue(x, y); return isBlocking(t.mapValue, (byte) bit) || isBlocking(t.objectValue, (byte) bit) || isMobBlocking(x, y); }