for (int var5 = par1ChunkCoordinates.posX - xRange; var5 < par1ChunkCoordinates.posX + xRange; ++var5) {
for (int var6 = par1ChunkCoordinates.posY - yRange; var6 < par1ChunkCoordinates.posY + yRange; ++var6) {
for (int var7 = par1ChunkCoordinates.posZ - zRange; var7 < par1ChunkCoordinates.posZ + zRange; ++var7) {
if (this.isWoodenDoorAt(var5, var6, var7)) {
VillageDoorInfo var8 = this.getVillageDoorAt(var5, var6, var7);
if (var8 == null) {
this.addDoorToNewListIfAppropriate(var5, var6, var7);
} else {
var8.lastActivityTimestamp = this.tickCounter;