private boolean isInTrack(int var1, int var2, int var3) {
        for (int var4 = 0; var4 < this.connectedTracks.size(); ++var4) {
            ChunkPosition var5 = (ChunkPosition) this.connectedTracks.get(var4);
            if (var5.x == var1 && var5.z == var3) {
                return true;
            }
        }

        return false;
    }